svn commit r44147 - trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit r44147 - trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup

Yumani Ranaweera
Author: yumani
Date: Tue Aug 25 06:03:15 2009
New Revision: 44147
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=44147

Log:
corrected an error..

Modified:
   trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/AllTests.java

Modified: trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/AllTests.java
URL: http://wso2.org/svn/browse/wso2/trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/AllTests.java?rev=44147&r1=44146&r2=44147&view=diff
==============================================================================
--- trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/AllTests.java (original)
+++ trunk/commons/qa/web-test-framework/mashup/src/test/java/org/wso2/carbon/web/test/mashup/AllTests.java Tue Aug 25 06:03:15 2009
@@ -20,11 +20,12 @@
  */
 
 
-import junit.framework.TestSuite;
+import junit.extensions.TestSetup;
 import junit.framework.Test;
+import junit.framework.TestSuite;
 import junit.textui.TestRunner;
-import junit.extensions.TestSetup;
 
+import java.io.IOException;
 
 
 public class AllTests extends TestSuite {
@@ -32,12 +33,12 @@
         super(Name);
     }
 
-   /* public static void main(String srgs[]) {
-        TestRunner.run(suite());
+    /* public static void main(String srgs[]) {
+       TestRunner.run(suite());
 
-    } */
+   } */
 
-     public static void main(String[] args) {
+    public static void main(String[] args) {
         try {
             TestRunner.run(suite());
         } catch (Exception e) {
@@ -49,24 +50,24 @@
         TestSuite suite = new TestSuite();
         //  suite.addTestSuite(UserManagement.class);
         //   suite.addTestSuite(ServiceUpload.class);
-       suite.addTestSuite(MSNewServiceTest.class);
-       suite.addTestSuite(MSServiceMnagementTest.class);
+        suite.addTestSuite(MSNewServiceTest.class);
+        suite.addTestSuite(MSServiceMnagementTest.class);
 
-       suite.addTestSuite(UserManagementTest.class);
-       suite.addTestSuite(KeyStoreTest.class);
-       suite.addTestSuite(LoggingTest.class);
-
-          suite.addTestSuite(MSDataBindingTest.class);
-         suite.addTestSuite(MSHostObjectsTest.class);
-            suite.addTestSuite(MSSamplesServicesTest.class);
+        suite.addTestSuite(UserManagementTest.class);
+        suite.addTestSuite(KeyStoreTest.class);
+        suite.addTestSuite(LoggingTest.class);
+
+        suite.addTestSuite(MSDataBindingTest.class);
+        suite.addTestSuite(MSHostObjectsTest.class);
+        suite.addTestSuite(MSSamplesServicesTest.class);
 
         TestSetup wrapper = new TestSetup(suite) {
 
-            protected void setUp() {
+            protected void setUp() throws IOException {
                 oneTimeSetUp();
             }
 
-            private void oneTimeSetUp() {
+            private void oneTimeSetUp() throws IOException {
                 //Settings.loadProperties();
                 //PrepareDatabase.blowAwayDatabase();
                 BrowserInitializer.initbrowser();

_______________________________________________
Commons-dev mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/commons-dev