diff options
author | Artur Signell <artur@vaadin.com> | 2014-03-19 16:30:23 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-03-19 16:32:32 +0200 |
commit | 227a937af1d844f7372a5a3071c1e204e25a49c0 (patch) | |
tree | 9428bffbb09cfadb9fd3ec932652a96fc52b76f4 /server/tests | |
parent | 23891f2519410d174e9e923e2ca5842c78c8e757 (diff) | |
download | vaadin-framework-227a937af1d844f7372a5a3071c1e204e25a49c0.tar.gz vaadin-framework-227a937af1d844f7372a5a3071c1e204e25a49c0.zip |
Format project files according to conventions
Change-Id: I2522698237eb2a21c0896605bed8e73a82795c97
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/src/com/vaadin/tests/data/converter/TestDateToSqlDateConverter.java | 4 | ||||
-rw-r--r-- | server/tests/src/com/vaadin/tests/server/validation/TestBeanValidation.java | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/src/com/vaadin/tests/data/converter/TestDateToSqlDateConverter.java b/server/tests/src/com/vaadin/tests/data/converter/TestDateToSqlDateConverter.java index 685404ded6..d591d10e18 100644 --- a/server/tests/src/com/vaadin/tests/data/converter/TestDateToSqlDateConverter.java +++ b/server/tests/src/com/vaadin/tests/data/converter/TestDateToSqlDateConverter.java @@ -19,7 +19,7 @@ public class TestDateToSqlDateConverter extends TestCase { public void testValueConversion() { Date testDate = new Date(100, 0, 1); long time = testDate.getTime(); - assertEquals(testDate, converter.convertToModel(new java.sql.Date(time), - java.sql.Date.class, Locale.ENGLISH)); + assertEquals(testDate, converter.convertToModel( + new java.sql.Date(time), java.sql.Date.class, Locale.ENGLISH)); } } diff --git a/server/tests/src/com/vaadin/tests/server/validation/TestBeanValidation.java b/server/tests/src/com/vaadin/tests/server/validation/TestBeanValidation.java index 1d1a3c297e..832ae14950 100644 --- a/server/tests/src/com/vaadin/tests/server/validation/TestBeanValidation.java +++ b/server/tests/src/com/vaadin/tests/server/validation/TestBeanValidation.java @@ -84,6 +84,7 @@ public class TestBeanValidation { Assert.assertEquals(2, causes.length); } + public void testBeanValidationNotAddedTwice() { // See ticket #11045 BeanFieldGroup<BeanToValidate> fieldGroup = new BeanFieldGroup<BeanToValidate>( |