summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-01-17 17:34:29 +0200
committerArtur Signell <artur@vaadin.com>2013-01-17 17:34:29 +0200
commitac00c704f168c99bd7f8c2897f14f9e80f2e95b3 (patch)
tree627d24d308b4a991f5baae1109b04230d2430a3b /server
parent594dcef2ef02f8d850bfe35535a599a41a7e1252 (diff)
downloadvaadin-framework-ac00c704f168c99bd7f8c2897f14f9e80f2e95b3.tar.gz
vaadin-framework-ac00c704f168c99bd7f8c2897f14f9e80f2e95b3.zip
Removed unnecessary code which is not JUnit 4.5 compatible
Change-Id: I1544844a21448932302418cc1c02f59db029ec81
Diffstat (limited to 'server')
-rw-r--r--server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java b/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java
index 1c838db3ec..0a0634ec8f 100644
--- a/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java
+++ b/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java
@@ -2,9 +2,6 @@ package com.vaadin.tests.data.validator;
import junit.framework.TestCase;
-import org.junit.Rule;
-import org.junit.rules.ExpectedException;
-
import com.vaadin.data.Validator;
import com.vaadin.data.validator.NullValidator;
@@ -13,9 +10,6 @@ public class TestNullValidator extends TestCase {
NullValidator notNull = new NullValidator("Null not accepted", false);
NullValidator onlyNull = new NullValidator("Only null accepted", true);
- @Rule
- public ExpectedException exception = ExpectedException.none();
-
public void testNullValue() {
try {
notNull.validate(null);