Add generic HTML5LibTest class for performing HTML5lib tests

https://github.com/html5lib/html5lib-tests
This commit is contained in:
iska
2014-10-25 17:35:58 +02:00
parent 779fcf0a73
commit 0910290ef2
6 changed files with 272 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
//
// HTML5LibTest.h
// HTMLKit
//
// Created by Iska on 25/10/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface HTML5LibTest : NSObject
@property (nonatomic, strong) NSString *description;
@property (nonatomic, strong) NSString *input;
@property (nonatomic, strong) NSArray *output;
@property (nonatomic, strong) NSArray *initialStates;
@property (nonatomic, strong) NSString *lastStartTag;
@property (nonatomic, assign) BOOL ignoreErrorOrder;
- (instancetype)initWithFixture:(NSDictionary *)fixture;
@end