You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ra...@apache.org on 2005/10/09 07:17:19 UTC

svn commit: r307367 - in /jakarta/commons/sandbox/scxml/trunk: ./ src/test/java/org/apache/commons/scxml/ src/test/java/org/apache/commons/scxml/env/faces/

Author: rahul
Date: Sat Oct  8 22:17:15 2005
New Revision: 307367

URL: http://svn.apache.org/viewcvs?rev=307367&view=rev
Log:
Create the test setup for the faces package.

Added:
    jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/
    jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java   (with props)
Modified:
    jakarta/commons/sandbox/scxml/trunk/project.xml
    jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/AllSCXMLTestSuite.java

Modified: jakarta/commons/sandbox/scxml/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/project.xml?rev=307367&r1=307366&r2=307367&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/project.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/project.xml Sat Oct  8 22:17:15 2005
@@ -126,6 +126,7 @@
         <include>org/apache/commons/scxml/SCXMLTestSuite.java</include>
         <include>org/apache/commons/scxml/env/EnvTestSuite.java</include>
         <include>org/apache/commons/scxml/env/jsp/EnvJspTestSuite.java</include>
+        <include>org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java</include>
         <include>org/apache/commons/scxml/model/ModelTestSuite.java</include>
       </includes>
       <resources>

Modified: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/AllSCXMLTestSuite.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/AllSCXMLTestSuite.java?rev=307367&r1=307366&r2=307367&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/AllSCXMLTestSuite.java (original)
+++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/AllSCXMLTestSuite.java Sat Oct  8 22:17:15 2005
@@ -22,6 +22,7 @@
 
 import org.apache.commons.scxml.env.EnvTestSuite;
 import org.apache.commons.scxml.env.jsp.EnvJspTestSuite;
+import org.apache.commons.scxml.env.faces.EnvFacesTestSuite;
 import org.apache.commons.scxml.model.ModelTestSuite;
 
 /**
@@ -54,6 +55,7 @@
         suite.addTest(SCXMLTestSuite.suite());
         suite.addTest(EnvTestSuite.suite());
         suite.addTest(EnvJspTestSuite.suite());
+        suite.addTest(EnvFacesTestSuite.suite());
         suite.addTest(ModelTestSuite.suite());
         return suite;
     }

Added: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java?rev=307367&view=auto
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java (added)
+++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java Sat Oct  8 22:17:15 2005
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ */
+package org.apache.commons.scxml.env.faces;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+
+/**
+ * Test suite for SCXML Faces Environment package.
+ *
+ */
+public class EnvFacesTestSuite extends TestCase {
+    
+    /**
+     * Construct a new instance.
+     */
+    public EnvFacesTestSuite(String name) {
+        super(name);
+    }
+
+    /**
+     * Command-line interface.
+     */
+    public static void main(String[] args) {
+        TestRunner.run(suite());
+    }
+
+    /**
+     * Get the suite of tests
+     */
+    public static Test suite() {
+        TestSuite suite = new TestSuite();
+        suite.setName("Commons-SCXML Faces Environment Tests");
+        return suite;
+    }
+}
+

Propchange: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/faces/EnvFacesTestSuite.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org