From ba209d2c588716f0ee0ec56d8ee31ef9ee96074a Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Tue, 16 Oct 2018 12:05:13 -0700 Subject: [PATCH] Expose test_resetWithConfiguration: for testing purposes This makes it easier to write tests for specific configurations. --- Source/ASConfigurationInternal.h | 3 +++ Tests/Common/ASTestCase.h | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Source/ASConfigurationInternal.h b/Source/ASConfigurationInternal.h index 8e744e65c..3bad3fd57 100644 --- a/Source/ASConfigurationInternal.h +++ b/Source/ASConfigurationInternal.h @@ -35,6 +35,9 @@ AS_SUBCLASSING_RESTRICTED * Just use ASActivateExperimentalFeature to access this efficiently. */ +/* Exposed for testing purposes only */ ++ (void)test_resetWithConfiguration:(nullable ASConfiguration *)configuration; + @end NS_ASSUME_NONNULL_END diff --git a/Tests/Common/ASTestCase.h b/Tests/Common/ASTestCase.h index 4e8850c24..ed3f5ca55 100644 --- a/Tests/Common/ASTestCase.h +++ b/Tests/Common/ASTestCase.h @@ -23,10 +23,4 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface ASConfigurationManager (Testing) - -+ (void)test_resetWithConfiguration:(nullable ASConfiguration *)configuration; - -@end - NS_ASSUME_NONNULL_END