aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-10-27 07:57:12 +0000
committerArtur Signell <artur.signell@itmill.com>2009-10-27 07:57:12 +0000
commit6a3c715dae922edd723c9423b4308d5d7948b74e (patch)
tree46a007274681a9803afccf135ace5554f3e01e3a /src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java
parent931d75fef69deb9b738fad97001cf5621de9f43e (diff)
downloadvaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.tar.gz
vaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.zip
Split demo and tests files to own source folders, for #3298
svn changeset:9390/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java')
-rw-r--r--src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java b/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java
deleted file mode 100644
index 852e41bd05..0000000000
--- a/src/com/vaadin/tests/components/button/ButtonUndefinedWidth.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package com.vaadin.tests.components.button;
-
-import com.vaadin.data.Item;
-import com.vaadin.tests.components.TestBase;
-import com.vaadin.ui.Button;
-import com.vaadin.ui.NativeButton;
-import com.vaadin.ui.Table;
-
-public class ButtonUndefinedWidth extends TestBase {
-
- @Override
- protected String getDescription() {
- return "Both the button outside the table and inside the table should be only as wide as necessary. There should be empty space in the table to the right of the button.";
- }
-
- @Override
- protected Integer getTicketNumber() {
- return 3257;
- }
-
- @Override
- protected void setup() {
- Button b = new Button("Undefined wide");
- addComponent(b);
- NativeButton b2 = new NativeButton("Undefined wide");
- addComponent(b2);
-
- Table t = new Table();
- t.addContainerProperty("A", Button.class, null);
- t.setWidth("500px");
-
- Item i = t.addItem("1");
- i.getItemProperty("A").setValue(new Button("Undef wide"));
- Item i2 = t.addItem("2");
- i2.getItemProperty("A").setValue(new NativeButton("Undef wide"));
-
- addComponent(t);
- }
-
-}