You are viewing a plain text version of this content. The canonical link for it is here.
Posted to imperius-commits@incubator.apache.org by jn...@apache.org on 2008/01/04 03:49:21 UTC
svn commit: r608735 - in
/incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples:
./ simplepolicies/ simplepolicies/TestSimplePolicies.java
Author: jneeraj
Date: Thu Jan 3 19:49:21 2008
New Revision: 608735
URL: http://svn.apache.org/viewvc?rev=608735&view=rev
Log:
moved files to javaspl samples
Added:
incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/
incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/
incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/TestSimplePolicies.java (with props)
Added: incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/TestSimplePolicies.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/TestSimplePolicies.java?rev=608735&view=auto
==============================================================================
--- incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/TestSimplePolicies.java (added)
+++ incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/TestSimplePolicies.java Thu Jan 3 19:49:21 2008
@@ -0,0 +1,81 @@
+/*
+ * 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.imperius.javaspl.samples.simplepolicies;
+import junit.extensions.TestSetup;
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+
+public class TestSimplePolicies extends TestCase
+{
+
+ public TestSimplePolicies(String arg0) {
+ super(arg0);
+ }
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(TestSimplePolicies.class);
+ TestSetup wrapper = new TestSetup(suite) {
+
+ protected void setUp() throws Exception {
+ oneTimeSetUp();
+ }
+
+ protected void tearDown() throws Exception {
+ oneTimeTearDown();
+ }
+ };
+ return wrapper;
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(suite());
+ }
+
+
+ protected static void oneTimeSetUp() throws Exception {
+ }
+
+ protected static void oneTimeTearDown() throws Exception {
+
+ }
+
+
+ /**
+ * @param args
+ */
+ public static void testMain()
+ {
+ String userDir = System.getProperty("user.dir");
+ System.out.println("user dir is " + userDir);
+ RunSamples.test(userDir + "/resources/samples/simple/policies/");
+
+
+ }
+
+
+
+
+
+
+}
+
+
+
+
+
+
+
+
Propchange: incubator/imperius/trunk/modules/javaspl-samples/src/test/java/org/apache/imperius/javaspl/samples/simplepolicies/TestSimplePolicies.java
------------------------------------------------------------------------------
svn:eol-style = native