Skip to content

Commit

Permalink
Expose test_resetWithConfiguration: for testing purposes
Browse files Browse the repository at this point in the history
This makes it easier to write tests for specific configurations.
  • Loading branch information
maicki committed Oct 17, 2018
1 parent 7cdfacc commit ba209d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Source/ASConfigurationInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions Tests/Common/ASTestCase.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,4 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface ASConfigurationManager (Testing)

+ (void)test_resetWithConfiguration:(nullable ASConfiguration *)configuration;

@end

NS_ASSUME_NONNULL_END

0 comments on commit ba209d2

Please sign in to comment.