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/19 05:12:20 UTC
svn commit: r326349 - in /jakarta/commons/sandbox/scxml/trunk: ./
src/test/java/org/apache/commons/scxml/
src/test/java/org/apache/commons/scxml/semantics/
Author: rahul
Date: Tue Oct 18 20:12:12 2005
New Revision: 326349
URL: http://svn.apache.org/viewcvs?rev=326349&view=rev
Log:
Connect new package to the test framework.
Added:
jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/
jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.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=326349&r1=326348&r2=326349&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/project.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/project.xml Tue Oct 18 20:12:12 2005
@@ -159,6 +159,7 @@
<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>
+ <include>org/apache/commons/scxml/semantics/SemanticsTestSuite.java</include>
</includes>
<resources>
<resource>
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=326349&r1=326348&r2=326349&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 Tue Oct 18 20:12:12 2005
@@ -24,6 +24,7 @@
import org.apache.commons.scxml.env.jsp.EnvJspTestSuite;
import org.apache.commons.scxml.env.faces.EnvFacesTestSuite;
import org.apache.commons.scxml.model.ModelTestSuite;
+import org.apache.commons.scxml.semantics.SemanticsTestSuite;
/**
* Test suite for [SCXML].
@@ -57,6 +58,7 @@
suite.addTest(EnvJspTestSuite.suite());
suite.addTest(EnvFacesTestSuite.suite());
suite.addTest(ModelTestSuite.suite());
+ suite.addTest(SemanticsTestSuite.suite());
return suite;
}
}
Added: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.java?rev=326349&view=auto
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.java (added)
+++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.java Tue Oct 18 20:12:12 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.semantics;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+
+/**
+ * Test suite for SCXML Semantics package.
+ *
+ */
+public class SemanticsTestSuite extends TestCase {
+
+ /**
+ * Construct a new instance.
+ */
+ public SemanticsTestSuite(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 Semantics Tests");
+ return suite;
+ }
+}
+
Propchange: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/semantics/SemanticsTestSuite.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