Refactor Tokenizer tests into separate group and generate the test cases dynamically

Instead of loading and running the HTML5Lib test files manually, the Xcode test cases are generated
on start for all the HTML5Lib tokenizer tests. Also, the performance test is moved into its own class.

This setup shouldn't require any extra maintenance when HTML5Lib adds new tokenizer test cases.
This commit is contained in:
iska
2015-03-24 00:15:49 +01:00
parent b6e911a941
commit 7fb04f3394
9 changed files with 246 additions and 244 deletions
@@ -4,6 +4,19 @@
<dict>
<key>classNames</key>
<dict>
<key>HTMLKitTokenizerPerformance</key>
<dict>
<key>testTokenizerPerformance</key>
<dict>
<key>com.apple.XCTPerformanceMetric_WallClockTime</key>
<dict>
<key>baselineAverage</key>
<real>14.55</real>
<key>baselineIntegrationDisplayName</key>
<string>Local Baseline</string>
</dict>
</dict>
</dict>
<key>HTMLTokenizerTests</key>
<dict>
<key>testTokenizerPerformance</key>