geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r1005484 - in /geronimo/server/trunk/testsuite/javaee6-testsuite: ./ beanvalidation-test/ beanvalidation-tests/ beanvalidation-tests/beanvalidation-web-test/ beanvalidation-tests/beanvalidation-web-test/src/test/java/org/apache/geronimo/sam...
Date Thu, 07 Oct 2010 15:09:03 GMT
Author: vamsic007
Date: Thu Oct  7 15:09:03 2010
New Revision: 1005484

URL: http://svn.apache.org/viewvc?rev=1005484&view=rev
Log:
Reorganize to add more bean validation tests for EJBs, Connectors, etc.

Added:
    geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/
    geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/
      - copied from r1005437, geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-test/
    geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml   (with
props)
Removed:
    geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-test/
Modified:
    geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/pom.xml
    geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/src/test/java/org/apache/geronimo/sample/RegisterValidation/test/BeanValidationTest.java
    geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/pom.xml?rev=1005484&r1=1005437&r2=1005484&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/pom.xml
(original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/pom.xml
Thu Oct  7 15:09:03 2010
@@ -26,12 +26,12 @@
 
     <parent>
         <groupId>org.apache.geronimo.testsuite</groupId>
-        <artifactId>javaee6-testsuite</artifactId>
+        <artifactId>beanvalidation-tests</artifactId>
         <version>3.0-SNAPSHOT</version>
     </parent>
 
-    <artifactId>beanvalidation-test</artifactId>
-    <name>Geronimo TestSuite :: Javaee6 Testsuite :: beanvalidation-test</name>
+    <artifactId>beanvalidation-web-test</artifactId>
+    <name>Geronimo TestSuite :: Java EE 6 Testsuite :: BeanValidation tests :: beanvalidation-web-test</name>
     <packaging>war</packaging>
 
     <dependencies>
@@ -44,12 +44,6 @@
 
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-validation_1.0_spec</artifactId>
-            <scope>provided</scope>
-        </dependency>
-			
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-jsp_2.2_spec</artifactId>
             <scope>provided</scope>
         </dependency>       

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/src/test/java/org/apache/geronimo/sample/RegisterValidation/test/BeanValidationTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/src/test/java/org/apache/geronimo/sample/RegisterValidation/test/BeanValidationTest.java?rev=1005484&r1=1005437&r2=1005484&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/src/test/java/org/apache/geronimo/sample/RegisterValidation/test/BeanValidationTest.java
(original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/beanvalidation-web-test/src/test/java/org/apache/geronimo/sample/RegisterValidation/test/BeanValidationTest.java
Thu Oct  7 15:09:03 2010
@@ -28,7 +28,7 @@ public class BeanValidationTest extends 
 
 	@Test
 	public void rightInput() {
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "23");
@@ -45,7 +45,7 @@ public class BeanValidationTest extends 
     //test of @NotNull
 	@Test
 	public void testNullName() {
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "");
 		selenium.type("age", "23");
@@ -64,7 +64,7 @@ public class BeanValidationTest extends 
 	// test of @Size
 	@Test
 	public void testNameLength(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "geronimo");
 		selenium.type("age", "23");
@@ -82,7 +82,7 @@ public class BeanValidationTest extends 
 	//test of @Min and @Max
 	@Test
 	public void testAge(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "122");
@@ -99,7 +99,7 @@ public class BeanValidationTest extends 
 	//test of @Pattern
 	@Test
 	public void testMail(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "23");
@@ -116,7 +116,7 @@ public class BeanValidationTest extends 
 	//test of the constraints defined by yourself
 	@Test
 	public void testBirthday(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "23");
@@ -134,7 +134,7 @@ public class BeanValidationTest extends 
 	//test of @Valid
 	@Test
 	public void testAddress(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "23");
@@ -152,7 +152,7 @@ public class BeanValidationTest extends 
 	//test of @Min.List and groups
 	@Test
 	public void testSalary(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "23");
@@ -169,7 +169,7 @@ public class BeanValidationTest extends 
 	//test of @Min.List and groups
 	@Test
 	public void testGroup(){
-		selenium.open("/beanvalidation-test/");
+		selenium.open("/beanvalidation-web-test/");
 		selenium.selectFrame("registerFrame");
 		selenium.type("name", "gero");
 		selenium.type("age", "23");

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml?rev=1005484&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml Thu Oct
 7 15:09:03 2010
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>javaee6-testsuite</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>beanvalidation-tests</artifactId>
+    <packaging>pom</packaging>
+
+    <name>Geronimo TestSuite :: Java EE 6 Testsuite :: BeanValidation tests</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-validation_1.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <modules>
+        <module>beanvalidation-web-test</module>
+    </modules>
+
+</project>

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/beanvalidation-tests/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml?rev=1005484&r1=1005483&r2=1005484&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml (original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml Thu Oct  7 15:09:03 2010
@@ -52,7 +52,7 @@
     </description>
 
     <modules>
-        <module>beanvalidation-test</module>
+        <module>beanvalidation-tests</module>
         <module>commonannotation1.1-test</module>
         <!--<module>di1.0-test</module>-->
         <module>ejb3.1lite-test</module>



Mime
View raw message