diff options
author | Artur Signell <artur@vaadin.com> | 2016-08-18 23:19:41 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-08-22 15:59:51 +0300 |
commit | c6b44ac8adc9b2ffd6290c98643a633f405dd6c6 (patch) | |
tree | 634982e9a789452ab8046e660a9170cc8b25623f /compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java | |
parent | ec8904f6b0ab77231d567daa35c9cc7138b6fe59 (diff) | |
download | vaadin-framework-c6b44ac8adc9b2ffd6290c98643a633f405dd6c6.tar.gz vaadin-framework-c6b44ac8adc9b2ffd6290c98643a633f405dd6c6.zip |
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
Diffstat (limited to 'compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java')
-rw-r--r-- | compatibility-server/src/test/java/com/vaadin/ui/RichTextAreaTest.java | 47 |
1 files changed, 0 insertions, 47 deletions
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<String>("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()); - } - -} |