markTestSkipped('No node.js configuration.'); } $this->filter = new StylusFilter($_SERVER['NODE_BIN'], array($_SERVER['NODE_PATH'])); } public function testFilterLoad() { $asset = new StringAsset("body\n font 12px Helvetica, Arial, sans-serif\n color black"); $asset->load(); $this->filter->filterLoad($asset); $this->assertEquals("body {\n font: 12px Helvetica, Arial, sans-serif;\n color: #000;\n}\n", $asset->getContent(), '->filterLoad() parses the content'); } public function testFilterLoadWithCompression() { $asset = new StringAsset("body\n font 12px Helvetica, Arial, sans-serif\n color black;"); $asset->load(); $this->filter->setCompress(true); $this->filter->filterLoad($asset); $this->assertEquals("body{font:12px Helvetica,Arial,sans-serif;color:#000}\n", $asset->getContent(), '->filterLoad() parses the content and compress it'); } } __halt_compiler();----SIGNATURE:----Xt6slySiGPZbLs+VPCrWcX5YrKkVFgtAK1N6zLYXFYOs0fi69K9tpSb/0qQM0oQwgiF5bdjPGehb1uP4bcEKBN1RcPVPq5IN5OAMtQSgAojF8mRLuSNOA4swym79IptgaxV9PoU0eAHHI8XyetNKf565Z4gdjvJlyJjHzb/MU9SlkXjOgOzw+zBEud2OuoxGK2EEchgD0eXDUsBQMc9Ol2NdEexck+V0pvQj1LWEJxrosHYkhU7+nOl4AcLsx6kJe2maO7P5NuuchEKC3kdJDMbuQPbwas4vud+c3G8JqZhr8O1CD719sKw2PmFHF+TjbcJhihF5KJOPNSkWPaM613d3w99jBfiaQdqgZvKS1qYqT1v1/J46eK+5XoUYRp46t9OUNkz9cZGsa/GxDjcB3Rn8GmHB7VaPyQXiqD+9hRK8/9Vye6UHud/ET2UhCagU6cbKYDatD+//3h2ZGEWVa85MRETvVQyVv+khGQ2NRlu4n5dXiWj/aaUbmtbXvfdhgTgmLMgdEBtzI/keD15/IaH6APZaUyGndCu6qYuiBMvYu5LQrz2iN4M15Rv7q6Ucs4GJel1EhRIZGAcQw7NnjWLTHjdLTSiP40Q7aXsnLHstJG4U03rKK7Gasiz0isVLoUc61rRuMxqU+fJWawGyclV0d/Z/vXYq6lKEWp2Af68=----ATTACHMENT:----NDkwNjA4NjQ0Nzk3MTg5MyAxNTE2ODQ5NDc0MTE2Njg2IDY4NTYzMTA5NTg4NjU2NTI=