aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-01-16 07:03:16 +0000
committerVaadin Code Review <review@vaadin.com>2014-01-16 07:32:07 +0000
commitdd0479cdefa52091a33ff63f45fc32ae76c4b4f8 (patch)
treec341f505d616ed68695027d0ee192c6390ac969e /theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java
parent4d2f1477ab105476d79ad8a99397b1c3c55d14b1 (diff)
downloadvaadin-framework-dd0479cdefa52091a33ff63f45fc32ae76c4b4f8.tar.gz
vaadin-framework-dd0479cdefa52091a33ff63f45fc32ae76c4b4f8.zip
Revert "Theme Parser is deleted, build procedure now generates it (#13161)."
Causes a multitude of compile errors on the build server. This reverts commit d2874fde4b8c6afa24f0f6535e0d6fcabc489f51. Change-Id: I49787b347944b614b9e98778b3219b7045cf2bfe
Diffstat (limited to 'theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java')
-rw-r--r--theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java b/theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java
index e70201b11a..1ed5075bd5 100644
--- a/theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java
+++ b/theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java
@@ -34,7 +34,7 @@ public class ParserTest {
@Test
public void testParsePropertyValue() throws CSSException, IOException {
- Parser parser = Parser.ParserAccessor.getParser();
+ Parser parser = new Parser();
LexicalUnit value = parser.parsePropertyValue(new InputSource(
new StringReader("$margin/2;")));
@@ -53,7 +53,7 @@ public class ParserTest {
@Test
public void testCanIngoreSingleLineComment() {
- Parser parser = Parser.ParserAccessor.getParser();
+ Parser parser = new Parser();
SCSSDocumentHandler handler = new SCSSDocumentHandlerImpl();
parser.setDocumentHandler(handler);
try {