XCTestCase.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. //
  2. // Generated by class-dump 3.5 (64 bit).
  3. //
  4. // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
  5. //
  6. #import <XCTest/XCTest.h>
  7. #import <WebDriverAgentLib/CDStructures.h>
  8. @class NSInvocation, XCTestCaseRun, XCTestContext, _XCTestCaseImplementation;
  9. @interface XCTestCase()
  10. {
  11. id _internalImplementation;
  12. }
  13. @property(retain) _XCTestCaseImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation;
  14. @property(readonly) XCTestContext *testContext;
  15. @property(readonly) unsigned long long activityRecordStackDepth;
  16. @property(nonatomic) BOOL shouldHaltWhenReceivesControl;
  17. @property(nonatomic) BOOL shouldSetShouldHaltWhenReceivesControl; // @synthesize shouldSetShouldHaltWhenReceivesControl=_shouldSetShouldHaltWhenReceivesControl;
  18. @property(retain) XCTestCaseRun *testCaseRun;
  19. + (id)_baselineDictionary;
  20. + (BOOL)_treatMissingBaselinesAsTestFailures;
  21. + (id)knownMemoryMetrics;
  22. + (id)measurementFormatter;
  23. + (BOOL)_reportPerformanceFailuresForLargeImprovements;
  24. + (BOOL)_enableSymbolication;
  25. + (BOOL)isInheritingTestCases;
  26. + (id)_testStartActvityDateFormatter;
  27. + (id)testCaseWithSelector:(SEL)arg1;
  28. + (void)tearDown;
  29. + (void)setUp;
  30. + (id)defaultTestSuite;
  31. + (id)allTestMethodInvocations;
  32. + (void)_allTestMethodInvocations:(id)arg1;
  33. + (id)testMethodInvocations;
  34. + (id)allSubclasses;
  35. - (void)startActivityWithTitle:(id)arg1 block:(CDUnknownBlockType)arg2;
  36. - (void)registerDefaultMetrics;
  37. - (id)baselinesDictionaryForTest;
  38. - (void)_logAndReportPerformanceMetrics:(id)arg1 perfMetricResultsForIDs:(id)arg2 withBaselinesForTest:(id)arg3;
  39. - (void)_logAndReportPerformanceMetrics:(id)arg1 perfMetricResultsForIDs:(id)arg2 withBaselinesForTest:(id)arg3 defaultBaselinesForPerfMetricID:(id)arg4;
  40. - (void)registerMetricID:(id)arg1 name:(id)arg2 unitString:(id)arg3;
  41. - (void)registerMetricID:(id)arg1 name:(id)arg2 unit:(id)arg3;
  42. - (void)reportMetric:(id)arg1 reportFailures:(BOOL)arg2;
  43. - (void)reportMeasurements:(id)arg1 forMetricID:(id)arg2 reportFailures:(BOOL)arg3;
  44. - (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12;
  45. - (id)_symbolicationRecordForTestCodeInAddressStack:(id)arg1;
  46. - (void)stopMeasuring;
  47. - (void)startMeasuring;
  48. - (BOOL)_isMeasuringMetrics;
  49. - (BOOL)_didStopMeasuring;
  50. - (BOOL)_didStartMeasuring;
  51. - (BOOL)_didMeasureMetrics;
  52. - (id)_perfMetricsForID;
  53. - (void)_logMemoryGraphDataFromFilePath:(id)arg1 withTitle:(id)arg2;
  54. - (void)_logMemoryGraphData:(id)arg1 withTitle:(id)arg2;
  55. - (unsigned long long)numberOfTestIterationsForTestWithSelector:(SEL)arg1;
  56. - (void)afterTestIteration:(unsigned long long)arg1 selector:(SEL)arg2;
  57. - (void)beforeTestIteration:(unsigned long long)arg1 selector:(SEL)arg2;
  58. - (void)tearDownTestWithSelector:(SEL)arg1;
  59. - (void)setUpTestWithSelector:(SEL)arg1;
  60. - (void)performTest:(id)arg1;
  61. - (void)invokeTest;
  62. - (Class)testRunClass;
  63. - (Class)_requiredTestRunBaseClass;
  64. - (void)_recordUnexpectedFailureWithDescription:(id)arg1 error:(id)arg2;
  65. - (void)_recordUnexpectedFailureWithDescription:(id)arg1 exception:(id)arg2;
  66. // Exists since Xcode 9.4.1, at least
  67. - (void)recordFailureWithDescription:(NSString *)arg1 inFile:(NSString *)arg2 atLine:(NSUInteger)arg3 expected:(BOOL)arg4;
  68. - (void)_enqueueFailureWithDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected;
  69. - (void)_dequeueFailures;
  70. - (void)_interruptTest;
  71. - (BOOL)isEqual:(id)arg1;
  72. - (id)nameForLegacyLogging;
  73. - (id)name;
  74. - (id)languageAgnosticTestMethodName;
  75. - (unsigned long long)testCaseCount;
  76. - (id)initWithSelector:(SEL)arg1;
  77. - (id)init;
  78. - (void)waiter:(id)arg1 didFulfillInvertedExpectation:(id)arg2;
  79. - (void)waiter:(id)arg1 fulfillmentDidViolateOrderingConstraintsForExpectation:(id)arg2 requiredExpectation:(id)arg3;
  80. - (void)waiter:(id)arg1 didTimeoutWithUnfulfilledExpectations:(id)arg2;
  81. - (id)expectationForPredicate:(id)arg1 evaluatedWithObject:(id)arg2 handler:(CDUnknownBlockType)arg3;
  82. - (id)expectationForNotification:(id)arg1 object:(id)arg2 handler:(CDUnknownBlockType)arg3;
  83. - (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 handler:(CDUnknownBlockType)arg3;
  84. - (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 expectedValue:(id)arg3;
  85. - (void)_addExpectation:(id)arg1;
  86. - (void)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(BOOL)arg3;
  87. - (void)waitForExpectations:(id)arg1 timeout:(double)arg2;
  88. - (void)waitForExpectationsWithTimeout:(double)arg1 handler:(CDUnknownBlockType)arg2;
  89. - (void)_waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(BOOL)arg3 handler:(CDUnknownBlockType)arg4;
  90. - (id)expectationWithDescription:(id)arg1;
  91. - (id)_expectationForDarwinNotification:(id)arg1;
  92. - (void)nestedWaiter:(id)arg1 wasInterruptedByTimedOutWaiter:(id)arg2;
  93. @end