Menu

Tree [r111] / trunk / testing / unit-tests / csst /
 History

HTTPS access


File Date Author Commit
 selectors 2008-01-06 edwardzyang [r98] - Add discard_invalid_selectors cfg and functio...
 values 2008-01-06 floele [r101] One more test and bugfix
 README 2008-01-05 edwardzyang [r93] Make unit tests use SimpleTest, integrate in th...

Read Me

CSST

These test are for CSSTidy's parsing algorithms. They take this form:

--TEST--
Test name
--CSS--
CSS to parse
--EXPECT--
var_export() representation of csstidy->css[41]

Note carefully that EXPECT is for csstidy->css[41], not csstidy->css. This
is because, by default, all declarations are placed inside the 
DEFAULT_AT section. For tests that need to make use of at selectors, use

--FULLEXPECT--
var_export() representation of csstidy->css

...instead.

See also: class.csstidy_csst.php (the implementation of these tests) and
test.csst.php (the caller stub for SimpleTest)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.