[jbosstools-commits] JBoss Tools SVN: r41715 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test: src/org/jboss/tools/ws/ui/bot/test and 2 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Jun 5 06:52:06 EDT 2012


Author: jjankovi
Date: 2012-06-05 06:52:06 -0400 (Tue, 05 Jun 2012)
New Revision: 41715

Added:
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java
Removed:
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java
Modified:
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java
   trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
Log:
renaming ApplicationPathAnnotationTest + removing unused fields from RESTfulTestBase


Property changes on: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test
___________________________________________________________________
Modified: svn:ignore
   - target
buildlog.latest.txt
bin
build
*.class
screenshots
.springBeans

   + target
buildlog.latest.txt
bin
build
*.class
screenshots
.springBeans
todo.txt


Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java	2012-06-05 10:51:01 UTC (rev 41714)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java	2012-06-05 10:52:06 UTC (rev 41715)
@@ -18,7 +18,7 @@
 import org.jboss.tools.ws.ui.bot.test.rest.QueryAnnotationSupportTest;
 import org.jboss.tools.ws.ui.bot.test.rest.completion.RESTfulCompletionTest;
 import org.jboss.tools.ws.ui.bot.test.rest.explorer.RESTfulExplorerTest;
-import org.jboss.tools.ws.ui.bot.test.rest.validation.ApplicationPathParameterTest;
+import org.jboss.tools.ws.ui.bot.test.rest.validation.ApplicationPathAnnotationTest;
 import org.jboss.tools.ws.ui.bot.test.rest.validation.RESTfulValidationTest;
 import org.jboss.tools.ws.ui.bot.test.sample.test.SampleRESTWebServiceTest;
 import org.jboss.tools.ws.ui.bot.test.sample.test.SampleSoapWebServiceTest;
@@ -66,7 +66,7 @@
 	DefaultValueAnnotationSupportTest.class,
 	RESTfulValidationTest.class,
 	RESTfulCompletionTest.class,
-	ApplicationPathParameterTest.class,
+	ApplicationPathAnnotationTest.class,
 	BottomUpWSTest.class,
 	TopDownWSTest.class,
 	WsClientTest.class,

Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java	2012-06-05 10:51:01 UTC (rev 41714)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java	2012-06-05 10:52:06 UTC (rev 41715)
@@ -141,8 +141,7 @@
 	protected void assertExpectedPathOfService(SWTBotTreeItem service,
 			String expectedPath) {
 		String path = restfulWizard.getPathForRestFulService(service);
-		assertEquals("Expected path: " + expectedPath + " <--> found path: "
-				+ path, expectedPath, path);
+		assertEquals("Failure when comparing paths = ", expectedPath, path);
 	}
 
 	protected void assertCoundOfValidationErrors(String projectName,

Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java	                        (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java	2012-06-05 10:52:06 UTC (rev 41715)
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2010-2012 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.ws.ui.bot.test.rest.validation;
+
+import org.jboss.tools.ws.ui.bot.test.rest.RESTfulTestBase;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class ApplicationPathAnnotationTest extends RESTfulTestBase {
+
+	@Override
+	public String getWsProjectName() {
+		return "restApplication1";
+	}
+	
+	@Before
+	public void setup() {		
+		
+	}
+	
+	@After
+	public void cleanup() {
+		projectExplorer.deleteAllProjects();
+	}
+	
+	@Test
+	public void testMultipleAppClasses() {
+		
+	}
+	
+	@Test
+	public void testWebXmlApplicationOption() {
+		
+	}
+	
+}

Deleted: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java	2012-06-05 10:51:01 UTC (rev 41714)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java	2012-06-05 10:52:06 UTC (rev 41715)
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010-2012 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.ws.ui.bot.test.rest.validation;
-
-import org.jboss.tools.ws.ui.bot.test.rest.RESTfulTestBase;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-public class ApplicationPathParameterTest extends RESTfulTestBase {
-
-	@Override
-	public String getWsProjectName() {
-		return "restApplication1";
-	}
-	
-	@Before
-	public void setup() {		
-		
-	}
-	
-	@After
-	public void cleanup() {
-		projectExplorer.deleteAllProjects();
-	}
-	
-	@Test
-	public void testMultipleAppClasses() {
-		
-	}
-	
-	@Test
-	public void testWebXmlApplicationOption() {
-		
-	}
-	
-}



More information about the jbosstools-commits mailing list