continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1372235 - in /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test: AntProjectTest.java MavenOneProjectTest.java listener/CaptureScreenShotsListener.java parent/AbstractAdminTest.java
Date Mon, 13 Aug 2012 01:40:55 GMT
Author: brett
Date: Mon Aug 13 01:40:54 2012
New Revision: 1372235

URL: http://svn.apache.org/viewvc?rev=1372235&view=rev
Log:
formatting only

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AntProjectTest.java
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AntProjectTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AntProjectTest.java?rev=1372235&r1=1372234&r2=1372235&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AntProjectTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AntProjectTest.java
Mon Aug 13 01:40:54 2012
@@ -20,7 +20,6 @@ package org.apache.continuum.web.test;
  */
 
 import org.apache.continuum.web.test.parent.AbstractAdminTest;
-import org.testng.annotations.BeforeClass;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java?rev=1372235&r1=1372234&r2=1372235&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java
Mon Aug 13 01:40:54 2012
@@ -158,7 +158,8 @@ public class MavenOneProjectTest
     {
         goToAddMavenOneProjectPage();
         addMavenOneProject( malformedPomUrl, "", "", null, false );
-        assertTextPresent( "The specified resource cannot be accessed. Please try again later
or contact your administrator." );
+        assertTextPresent(
+            "The specified resource cannot be accessed. Please try again later or contact
your administrator." );
     }
 
     /**
@@ -169,7 +170,8 @@ public class MavenOneProjectTest
     {
         goToAddMavenOneProjectPage();
         addMavenOneProject( inaccessiblePomUrl, "", "", null, false );
-        assertTextPresent( "POM file does not exist. Either the POM you specified or one
of its modules does not exist." );
+        assertTextPresent(
+            "POM file does not exist. Either the POM you specified or one of its modules
does not exist." );
     }
 
     /**
@@ -215,7 +217,7 @@ public class MavenOneProjectTest
         assertPage( "Continuum - Project Group" );
         assertLinkNotPresent( projectGroupName );
     }
-    
+
     private void addMaven1Project( String groupName, String pomUrl, String pomUsername, String
pomPassword )
     {
         goToAddMavenOneProjectPage();

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java?rev=1372235&r1=1372234&r2=1372235&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
Mon Aug 13 01:40:54 2012
@@ -64,7 +64,8 @@ public class CaptureScreenShotsListener
     private static void captureScreenshotAndSource( String cName, Throwable throwable )
     {
         Selenium selenium = AbstractSeleniumTest.getSelenium();
-        if (selenium == null) {
+        if ( selenium == null )
+        {
             // avoid swallowing exception
             System.err.println( "Not capturing screenshot as Selenium is not initialised"
);
             return;

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java?rev=1372235&r1=1372234&r2=1372235&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
Mon Aug 13 01:40:54 2012
@@ -74,7 +74,7 @@ public abstract class AbstractAdminTest
     {
         goToBuildAgentPage();
         assertBuildAgentPage();
-        clickAndWait("editBuildAgent_0"); //add button
+        clickAndWait( "editBuildAgent_0" ); //add button
         assertAddEditBuildAgentPage( true );
     }
 
@@ -86,7 +86,7 @@ public abstract class AbstractAdminTest
         assertTextPresent( "Description:" );
         assertTextPresent( "Enabled" );
         assertElementPresent( "saveBuildAgent_buildAgent_url" );
-        assertElementPresent( "saveBuildAgent_buildAgent_description");
+        assertElementPresent( "saveBuildAgent_buildAgent_description" );
 
         if ( isChecked )
         {



Mime
View raw message