From 586d9d07d2249ce58d1f6a008f2b9eab5be98b3d Mon Sep 17 00:00:00 2001 From: edwardsmj Date: Fri, 12 Dec 2008 11:51:24 +0000 Subject: Renamed testcases to conform to JUnit conventions git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@725973 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/client/ASM_0002_TestCase.java | 43 +++++++++++++++++++++ .../src/test/java/client/ASM_0003_TestCase.java | 44 ++++++++++++++++++++++ .../src/test/java/client/ASM_0004_TestCase.java | 43 +++++++++++++++++++++ .../src/test/java/client/Test_ASM_0002.java | 43 --------------------- .../src/test/java/client/Test_ASM_0003.java | 44 ---------------------- .../src/test/java/client/Test_ASM_0004.java | 43 --------------------- 6 files changed, 130 insertions(+), 130 deletions(-) create mode 100644 java/sca/stest/sampleTest/src/test/java/client/ASM_0002_TestCase.java create mode 100644 java/sca/stest/sampleTest/src/test/java/client/ASM_0003_TestCase.java create mode 100644 java/sca/stest/sampleTest/src/test/java/client/ASM_0004_TestCase.java delete mode 100644 java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0002.java delete mode 100644 java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0003.java delete mode 100644 java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0004.java (limited to 'java') diff --git a/java/sca/stest/sampleTest/src/test/java/client/ASM_0002_TestCase.java b/java/sca/stest/sampleTest/src/test/java/client/ASM_0002_TestCase.java new file mode 100644 index 0000000000..04930106cd --- /dev/null +++ b/java/sca/stest/sampleTest/src/test/java/client/ASM_0002_TestCase.java @@ -0,0 +1,43 @@ +/* + * 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. + */ +package client; + + +import test.ASM_0002_Client; +import test.TestInvocation; + +/** + * A generic test client based on Tuscany APIs + */ +public class ASM_0002_TestCase extends BaseTestCase { + + + protected TestConfiguration getTestConfiguration() { + TestConfiguration config = new TestConfiguration(); + config.testName = "ASM_0002"; + config.input = "request"; + config.output = config.testName + " " + config.input + " service1 operation1 invoked"; + config.composite = "Test_ASM_0002.composite"; + config.testServiceName = "TestClient"; + config.testClass = ASM_0002_Client.class; + config.serviceInterface = TestInvocation.class; + return config; + } + +} // end class Test_ASM_0002 diff --git a/java/sca/stest/sampleTest/src/test/java/client/ASM_0003_TestCase.java b/java/sca/stest/sampleTest/src/test/java/client/ASM_0003_TestCase.java new file mode 100644 index 0000000000..b73c55385d --- /dev/null +++ b/java/sca/stest/sampleTest/src/test/java/client/ASM_0003_TestCase.java @@ -0,0 +1,44 @@ +/* + * 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. + */ +package client; + + +import test.ASM_0003_Client; +import test.TestInvocation; + +/** + * A generic test client based on Tuscany APIs + */ +public class ASM_0003_TestCase extends BaseTestCase { + + + protected TestConfiguration getTestConfiguration() { + TestConfiguration config = new TestConfiguration(); + config.testName = "ASM_0003"; + config.input = "request"; + config.output = config.testName + " " + config.input + " service1 operation1 invoked" + + "service2 operation1 invoked" + "service3 operation1 invoked"; + config.composite = "Test_ASM_0003.composite"; + config.testServiceName = "TestClient"; + config.testClass = ASM_0003_Client.class; + config.serviceInterface = TestInvocation.class; + return config; + } + +} // end class Test_ASM_0003 diff --git a/java/sca/stest/sampleTest/src/test/java/client/ASM_0004_TestCase.java b/java/sca/stest/sampleTest/src/test/java/client/ASM_0004_TestCase.java new file mode 100644 index 0000000000..3c727205d9 --- /dev/null +++ b/java/sca/stest/sampleTest/src/test/java/client/ASM_0004_TestCase.java @@ -0,0 +1,43 @@ +/* + * 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. + */ +package client; + + +import test.ASM_0002_Client; +import test.TestInvocation; + +/** + * A generic test client based on Tuscany APIs + */ +public class ASM_0004_TestCase extends BaseTestCase { + + + protected TestConfiguration getTestConfiguration() { + TestConfiguration config = new TestConfiguration(); + config.testName = "ASM_0004"; + config.input = "request"; + config.output = "exception"; + config.composite = "Test_ASM_0004.composite"; + config.testServiceName = "TestClient"; + config.testClass = ASM_0002_Client.class; + config.serviceInterface = TestInvocation.class; + return config; + } + +} // end class Test_ASM_0003 diff --git a/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0002.java b/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0002.java deleted file mode 100644 index cafabb78eb..0000000000 --- a/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0002.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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. - */ -package client; - - -import test.ASM_0002_Client; -import test.TestInvocation; - -/** - * A generic test client based on Tuscany APIs - */ -public class Test_ASM_0002 extends BaseTestCase { - - - protected TestConfiguration getTestConfiguration() { - TestConfiguration config = new TestConfiguration(); - config.testName = "ASM_0002"; - config.input = "request"; - config.output = config.testName + " " + config.input + " service1 operation1 invoked"; - config.composite = "Test_ASM_0002.composite"; - config.testServiceName = "TestClient"; - config.testClass = ASM_0002_Client.class; - config.serviceInterface = TestInvocation.class; - return config; - } - -} // end class Test_ASM_0002 diff --git a/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0003.java b/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0003.java deleted file mode 100644 index c459a1188e..0000000000 --- a/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0003.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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. - */ -package client; - - -import test.ASM_0003_Client; -import test.TestInvocation; - -/** - * A generic test client based on Tuscany APIs - */ -public class Test_ASM_0003 extends BaseTestCase { - - - protected TestConfiguration getTestConfiguration() { - TestConfiguration config = new TestConfiguration(); - config.testName = "ASM_0003"; - config.input = "request"; - config.output = config.testName + " " + config.input + " service1 operation1 invoked" + - "service2 operation1 invoked" + "service3 operation1 invoked"; - config.composite = "Test_ASM_0003.composite"; - config.testServiceName = "TestClient"; - config.testClass = ASM_0003_Client.class; - config.serviceInterface = TestInvocation.class; - return config; - } - -} // end class Test_ASM_0003 diff --git a/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0004.java b/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0004.java deleted file mode 100644 index 0189f409d4..0000000000 --- a/java/sca/stest/sampleTest/src/test/java/client/Test_ASM_0004.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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. - */ -package client; - - -import test.ASM_0002_Client; -import test.TestInvocation; - -/** - * A generic test client based on Tuscany APIs - */ -public class Test_ASM_0004 extends BaseTestCase { - - - protected TestConfiguration getTestConfiguration() { - TestConfiguration config = new TestConfiguration(); - config.testName = "ASM_0004"; - config.input = "request"; - config.output = "exception"; - config.composite = "Test_ASM_0004.composite"; - config.testServiceName = "TestClient"; - config.testClass = ASM_0002_Client.class; - config.serviceInterface = TestInvocation.class; - return config; - } - -} // end class Test_ASM_0003 -- cgit v1.2.3