blob: b48299378160acc47b4387ac129510407e7bd58c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
*
*/
package com.vaadin.tests;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractReindeerTestUI;
import com.vaadin.ui.Label;
public class VerifyJreVersion extends AbstractReindeerTestUI {
@Override
protected void setup(VaadinRequest request) {
String jreVersion = "Using Java " + System.getProperty("java.version")
+ " by " + System.getProperty("java.vendor");
Label jreVersionLabel = new Label(jreVersion);
jreVersionLabel.setId("jreVersionLabel");
addComponent(jreVersionLabel);
}
@Override
protected String getTestDescription() {
return "Test used to detect when the JRE used to run these tests have changed.";
}
@Override
protected Integer getTicketNumber() {
return Integer.valueOf(11835);
}
}
|