diff options
author | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-06-04 22:02:41 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-06-05 09:52:33 +0000 |
commit | 3ecc805eff05fd8ba905890d0c90c07421d2172b (patch) | |
tree | 30c69a6f237aad028569312c278b00261deb55bd /client-compiler/tests | |
parent | 3deceaa2c18bdf4978edb7978ba95c7c979863bf (diff) | |
download | vaadin-framework-3ecc805eff05fd8ba905890d0c90c07421d2172b.tar.gz vaadin-framework-3ecc805eff05fd8ba905890d0c90c07421d2172b.zip |
Fixed CvalChecker invalid version message (#17879)
Change-Id: I2eed6d907be299ebca3e69d7f492aff6f1244fe4
Diffstat (limited to 'client-compiler/tests')
-rw-r--r-- | client-compiler/tests/src/com/vaadin/tools/CvalCheckerTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client-compiler/tests/src/com/vaadin/tools/CvalCheckerTest.java b/client-compiler/tests/src/com/vaadin/tools/CvalCheckerTest.java index fb4799ae12..6da455b2f6 100644 --- a/client-compiler/tests/src/com/vaadin/tools/CvalCheckerTest.java +++ b/client-compiler/tests/src/com/vaadin/tools/CvalCheckerTest.java @@ -26,6 +26,7 @@ import static com.vaadin.tools.CvalChecker.deleteCache; import static com.vaadin.tools.CvalChecker.parseJson; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; import java.io.ByteArrayOutputStream; import java.io.File; @@ -198,6 +199,7 @@ public class CvalCheckerTest { Assert.fail(); } catch (InvalidCvalException expected) { assertEquals(productNameCval, expected.name); + assertTrue(expected.getMessage().contains("is not valid")); } Assert.assertFalse(cacheExists(productNameCval)); |