You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ba...@apache.org on 2015/05/04 03:43:13 UTC
svn commit: r1677513 -
/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java
Author: batkinson
Date: Mon May 4 01:43:13 2015
New Revision: 1677513
URL: http://svn.apache.org/r1677513
Log:
Removed commented out test code, in the history if needed
Modified:
continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java
Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java?rev=1677513&r1=1677512&r2=1677513&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java Mon May 4 01:43:13 2015
@@ -81,56 +81,6 @@ public class ReportTest
assertImgWithAlt( "Success" );
}
- /*@Test( dependsOnMethods = { "testProjectGroupAllBuildSuccess" } )
- public void testBuildsReportPagination()
- throws Exception
- {
- String M2_PROJ_GRP_NAME = getProperty( "M2_PROJ_GRP_NAME" );
- String M2_PROJ_GRP_ID = getProperty( "M2_PROJ_GRP_ID" );
- String M2_PROJ_GRP_DESCRIPTION = getProperty( "M2_PROJ_GRP_DESCRIPTION" );
-
- for ( int ctr = 0; ctr < 10; ctr++ )
- {
- buildProjectGroup( M2_PROJ_GRP_NAME, M2_PROJ_GRP_ID, M2_PROJ_GRP_DESCRIPTION, M2_PROJ_GRP_NAME, true );
- clickButtonWithValue( "Release" );
- assertReleaseSuccess();
- }
-
- goToProjectBuildsReport();
- setFieldValue( "rowCount", "10" );
- clickButtonWithValue( "View Report" );
-
- assertProjectBuildReportWithResult();
- assertLinkNotPresent( "Prev" );
- assertLinkNotPresent( "1" );
- assertLinkPresent( "2" );
- assertLinkPresent( "Next" );
-
- clickLinkWithText( "2" );
- assertProjectBuildReportWithResult();
- assertLinkNotPresent( "Next" );
- assertLinkNotPresent( "2" );
- assertLinkPresent( "1" );
- assertLinkPresent( "Prev" );
-
- clickLinkWithText( "Prev" );
- assertProjectBuildReportWithResult();
- assertLinkNotPresent( "Prev" );
- assertLinkNotPresent( "1" );
- assertLinkPresent( "2" );
- assertLinkPresent( "Next" );
- }*/
-
- public void testBuildsReportWithInvalidRowCount()
- {
- goToProjectBuildsReport();
- setFieldValue( "rowCount", "1" );
- clickButtonWithValue( "View Report" );
-
- assertProjectBuildReportWithFieldError();
- assertTextPresent( "Row count should be at least 10." );
- }
-
public void testBuildsReportWithInvalidDates()
{
goToProjectBuildsReport();