text: //
  //  Generated by the J2ObjC translator.  DO NOT EDIT!
  //  source: /Users/antoniocortes/j2objcprj/relases/j2objc/junit/build_result/java/junit/framework/TestFailure.java
  //
  
  #include "J2ObjC_header.h"
  
  #pragma push_macro("INCLUDE_ALL_JunitFrameworkTestFailure")
  #ifdef RESTRICT_JunitFrameworkTestFailure
  #define INCLUDE_ALL_JunitFrameworkTestFailure 0
  #else
  #define INCLUDE_ALL_JunitFrameworkTestFailure 1
  #endif
  #undef RESTRICT_JunitFrameworkTestFailure
  
  #pragma clang diagnostic push
  #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
  
  #if __has_feature(nullability)
  #pragma clang diagnostic push
  #pragma GCC diagnostic ignored "-Wnullability"
  #pragma GCC diagnostic ignored "-Wnullability-completeness"
  #endif
  
  #if !defined (JunitFrameworkTestFailure_) && (INCLUDE_ALL_JunitFrameworkTestFailure || defined(INCLUDE_JunitFrameworkTestFailure))
  #define JunitFrameworkTestFailure_
  
  @class JavaLangThrowable;
  @protocol JunitFrameworkTest;
  
  /*!
   @brief A <code>TestFailure</code> collects a failed test together with
    the caught exception.
   - seealso: TestResult
   */
  @interface JunitFrameworkTestFailure : NSObject {
   @public
    id<JunitFrameworkTest> fFailedTest_;
    JavaLangThrowable *fThrownException_;
  }
  
  #pragma mark Public
  
  /*!
   @brief Constructs a TestFailure with the given test and exception.
   */
  - (instancetype __nonnull)initWithJunitFrameworkTest:(id<JunitFrameworkTest>)failedTest
                                 withJavaLangThrowable:(JavaLangThrowable *)thrownException;
  
  - (NSString *)exceptionMessage;
  
  /*!
   @brief Gets the failed test.
   */
  - (id<JunitFrameworkTest>)failedTest;
  
  - (jboolean)isFailure;
  
  /*!
   @brief Gets the thrown exception.
   */
  - (JavaLangThrowable *)thrownException;
  
  /*!
   @brief Returns a short description of the failure.
   */
  - (NSString *)description;
  
  - (NSString *)trace;
  
  // Disallowed inherited constructors, do not use.
  
  - (instancetype __nonnull)init NS_UNAVAILABLE;
  
  @end
  
  J2OBJC_EMPTY_STATIC_INIT(JunitFrameworkTestFailure)
  
  J2OBJC_FIELD_SETTER(JunitFrameworkTestFailure, fFailedTest_, id<JunitFrameworkTest>)
  J2OBJC_FIELD_SETTER(JunitFrameworkTestFailure, fThrownException_, JavaLangThrowable *)
  
  FOUNDATION_EXPORT void JunitFrameworkTestFailure_initWithJunitFrameworkTest_withJavaLangThrowable_(JunitFrameworkTestFailure *self, id<JunitFrameworkTest> failedTest, JavaLangThrowable *thrownException);
  
  FOUNDATION_EXPORT JunitFrameworkTestFailure *new_JunitFrameworkTestFailure_initWithJunitFrameworkTest_withJavaLangThrowable_(id<JunitFrameworkTest> failedTest, JavaLangThrowable *thrownException) NS_RETURNS_RETAINED;
  
  FOUNDATION_EXPORT JunitFrameworkTestFailure *create_JunitFrameworkTestFailure_initWithJunitFrameworkTest_withJavaLangThrowable_(id<JunitFrameworkTest> failedTest, JavaLangThrowable *thrownException);
  
  J2OBJC_TYPE_LITERAL_HEADER(JunitFrameworkTestFailure)
  
  #endif
  
  
  #if __has_feature(nullability)
  #pragma clang diagnostic pop
  #endif
  
  #pragma clang diagnostic pop
  #pragma pop_macro("INCLUDE_ALL_JunitFrameworkTestFailure")
  