From c6b44ac8adc9b2ffd6290c98643a633f405dd6c6 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 18 Aug 2016 23:19:41 +0300 Subject: Move and rename server classes which go into the compatibility package * Use com.vaadin.v7 * Use the same class name as in Vaadin 7 * Use a "vaadin7-" declarative prefix for Vaadin 7 components Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5 --- .../test/java/com/vaadin/ui/RichTextAreaTest.java | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java (limited to 'compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java') diff --git a/compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java b/compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java deleted file mode 100644 index 8b6b2d011e..0000000000 --- a/compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2000-2016 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 - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.vaadin.ui; - -import org.junit.Assert; -import org.junit.Test; - -import com.vaadin.data.util.ObjectProperty; - -public class RichTextAreaTest { - @Test - public void initiallyEmpty() { - RichTextArea tf = new RichTextArea(); - Assert.assertTrue(tf.isEmpty()); - } - - @Test - public void emptyAfterClearUsingPDS() { - RichTextArea tf = new RichTextArea(new ObjectProperty("foo")); - Assert.assertFalse(tf.isEmpty()); - tf.clear(); - Assert.assertTrue(tf.isEmpty()); - } - - @Test - public void emptyAfterClear() { - RichTextArea tf = new RichTextArea(); - tf.setValue("foobar"); - Assert.assertFalse(tf.isEmpty()); - tf.clear(); - Assert.assertTrue(tf.isEmpty()); - } - -} -- cgit v1.2.3