blob: b8e628395b1f85d35ab5ac8b245cf8d66c727152 (
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
|
package com.vaadin.tests.components.datefield;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.vaadin.testbench.By;
import com.vaadin.tests.tb3.MultiBrowserTest;
/**
* @author Vaadin Ltd
*
*/
public class CustomDateTimeFormatTest extends MultiBrowserTest {
@Test
public void checkCustomDateFormat() {
openTestURL();
String text = findElement(By.tagName("input")).getAttribute("value");
assertEquals("1. tammikuuta 2010 klo 12.23.45", text);
}
}
|