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
+41
View File
@@ -0,0 +1,41 @@
//
// HTMLTokenizerTests.m
// HTMLKit
//
// Created by Iska on 25/10/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <XCTest/XCTest.h>
#import "HTML5LibTest.h"
@interface HTMLTokenizerTests : XCTestCase
@end
@implementation HTMLTokenizerTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testExample {
// This is an example of a functional test case.
XCTAssert(YES, @"Pass");
}
- (void)testPerformanceExample {
// This is an example of a performance test case.
[self measureBlock:^{
// Put the code you want to measure the time of here.
}];
}
@end