summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/themes
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-06 10:08:14 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-06 10:08:29 +0300
commit4d2031b1278ae78be7b35ae1e27971b98524ee91 (patch)
tree89deca69f45463564647b27a01cfbd4e26552e53 /uitest/src/com/vaadin/tests/themes
parent4710cbf7d6a73490ff292319af82b4746e509e4b (diff)
downloadvaadin-framework-4d2031b1278ae78be7b35ae1e27971b98524ee91.tar.gz
vaadin-framework-4d2031b1278ae78be7b35ae1e27971b98524ee91.zip
Moved tests applications which got placed in the wrong folder at merge
Diffstat (limited to 'uitest/src/com/vaadin/tests/themes')
-rw-r--r--uitest/src/com/vaadin/tests/themes/LiferayThemeTest.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/themes/LiferayThemeTest.java b/uitest/src/com/vaadin/tests/themes/LiferayThemeTest.java
new file mode 100644
index 0000000000..6640134326
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/themes/LiferayThemeTest.java
@@ -0,0 +1,37 @@
+package com.vaadin.tests.themes;
+
+import com.vaadin.annotations.Theme;
+import com.vaadin.server.WrappedRequest;
+import com.vaadin.tests.components.AbstractTestUI;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Panel;
+import com.vaadin.ui.themes.LiferayTheme;
+
+@Theme("liferay")
+public class LiferayThemeTest extends AbstractTestUI {
+
+ @Override
+ protected void setup(WrappedRequest request) {
+ Panel p = new Panel("Panel");
+ addComponent(p);
+ p.addComponent(new Label("Panel content"));
+
+ p = new Panel("Light Panel");
+ p.addStyleName(LiferayTheme.PANEL_LIGHT);
+ addComponent(p);
+ p.addComponent(new Label("Panel content"));
+ }
+
+ @Override
+ protected String getTestDescription() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}