[richfaces-svn-commits] JBoss Rich Faces SVN: r11768 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Dec 15 07:28:47 EST 2008


Author: andrei_exadel
Date: 2008-12-15 07:28:46 -0500 (Mon, 15 Dec 2008)
New Revision: 11768

Modified:
   trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
uncomment @Test

Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java	2008-12-15 12:27:05 UTC (rev 11767)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java	2008-12-15 12:28:46 UTC (rev 11768)
@@ -412,7 +412,7 @@
     }
     
     
-   // @Test
+    @Test
     public void testJSAPI(Template template) {
     	renderPage(template, RESET_METHOD);
     	initIds(getParentId());
@@ -542,14 +542,14 @@
     	
     }
 
-   // @Test
+    @Test
     public void testRenderedAttribute(Template template) {
     	AutoTester tester = getAutoTester(this);
     	tester.renderPage(template, RESET_METHOD);
     	tester.testRendered();
     }
 
-   // @Test
+    @Test
     public void testInternationalization(Template template) {
     	renderPage(template, RESET_METHOD);
     	initIds(getParentId());
@@ -566,7 +566,7 @@
        
     }
 
-  //  @Test
+    @Test
     public void testLimitToListAttribute(Template template) {
     	AutoTester tester = getAutoTester(this);
     	tester.renderPage(template, RESET_METHOD);
@@ -575,7 +575,7 @@
     	tester.testLimitToList();
     }
 
-  //  @Test
+    @Test
     public void testReRenderAttribute(Template template) {
     	AutoTester tester = getAutoTester(this);
     	tester.renderPage(template, RESET_METHOD);
@@ -585,7 +585,7 @@
     	tester.testReRender();
     }
     
-  //  @Test
+    @Test
     public void testConverterAttribute(Template template) {
     	AutoTester tester = getAutoTester(this);
     	tester.renderPage(template, RESET_METHOD);
@@ -593,7 +593,7 @@
     	tester.testConverterAttribute();
     }
     
-  //  @Test
+    @Test
     public void testValidatorAndValidatorMessageAttributes(Template template) {
     	AutoTester tester = getAutoTester(this);
     	tester.renderPage(template, RESET_METHOD);
@@ -601,7 +601,7 @@
     	tester.testValidatorAndValidatorMessageAttributes();
     }
 
-  //  @Test
+    @Test
     public void testClientMode(Template template) {
     	renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -636,7 +636,7 @@
 		
     }
     
-  //  @Test
+    @Test
     public void testDataModelAttribute(Template template) {
     	renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -655,7 +655,7 @@
       
     }
     
-  //  @Test
+    @Test
     public void testTimeSelection(Template template) {
     	renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -703,7 +703,7 @@
         
     }
 
-  //  @Test
+    @Test
     public void testListenersInAjaxMode(Template template) {
         renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -722,7 +722,7 @@
 
     }
 
-  //  @Test
+    @Test
     public void testListenersInClientMode(Template template) {
         renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -743,7 +743,7 @@
 
     }
 
-  //  @Test
+    @Test
     public void testCalendarComponent(Template template) {
         renderPage(template);	
 
@@ -772,7 +772,7 @@
         Assert.assertTrue(isVisible(calendarOpenedId), "Calendar window should be visible on the component!");
     }
 
-   // @Test
+    @Test
     public void testSelectDateComponent(Template template) {
         renderPage(template);
 
@@ -817,7 +817,7 @@
         Assert.assertFalse(isVisible(calendarOpenedId), "Calendar window should NOT be visible on the component!");
     }
 
-   // @Test
+    @Test
     public void testValueAndCurrentDateOfCalendarInCaseOfPopupTrue(Template template) {
         renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -864,7 +864,7 @@
         Assert.assertEquals(currentDate, month_year, "Calendar shows wrong current date");
     }
 
-  //  @Test
+    @Test
     public void testValueAndCurrentDateOfCalendarWithPopupFalse(Template template) {
         renderPage(template, RESET_METHOD);
         initIds(getParentId());
@@ -930,7 +930,7 @@
         Assert.assertEquals(currentDate, month_year, "Calendar shows wrong current date");
     }
 
-  //  @Test
+    @Test
     public void testDatePatternNonPopupMode(Template template) {
         renderPage(template, null);
         initIds(getParentId());
@@ -960,7 +960,7 @@
         }
     }
 
-  //  @Test
+    @Test
     public void testDatePatternPopupMode(Template template) {
         renderPage(template, null);
         initIds(getParentId());
@@ -996,7 +996,7 @@
         }
     }
 
-   // @Test
+    @Test
     public void testShowHeaderAttribute(Template template) {
         renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
         initIds(getParentId());
@@ -1019,7 +1019,7 @@
         AssertPresent(calendarHeaderId, "Header is not present");
     }
 
-  //  @Test
+    @Test
     public void testShowFooterAttribute(Template template) {
         renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
         initIds(getParentId());
@@ -1042,7 +1042,7 @@
         AssertPresent(calendarFooterId, "Footer is not present");
     }
 
-   // @Test
+    @Test
     public void testShowWeekDaysBar(Template template) {
         renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
         initIds(getParentId());
@@ -1065,7 +1065,7 @@
         AssertPresent(weekDaysBarId, "Week days bar is not present");
     }
 
-  //  @Test
+    @Test
     public void testShowWeeksBar(Template template) {
         renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
         initIds(getParentId());
@@ -1089,7 +1089,7 @@
         AssertPresent(weeksBarId, "Weeks bar is not present");
     }
 
-  //  @Test
+    @Test
     public void testShowInput(Template template) {
         renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
         initIds(getParentId());
@@ -1103,7 +1103,7 @@
         AssertNotVisible(inputDateId, "Input is visible");
     }
 
-  //  @Test
+    @Test
     public void testShowApplyButton(Template template) {
         renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
         initIds(getParentId());
@@ -1120,7 +1120,7 @@
         Assert.assertFalse(isVisible(applyButtonXpath), "Apply button is visible");
     }
 
-  //  @Test
+    @Test
     public void testTodayControlMode(Template template) {
         renderPage(TODAY_CONTROL_MODE_URL, template, null);
         initIds(getParentId());
@@ -1203,7 +1203,7 @@
         Assert.assertFalse(isVisible(todayControlXpath), "Control 'Today' has to be hidden");
     }
 
-  //  @Test
+    @Test
     public void testButtonRelatedAttributes(Template template) {
         renderPage(BUTTON_RELATED_TEST_URL, template, null);
         writeStatus("Check button-related attributes");
@@ -1226,7 +1226,7 @@
         AssertTextEquals(labeledPopupBtnId, "Button");
     }
 
-  //  @Test
+    @Test
     public void testRequiredAndRequiredMessageAttributes(Template template) {
         renderPage(template, INIT_REQUIRED_TEST);
         initIds(getParentId());
@@ -1270,7 +1270,7 @@
         ajaxSetup();
     }
 
-   // @Test
+    @Test
     public void testLabelAttribute(Template template) {
         renderPage(template, null);
         initIds(getParentId());
@@ -1285,7 +1285,7 @@
         Assert.assertTrue(msg.matches(".*" + label + ".*"), "Error message does not contain defined label: Calendar");
     }
 
-  //  @Test
+    @Test
     public void testInputSizeAttribute(Template template) {
         renderPage(LAYOUT_TESTS_URL, template, null);
         initIds(getParentId());




More information about the richfaces-svn-commits mailing list