summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/widgetset/server
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-03-05 16:07:10 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-11 06:46:31 +0000
commit4e5d14e1e2e90c0be9f4a5b1dfb40d55d7620ce2 (patch)
tree64ad023af0cb52896a86c74cc433c83c7c84f3f0 /uitest/src/com/vaadin/tests/widgetset/server
parent9f073198fe60a5e92d279e26a441aa47a3bf075d (diff)
downloadvaadin-framework-4e5d14e1e2e90c0be9f4a5b1dfb40d55d7620ce2.tar.gz
vaadin-framework-4e5d14e1e2e90c0be9f4a5b1dfb40d55d7620ce2.zip
Ignore type parameters when looking for metadata (#12873, #12900)
All code populating the TypeDataStore is generated using writeClassLiteral which strips away all type parameters, so the code doing lookups should also do the same to maintain compatibility. Change-Id: I01654f4cc15188a12c735ffed55d30a34c77a064
Diffstat (limited to 'uitest/src/com/vaadin/tests/widgetset/server')
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/server/GenericWidgetComponent.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/widgetset/server/GenericWidgetComponent.java b/uitest/src/com/vaadin/tests/widgetset/server/GenericWidgetComponent.java
new file mode 100644
index 0000000000..2be59ee96b
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/widgetset/server/GenericWidgetComponent.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2000-2013 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.tests.widgetset.server;
+
+import com.vaadin.tests.widgetset.client.GenericWidgetState;
+import com.vaadin.ui.AbstractComponent;
+
+public class GenericWidgetComponent extends AbstractComponent {
+
+ @Override
+ protected GenericWidgetState getState() {
+ return (GenericWidgetState) super.getState();
+ }
+
+ public void setGenericText(String genericText) {
+ getState().genericText = genericText;
+ }
+}