Extract model-like TestExpectationLine and TestExpectationFile from TestExpectations.
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jul 2011 15:49:08 +0000 (15:49 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jul 2011 15:49:08 +0000 (15:49 +0000)
commit347bdb8b7dcfd2bda60dafc789dd1a211dc4d941
tree29b04caf29bac30a75743215a6ff530b11e5c682
parent7016b45603acfd22ffa5edc250641b6d1e3af3f1
Extract model-like TestExpectationLine and TestExpectationFile from TestExpectations.
https://bugs.webkit.org/show_bug.cgi?id=64386

This is the first step in converting TestExpectations to a real model.
* TestExpectationsLine represents a line in the test_expectations.txt file, and
* TestExpectationsFile represents the file, which is a collection of lines.

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/models/test_expectations.py:
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
* Scripts/webkitpy/style/checkers/test_expectations_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py
Tools/Scripts/webkitpy/style/checkers/test_expectations_unittest.py