Menu

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

HTTPS access


File Date Author Commit
 properties 2009-06-21 sunnybear [r120] Added unit tests for shorthands (padding / marg...
 selectors 2010-01-20 sunnybear [r123] Added font property resolving (works by default...
 shorthands 2010-01-20 sunnybear [r123] Added font property resolving (works by default...
 values 2010-01-20 sunnybear [r123] Added font property resolving (works by default...
 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.