diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-02-01 11:28:12 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-02-01 11:28:12 +0000 |
commit | 957c9525f4a2be63f72a68f78d7ec97696c735c0 (patch) | |
tree | 9dc2ccd51129f25d1c6aa851d05d921bc73b8c42 | |
parent | 82adb4bc3e0e557b2b977dbc0563599f63a9f6f5 (diff) | |
download | vaadin-framework-957c9525f4a2be63f72a68f78d7ec97696c735c0.tar.gz vaadin-framework-957c9525f4a2be63f72a68f78d7ec97696c735c0.zip |
java 1.4
svn changeset:3696/svn branch:trunk
-rw-r--r-- | src/com/itmill/toolkit/tests/TestSizeableIncomponents.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/tests/TestSizeableIncomponents.java b/src/com/itmill/toolkit/tests/TestSizeableIncomponents.java index 086829a5a0..032bb9f037 100644 --- a/src/com/itmill/toolkit/tests/TestSizeableIncomponents.java +++ b/src/com/itmill/toolkit/tests/TestSizeableIncomponents.java @@ -131,8 +131,9 @@ public class TestSizeableIncomponents extends Application { String[] list2 = (new File(dir.getFile())).list(); for (int i = 0; i < list2.length; i++) { String f = list2[i]; - if (f.endsWith(".class") && !f.contains("CustomComponent")) { - f = f.replace(".class", ""); + if (f.endsWith(".class") && (f.indexOf("CustomComponent") == -1) + && (f.indexOf("Window") == -1)) { + f = f.replaceAll(".class", ""); String className = "com.itmill.toolkit.ui." + f; Class c; try { @@ -220,8 +221,8 @@ public class TestSizeableIncomponents extends Application { public String getTestableName() { StringBuffer sb = new StringBuffer(); - sb.append(classToTest.getName().replace("com.itmill.toolkit.ui.", - "")); + sb.append(classToTest.getName().replaceAll( + "com.itmill.toolkit.ui.", "")); sb.append("["); for (Iterator i = configurations.iterator(); i.hasNext();) { sb.append(((Configuration) i.next()).getDescription()); |