diff options
author | Artur Signell <artur@vaadin.com> | 2016-08-15 12:23:52 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-08-15 09:58:53 +0000 |
commit | 1c78d48668f5f1fc74cdb1802fff668a55fdd309 (patch) | |
tree | 5d852bf303a5bfeb42144fdfe50755b335b66d1e /uitest | |
parent | b322664b8b21da53e6fc833005fe3968f8352bec (diff) | |
download | vaadin-framework-1c78d48668f5f1fc74cdb1802fff668a55fdd309.tar.gz vaadin-framework-1c78d48668f5f1fc74cdb1802fff668a55fdd309.zip |
Relax test to only care about JRE version, not patch set
Change-Id: I1f959cdd81da9c6e8565260e574593bcd198804f
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/VerifyJreVersionTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/VerifyJreVersionTest.java b/uitest/src/test/java/com/vaadin/tests/VerifyJreVersionTest.java index fa8d21d965..e9fd72395f 100644 --- a/uitest/src/test/java/com/vaadin/tests/VerifyJreVersionTest.java +++ b/uitest/src/test/java/com/vaadin/tests/VerifyJreVersionTest.java @@ -1,12 +1,12 @@ /* * Copyright 2000-2014 Vaadin Ltd. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -16,8 +16,8 @@ package com.vaadin.tests; import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.core.Is.is; +import org.hamcrest.CoreMatchers; import org.junit.Test; import org.openqa.selenium.WebElement; @@ -32,7 +32,7 @@ public class VerifyJreVersionTest extends SingleBrowserTest { WebElement jreVersionLabel = vaadinElementById("jreVersionLabel"); assertThat(jreVersionLabel.getText(), - is("Using Java 1.8.0_60 by Oracle Corporation")); + CoreMatchers.startsWith("Using Java 1.8.0_")); } } |