Author: dgolovin
Date: 2009-02-26 20:05:16 -0500 (Thu, 26 Feb 2009)
New Revision: 13858
Added:
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiPreferencesPagesTest.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiAllTests.java
Log:
increase test coverage
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java 2009-02-27
00:55:08 UTC (rev 13857)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java 2009-02-27
01:05:16 UTC (rev 13858)
@@ -27,6 +27,7 @@
public class LibrarySetsPreferencePage extends PreferencePage implements
IWorkbenchPreferencePage {
+ public static final String ID =
"org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage";
public static final String BUNDLE_NAME = "preferences";
public static final ResourceBundle BUNDLE =
ResourceBundle.getBundle(LibrarySetsPreferencePage.class.getPackage().getName() +
"." + BUNDLE_NAME);
String[] librarySets;
Modified:
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiAllTests.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiAllTests.java 2009-02-27
00:55:08 UTC (rev 13857)
+++
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiAllTests.java 2009-02-27
01:05:16 UTC (rev 13858)
@@ -24,6 +24,7 @@
TestSuite suite = new TestSuite(JstWebUiAllTests.class.getName());
suite.addTestSuite(WebViewsTest.class);
suite.addTestSuite(WebWizardsTest.class);
+ suite.addTestSuite(JstWebUiPreferencesPagesTest.class);
return suite;
}
}
Added:
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiPreferencesPagesTest.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiPreferencesPagesTest.java
(rev 0)
+++
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiPreferencesPagesTest.java 2009-02-27
01:05:16 UTC (rev 13858)
@@ -0,0 +1,26 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.ui.test;
+
+import org.jboss.tools.jst.web.ui.internal.preferences.LibSetPreferencePage;
+import org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage;
+import org.jboss.tools.tests.PreferencePageTest;
+
+/**
+ * @author eskimo
+ *
+ */
+public class JstWebUiPreferencesPagesTest extends PreferencePageTest {
+
+ public void testLibrarySetsPreferencePage() {
+ doDefaultTest(LibrarySetsPreferencePage.ID,LibrarySetsPreferencePage.class);
+ }
+}
Property changes on:
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/JstWebUiPreferencesPagesTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain