Move Tokenizer tests loading into the helper HTML5Lib Tokenizer Test class

Helps keeping the test-case class uncluttered
This commit is contained in:
iska
2015-03-25 23:01:42 +01:00
parent 22e6aff5e9
commit 3b4970202d
3 changed files with 55 additions and 45 deletions
+3 -1
View File
@@ -10,7 +10,7 @@
@interface HTML5LibTokenizerTest : NSObject
@property (nonatomic, copy) NSString *testFile;
@property (nonatomic, copy) NSString *testName;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *input;
@property (nonatomic, strong) NSArray *output;
@@ -18,6 +18,8 @@
@property (nonatomic, copy) NSString *lastStartTag;
@property (nonatomic, assign) BOOL ignoreErrorOrder;
+ (NSDictionary *)loadHTML5LibTokenizerTests;
- (instancetype)initWithTestDictionary:(NSDictionary *)dictionary;
@end