summaryrefslogtreecommitdiffstats
path: root/tests/server-side/com/vaadin
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-29 11:21:56 +0300
committerArtur Signell <artur@vaadin.com>2012-08-29 11:21:56 +0300
commitbfbfdd51a0563d212d1e811a3eb534122847d206 (patch)
tree8fe2f3f9feda9fe3a1c22ba261c7b498718ddbfd /tests/server-side/com/vaadin
parented8a1d154436a635b29a35093cc349e4a4aa2897 (diff)
downloadvaadin-framework-bfbfdd51a0563d212d1e811a3eb534122847d206.tar.gz
vaadin-framework-bfbfdd51a0563d212d1e811a3eb534122847d206.zip
Renamed com.vaadin.terminal.gwt.client to com.vaadin.client (#9432)
Diffstat (limited to 'tests/server-side/com/vaadin')
-rw-r--r--tests/server-side/com/vaadin/data/util/AbstractContainerTest.java224
-rw-r--r--tests/server-side/com/vaadin/data/util/TestHierarchicalContainer.java54
-rw-r--r--tests/server-side/com/vaadin/tests/VaadinClasses.java2
-rw-r--r--tests/server-side/com/vaadin/tests/server/SourceFileChecker.java2
4 files changed, 141 insertions, 141 deletions
diff --git a/tests/server-side/com/vaadin/data/util/AbstractContainerTest.java b/tests/server-side/com/vaadin/data/util/AbstractContainerTest.java
index d703fb0364..9c7e526dad 100644
--- a/tests/server-side/com/vaadin/data/util/AbstractContainerTest.java
+++ b/tests/server-side/com/vaadin/data/util/AbstractContainerTest.java
@@ -319,7 +319,7 @@ public abstract class AbstractContainerTest extends TestCase {
validateContainer(container, "com.vaadin.data.BufferedValidatable",
"com.vaadin.ui.TabSheet",
- "com.vaadin.terminal.gwt.client.Focusable",
+ "com.vaadin.client.Focusable",
"com.vaadin.data.Buffered", isFilteredOutItemNull(), 20);
// Filter by "contains da" (reversed as ad here)
@@ -330,7 +330,7 @@ public abstract class AbstractContainerTest extends TestCase {
validateContainer(container, "com.vaadin.data.Buffered",
"com.vaadin.terminal.gwt.server.ComponentSizeValidator",
"com.vaadin.data.util.IndexedContainer",
- "com.vaadin.terminal.gwt.client.ui.VUriFragmentUtility",
+ "com.vaadin.client.ui.VUriFragmentUtility",
isFilteredOutItemNull(), 37);
}
@@ -483,116 +483,116 @@ public abstract class AbstractContainerTest extends TestCase {
"com.vaadin.terminal.ErrorMessage",
"com.vaadin.terminal.ExternalResource",
"com.vaadin.terminal.FileResource",
- "com.vaadin.terminal.gwt.client.ApplicationConfiguration",
- "com.vaadin.terminal.gwt.client.ApplicationConnection",
- "com.vaadin.terminal.gwt.client.BrowserInfo",
- "com.vaadin.terminal.gwt.client.ClientExceptionHandler",
- "com.vaadin.terminal.gwt.client.ComponentDetail",
- "com.vaadin.terminal.gwt.client.ComponentDetailMap",
- "com.vaadin.terminal.gwt.client.ComponentLocator",
- "com.vaadin.terminal.gwt.client.Console",
- "com.vaadin.terminal.gwt.client.Container",
- "com.vaadin.terminal.gwt.client.ContainerResizedListener",
- "com.vaadin.terminal.gwt.client.CSSRule",
- "com.vaadin.terminal.gwt.client.DateTimeService",
- "com.vaadin.terminal.gwt.client.DefaultWidgetSet",
- "com.vaadin.terminal.gwt.client.Focusable",
- "com.vaadin.terminal.gwt.client.HistoryImplIEVaadin",
- "com.vaadin.terminal.gwt.client.LocaleNotLoadedException",
- "com.vaadin.terminal.gwt.client.LocaleService",
- "com.vaadin.terminal.gwt.client.MouseEventDetails",
- "com.vaadin.terminal.gwt.client.NullConsole",
- "com.vaadin.terminal.gwt.client.Paintable",
- "com.vaadin.terminal.gwt.client.RenderInformation",
- "com.vaadin.terminal.gwt.client.RenderSpace",
- "com.vaadin.terminal.gwt.client.StyleConstants",
- "com.vaadin.terminal.gwt.client.TooltipInfo",
- "com.vaadin.terminal.gwt.client.ui.Action",
- "com.vaadin.terminal.gwt.client.ui.ActionOwner",
- "com.vaadin.terminal.gwt.client.ui.AlignmentInfo",
- "com.vaadin.terminal.gwt.client.ui.CalendarEntry",
- "com.vaadin.terminal.gwt.client.ui.ClickEventHandler",
- "com.vaadin.terminal.gwt.client.ui.Field",
- "com.vaadin.terminal.gwt.client.ui.Icon",
- "com.vaadin.terminal.gwt.client.ui.layout.CellBasedLayout",
- "com.vaadin.terminal.gwt.client.ui.layout.ChildComponentContainer",
- "com.vaadin.terminal.gwt.client.ui.layout.Margins",
- "com.vaadin.terminal.gwt.client.ui.LayoutClickEventHandler",
- "com.vaadin.terminal.gwt.client.ui.MenuBar",
- "com.vaadin.terminal.gwt.client.ui.MenuItem",
- "com.vaadin.terminal.gwt.client.ui.richtextarea.VRichTextArea",
- "com.vaadin.terminal.gwt.client.ui.richtextarea.VRichTextToolbar",
- "com.vaadin.terminal.gwt.client.ui.ShortcutActionHandler",
- "com.vaadin.terminal.gwt.client.ui.SubPartAware",
- "com.vaadin.terminal.gwt.client.ui.Table",
- "com.vaadin.terminal.gwt.client.ui.TreeAction",
- "com.vaadin.terminal.gwt.client.ui.TreeImages",
- "com.vaadin.terminal.gwt.client.ui.VAbsoluteLayout",
- "com.vaadin.terminal.gwt.client.ui.VAccordion",
- "com.vaadin.terminal.gwt.client.ui.VButton",
- "com.vaadin.terminal.gwt.client.ui.VCalendarPanel",
- "com.vaadin.terminal.gwt.client.ui.VCheckBox",
- "com.vaadin.terminal.gwt.client.ui.VContextMenu",
- "com.vaadin.terminal.gwt.client.ui.VCssLayout",
- "com.vaadin.terminal.gwt.client.ui.VCustomComponent",
- "com.vaadin.terminal.gwt.client.ui.VCustomLayout",
- "com.vaadin.terminal.gwt.client.ui.VDateField",
- "com.vaadin.terminal.gwt.client.ui.VDateFieldCalendar",
- "com.vaadin.terminal.gwt.client.ui.VEmbedded",
- "com.vaadin.terminal.gwt.client.ui.VFilterSelect",
- "com.vaadin.terminal.gwt.client.ui.VForm",
- "com.vaadin.terminal.gwt.client.ui.VFormLayout",
- "com.vaadin.terminal.gwt.client.ui.VGridLayout",
- "com.vaadin.terminal.gwt.client.ui.VHorizontalLayout",
- "com.vaadin.terminal.gwt.client.ui.VLabel",
- "com.vaadin.terminal.gwt.client.ui.VLink",
- "com.vaadin.terminal.gwt.client.ui.VListSelect",
- "com.vaadin.terminal.gwt.client.ui.VMarginInfo",
- "com.vaadin.terminal.gwt.client.ui.VMenuBar",
- "com.vaadin.terminal.gwt.client.ui.VNativeButton",
- "com.vaadin.terminal.gwt.client.ui.VNativeSelect",
- "com.vaadin.terminal.gwt.client.ui.VNotification",
- "com.vaadin.terminal.gwt.client.ui.VOptionGroup",
- "com.vaadin.terminal.gwt.client.ui.VOptionGroupBase",
- "com.vaadin.terminal.gwt.client.ui.VOrderedLayout",
- "com.vaadin.terminal.gwt.client.ui.VOverlay",
- "com.vaadin.terminal.gwt.client.ui.VPanel",
- "com.vaadin.terminal.gwt.client.ui.VPasswordField",
- "com.vaadin.terminal.gwt.client.ui.VPopupCalendar",
- "com.vaadin.terminal.gwt.client.ui.VPopupView",
- "com.vaadin.terminal.gwt.client.ui.VProgressIndicator",
- "com.vaadin.terminal.gwt.client.ui.VScrollTable",
- "com.vaadin.terminal.gwt.client.ui.VSlider",
- "com.vaadin.terminal.gwt.client.ui.VSplitPanel",
- "com.vaadin.terminal.gwt.client.ui.VSplitPanelHorizontal",
- "com.vaadin.terminal.gwt.client.ui.VSplitPanelVertical",
- "com.vaadin.terminal.gwt.client.ui.VTablePaging",
- "com.vaadin.terminal.gwt.client.ui.VTabsheet",
- "com.vaadin.terminal.gwt.client.ui.VTabsheetBase",
- "com.vaadin.terminal.gwt.client.ui.VTabsheetPanel",
- "com.vaadin.terminal.gwt.client.ui.VTextArea",
- "com.vaadin.terminal.gwt.client.ui.VTextField",
- "com.vaadin.terminal.gwt.client.ui.VTextualDate",
- "com.vaadin.terminal.gwt.client.ui.VTime",
- "com.vaadin.terminal.gwt.client.ui.VTree",
- "com.vaadin.terminal.gwt.client.ui.VTwinColSelect",
- "com.vaadin.terminal.gwt.client.ui.VUnknownComponent",
- "com.vaadin.terminal.gwt.client.ui.VUpload",
- "com.vaadin.terminal.gwt.client.ui.VUriFragmentUtility",
- "com.vaadin.terminal.gwt.client.ui.VVerticalLayout",
- "com.vaadin.terminal.gwt.client.ui.VView",
- "com.vaadin.terminal.gwt.client.ui.VWindow",
- "com.vaadin.terminal.gwt.client.UIDL",
- "com.vaadin.terminal.gwt.client.Util",
- "com.vaadin.terminal.gwt.client.ValueMap",
- "com.vaadin.terminal.gwt.client.VCaption",
- "com.vaadin.terminal.gwt.client.VCaptionWrapper",
- "com.vaadin.terminal.gwt.client.VDebugConsole",
- "com.vaadin.terminal.gwt.client.VErrorMessage",
- "com.vaadin.terminal.gwt.client.VTooltip",
- "com.vaadin.terminal.gwt.client.VUIDLBrowser",
- "com.vaadin.terminal.gwt.client.WidgetMap",
- "com.vaadin.terminal.gwt.client.WidgetSet",
+ "com.vaadin.client.ApplicationConfiguration",
+ "com.vaadin.client.ApplicationConnection",
+ "com.vaadin.client.BrowserInfo",
+ "com.vaadin.client.ClientExceptionHandler",
+ "com.vaadin.client.ComponentDetail",
+ "com.vaadin.client.ComponentDetailMap",
+ "com.vaadin.client.ComponentLocator",
+ "com.vaadin.client.Console",
+ "com.vaadin.client.Container",
+ "com.vaadin.client.ContainerResizedListener",
+ "com.vaadin.client.CSSRule",
+ "com.vaadin.client.DateTimeService",
+ "com.vaadin.client.DefaultWidgetSet",
+ "com.vaadin.client.Focusable",
+ "com.vaadin.client.HistoryImplIEVaadin",
+ "com.vaadin.client.LocaleNotLoadedException",
+ "com.vaadin.client.LocaleService",
+ "com.vaadin.client.MouseEventDetails",
+ "com.vaadin.client.NullConsole",
+ "com.vaadin.client.Paintable",
+ "com.vaadin.client.RenderInformation",
+ "com.vaadin.client.RenderSpace",
+ "com.vaadin.client.StyleConstants",
+ "com.vaadin.client.TooltipInfo",
+ "com.vaadin.client.ui.Action",
+ "com.vaadin.client.ui.ActionOwner",
+ "com.vaadin.client.ui.AlignmentInfo",
+ "com.vaadin.client.ui.CalendarEntry",
+ "com.vaadin.client.ui.ClickEventHandler",
+ "com.vaadin.client.ui.Field",
+ "com.vaadin.client.ui.Icon",
+ "com.vaadin.client.ui.layout.CellBasedLayout",
+ "com.vaadin.client.ui.layout.ChildComponentContainer",
+ "com.vaadin.client.ui.layout.Margins",
+ "com.vaadin.client.ui.LayoutClickEventHandler",
+ "com.vaadin.client.ui.MenuBar",
+ "com.vaadin.client.ui.MenuItem",
+ "com.vaadin.client.ui.richtextarea.VRichTextArea",
+ "com.vaadin.client.ui.richtextarea.VRichTextToolbar",
+ "com.vaadin.client.ui.ShortcutActionHandler",
+ "com.vaadin.client.ui.SubPartAware",
+ "com.vaadin.client.ui.Table",
+ "com.vaadin.client.ui.TreeAction",
+ "com.vaadin.client.ui.TreeImages",
+ "com.vaadin.client.ui.VAbsoluteLayout",
+ "com.vaadin.client.ui.VAccordion",
+ "com.vaadin.client.ui.VButton",
+ "com.vaadin.client.ui.VCalendarPanel",
+ "com.vaadin.client.ui.VCheckBox",
+ "com.vaadin.client.ui.VContextMenu",
+ "com.vaadin.client.ui.VCssLayout",
+ "com.vaadin.client.ui.VCustomComponent",
+ "com.vaadin.client.ui.VCustomLayout",
+ "com.vaadin.client.ui.VDateField",
+ "com.vaadin.client.ui.VDateFieldCalendar",
+ "com.vaadin.client.ui.VEmbedded",
+ "com.vaadin.client.ui.VFilterSelect",
+ "com.vaadin.client.ui.VForm",
+ "com.vaadin.client.ui.VFormLayout",
+ "com.vaadin.client.ui.VGridLayout",
+ "com.vaadin.client.ui.VHorizontalLayout",
+ "com.vaadin.client.ui.VLabel",
+ "com.vaadin.client.ui.VLink",
+ "com.vaadin.client.ui.VListSelect",
+ "com.vaadin.client.ui.VMarginInfo",
+ "com.vaadin.client.ui.VMenuBar",
+ "com.vaadin.client.ui.VNativeButton",
+ "com.vaadin.client.ui.VNativeSelect",
+ "com.vaadin.client.ui.VNotification",
+ "com.vaadin.client.ui.VOptionGroup",
+ "com.vaadin.client.ui.VOptionGroupBase",
+ "com.vaadin.client.ui.VOrderedLayout",
+ "com.vaadin.client.ui.VOverlay",
+ "com.vaadin.client.ui.VPanel",
+ "com.vaadin.client.ui.VPasswordField",
+ "com.vaadin.client.ui.VPopupCalendar",
+ "com.vaadin.client.ui.VPopupView",
+ "com.vaadin.client.ui.VProgressIndicator",
+ "com.vaadin.client.ui.VScrollTable",
+ "com.vaadin.client.ui.VSlider",
+ "com.vaadin.client.ui.VSplitPanel",
+ "com.vaadin.client.ui.VSplitPanelHorizontal",
+ "com.vaadin.client.ui.VSplitPanelVertical",
+ "com.vaadin.client.ui.VTablePaging",
+ "com.vaadin.client.ui.VTabsheet",
+ "com.vaadin.client.ui.VTabsheetBase",
+ "com.vaadin.client.ui.VTabsheetPanel",
+ "com.vaadin.client.ui.VTextArea",
+ "com.vaadin.client.ui.VTextField",
+ "com.vaadin.client.ui.VTextualDate",
+ "com.vaadin.client.ui.VTime",
+ "com.vaadin.client.ui.VTree",
+ "com.vaadin.client.ui.VTwinColSelect",
+ "com.vaadin.client.ui.VUnknownComponent",
+ "com.vaadin.client.ui.VUpload",
+ "com.vaadin.client.ui.VUriFragmentUtility",
+ "com.vaadin.client.ui.VVerticalLayout",
+ "com.vaadin.client.ui.VView",
+ "com.vaadin.client.ui.VWindow",
+ "com.vaadin.client.UIDL",
+ "com.vaadin.client.Util",
+ "com.vaadin.client.ValueMap",
+ "com.vaadin.client.VCaption",
+ "com.vaadin.client.VCaptionWrapper",
+ "com.vaadin.client.VDebugConsole",
+ "com.vaadin.client.VErrorMessage",
+ "com.vaadin.client.VTooltip",
+ "com.vaadin.client.VUIDLBrowser",
+ "com.vaadin.client.WidgetMap",
+ "com.vaadin.client.WidgetSet",
"com.vaadin.terminal.gwt.server.AbstractApplicationPortlet",
"com.vaadin.terminal.gwt.server.AbstractApplicationServlet",
"com.vaadin.terminal.gwt.server.AbstractCommunicationManager",
diff --git a/tests/server-side/com/vaadin/data/util/TestHierarchicalContainer.java b/tests/server-side/com/vaadin/data/util/TestHierarchicalContainer.java
index 9e0558a122..f0cbfe7a87 100644
--- a/tests/server-side/com/vaadin/data/util/TestHierarchicalContainer.java
+++ b/tests/server-side/com/vaadin/data/util/TestHierarchicalContainer.java
@@ -46,7 +46,7 @@ public class TestHierarchicalContainer extends
assertNull("Parent should be null, is " + p1, p1);
container.removeAllItems();
- p1 = container.getParent("com.vaadin.terminal.gwt.client.Focusable");
+ p1 = container.getParent("com.vaadin.client.Focusable");
assertNull("Parent should be null, is " + p1, p1);
}
@@ -59,12 +59,12 @@ public class TestHierarchicalContainer extends
Object p1 = container.getParent("com.vaadin.ui.TabSheet");
assertEquals("com.vaadin.ui", p1);
p1 = container
- .getParent("com.vaadin.terminal.gwt.client.ui.VPopupCalendar");
+ .getParent("com.vaadin.client.ui.VPopupCalendar");
assertNull(p1);
container.removeAllContainerFilters();
p1 = container
- .getParent("com.vaadin.terminal.gwt.client.ui.VPopupCalendar");
- assertEquals("com.vaadin.terminal.gwt.client.ui", p1);
+ .getParent("com.vaadin.client.ui.VPopupCalendar");
+ assertEquals("com.vaadin.client.ui", p1);
}
@@ -111,7 +111,7 @@ public class TestHierarchicalContainer extends
validateHierarchicalContainer(container, "com",
"com.vaadin.ui.TabSheet",
- "com.vaadin.terminal.gwt.client.Focusable", "blah", true,
+ "com.vaadin.client.Focusable", "blah", true,
expectedSize, expectedRoots, true);
// only include .gwt.client classes
@@ -126,8 +126,8 @@ public class TestHierarchicalContainer extends
expectedRoots = 1;
validateHierarchicalContainer(container, "com",
- "com.vaadin.terminal.gwt.client.WidgetSet",
- "com.vaadin.terminal.gwt.client.ui.VSplitPanelVertical",
+ "com.vaadin.client.WidgetSet",
+ "com.vaadin.client.ui.VSplitPanelVertical",
"blah", true, expectedSize, expectedRoots, true);
// Additionally remove all without 'm' in the simple name.
@@ -139,8 +139,8 @@ public class TestHierarchicalContainer extends
validateHierarchicalContainer(
container,
"com",
- "com.vaadin.terminal.gwt.client.ui.VUriFragmentUtility",
- "com.vaadin.terminal.gwt.client.ui.layout.ChildComponentContainer",
+ "com.vaadin.client.ui.VUriFragmentUtility",
+ "com.vaadin.client.ui.layout.ChildComponentContainer",
"blah", true, expectedSize, expectedRoots, true);
}
@@ -208,15 +208,15 @@ public class TestHierarchicalContainer extends
// 20 items match the filter.
// com.vaadin.data.BufferedValidatable
// com.vaadin.data.Validatable
- // com.vaadin.terminal.gwt.client.Focusable
- // com.vaadin.terminal.gwt.client.Paintable
- // com.vaadin.terminal.gwt.client.ui.Table
- // com.vaadin.terminal.gwt.client.ui.VLabel
- // com.vaadin.terminal.gwt.client.ui.VScrollTable
- // com.vaadin.terminal.gwt.client.ui.VTablePaging
- // com.vaadin.terminal.gwt.client.ui.VTabsheet
- // com.vaadin.terminal.gwt.client.ui.VTabsheetBase
- // com.vaadin.terminal.gwt.client.ui.VTabsheetPanel
+ // com.vaadin.client.Focusable
+ // com.vaadin.client.Paintable
+ // com.vaadin.client.ui.Table
+ // com.vaadin.client.ui.VLabel
+ // com.vaadin.client.ui.VScrollTable
+ // com.vaadin.client.ui.VTablePaging
+ // com.vaadin.client.ui.VTabsheet
+ // com.vaadin.client.ui.VTabsheetBase
+ // com.vaadin.client.ui.VTabsheetPanel
// com.vaadin.terminal.gwt.server.ChangeVariablesErrorEvent
// com.vaadin.terminal.Paintable
// com.vaadin.terminal.Scrollable
@@ -233,7 +233,7 @@ public class TestHierarchicalContainer extends
validateHierarchicalContainer(container,
"com.vaadin.data.BufferedValidatable",
"com.vaadin.ui.TabSheet",
- "com.vaadin.terminal.gwt.client.ui.VTabsheetBase", "blah",
+ "com.vaadin.client.ui.VTabsheetBase", "blah",
true, expectedSize, expectedRoots, false);
// only include .gwt.client classes
@@ -245,14 +245,14 @@ public class TestHierarchicalContainer extends
int classes = 110;
expectedSize = packages + classes;
- expectedRoots = 35 + 1; // com.vaadin.terminal.gwt.client.ui +
- // com.vaadin.terminal.gwt.client.*
+ expectedRoots = 35 + 1; // com.vaadin.client.ui +
+ // com.vaadin.client.*
// Sorting is case insensitive
validateHierarchicalContainer(container,
- "com.vaadin.terminal.gwt.client.ApplicationConfiguration",
- "com.vaadin.terminal.gwt.client.WidgetSet",
- "com.vaadin.terminal.gwt.client.ui.VOptionGroup", "blah", true,
+ "com.vaadin.client.ApplicationConfiguration",
+ "com.vaadin.client.WidgetSet",
+ "com.vaadin.client.ui.VOptionGroup", "blah", true,
expectedSize, expectedRoots, false);
// Additionally remove all without 'P' in the simple name.
@@ -262,9 +262,9 @@ public class TestHierarchicalContainer extends
expectedRoots = expectedSize;
validateHierarchicalContainer(container,
- "com.vaadin.terminal.gwt.client.Paintable",
- "com.vaadin.terminal.gwt.client.ui.VTabsheetPanel",
- "com.vaadin.terminal.gwt.client.ui.VPopupCalendar", "blah",
+ "com.vaadin.client.Paintable",
+ "com.vaadin.client.ui.VTabsheetPanel",
+ "com.vaadin.client.ui.VPopupCalendar", "blah",
true, expectedSize, expectedRoots, false);
}
diff --git a/tests/server-side/com/vaadin/tests/VaadinClasses.java b/tests/server-side/com/vaadin/tests/VaadinClasses.java
index 5d9e38398c..15e1283e47 100644
--- a/tests/server-side/com/vaadin/tests/VaadinClasses.java
+++ b/tests/server-side/com/vaadin/tests/VaadinClasses.java
@@ -84,7 +84,7 @@ public class VaadinClasses {
public static List<Class<? extends Object>> getAllServerSideClasses() {
try {
return findClassesNoTests(Object.class, "com.vaadin", new String[] {
- "com.vaadin.tests", "com.vaadin.terminal.gwt.client" });
+ "com.vaadin.tests", "com.vaadin.client" });
} catch (IOException e) {
e.printStackTrace();
return null;
diff --git a/tests/server-side/com/vaadin/tests/server/SourceFileChecker.java b/tests/server-side/com/vaadin/tests/server/SourceFileChecker.java
index f02e5d2932..1ab742427d 100644
--- a/tests/server-side/com/vaadin/tests/server/SourceFileChecker.java
+++ b/tests/server-side/com/vaadin/tests/server/SourceFileChecker.java
@@ -188,7 +188,7 @@ public class SourceFileChecker extends TestCase {
class GwtEntryChecker extends FileContentsValidator {
// Matches e.g.
- // @com.vaadin.terminal.gwt.client.HistoryImplIEVaadin::escapeHtml(
+ // @com.vaadin.client.HistoryImplIEVaadin::escapeHtml(
private final Matcher matcher = Pattern.compile("@[\\w.]+::\\w+\\(")
.matcher("");