continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r209696 - in /maven/continuum/trunk/continuum-web-test: ./ slimdog.sh src/ src/main/ src/main/test/ src/main/test/c1-add-m1-project.test src/main/test/c1-add-m2-project.test src/main/test/c1-homepage.test
Date Fri, 08 Jul 2005 02:53:00 GMT
Author: jvanzyl
Date: Thu Jul  7 19:52:58 2005
New Revision: 209696

URL: http://svn.apache.org/viewcvs?rev=209696&view=rev
Log:
o using slimdog for some web testing, i will write a mojo :-)

Added:
    maven/continuum/trunk/continuum-web-test/
    maven/continuum/trunk/continuum-web-test/slimdog.sh   (with props)
    maven/continuum/trunk/continuum-web-test/src/
    maven/continuum/trunk/continuum-web-test/src/main/
    maven/continuum/trunk/continuum-web-test/src/main/test/
    maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m1-project.test
    maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m2-project.test
    maven/continuum/trunk/continuum-web-test/src/main/test/c1-homepage.test

Added: maven/continuum/trunk/continuum-web-test/slimdog.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web-test/slimdog.sh?rev=209696&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web-test/slimdog.sh (added)
+++ maven/continuum/trunk/continuum-web-test/slimdog.sh Thu Jul  7 19:52:58 2005
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+dir=`pwd`
+
+(
+  cd /home/jvanzyl/js/sf.net/slimdog
+
+  java -jar webtester.jar -d $dir/src/main/test
+)

Propchange: maven/continuum/trunk/continuum-web-test/slimdog.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m1-project.test
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m1-project.test?rev=209696&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m1-project.test (added)
+++ maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m1-project.test Thu Jul
 7 19:52:58 2005
@@ -0,0 +1,19 @@
+# 
+# Check the addition of an m2 project
+# 
+get_html | http://localhost:8080/continuum/servlet/continuum
+click_link | Add M1 Project
+select_form | 0
+set_textfield | m1PomUrl = http://svn.apache.org/viewcvs.cgi/*checkout*/maven/continuum/trunk/continuum-test-projects/m1/project.xml
+submit_form | name
+#
+# Make sure the project was added by inspecting the table
+#
+get_html | http://localhost:8080/continuum/servlet/continuum
+select_table | projectSummaryTable
+check_tablecell | (1,0) = New
+check_tablecell | (1,1) = Maven 1 Project
+check_tablecell | (1,2) = 1.0
+click_link | Delete
+select_form | 0
+submit_form | deleteEntry

Added: maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m2-project.test
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m2-project.test?rev=209696&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m2-project.test (added)
+++ maven/continuum/trunk/continuum-web-test/src/main/test/c1-add-m2-project.test Thu Jul
 7 19:52:58 2005
@@ -0,0 +1,19 @@
+# 
+# Check the addition of an m2 project
+# 
+get_html | http://localhost:8080/continuum/servlet/continuum
+click_link | Add M2 Project
+select_form | 0
+set_textfield | m2PomUrl = http://svn.apache.org/viewcvs.cgi/*checkout*/maven/continuum/trunk/continuum-test-projects/m2/pom.xml
+submit_form | name
+#
+# Make sure the project was added by inspecting the table
+#
+get_html | http://localhost:8080/continuum/servlet/continuum
+select_table | projectSummaryTable
+check_tablecell | (1,0) = New
+check_tablecell | (1,1) = Maven 2 Test Project
+check_tablecell | (1,2) = 2.0-SNAPSHOT
+click_link | Delete
+select_form | 0
+submit_form | deleteEntry

Added: maven/continuum/trunk/continuum-web-test/src/main/test/c1-homepage.test
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web-test/src/main/test/c1-homepage.test?rev=209696&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web-test/src/main/test/c1-homepage.test (added)
+++ maven/continuum/trunk/continuum-web-test/src/main/test/c1-homepage.test Thu Jul  7 19:52:58
2005
@@ -0,0 +1,6 @@
+get_html | http://localhost:8080/continuum/servlet/continuum
+check_title | Continuum
+check_text | Continuum Projects
+check_text | Status
+check_text | Project Name
+check_text | Version



Mime
View raw message