From 132aa8a77685ec92bc90c03f987650d275a7b639 Mon Sep 17 00:00:00 2001 From: lresende Date: Mon, 30 Sep 2013 06:59:11 +0000 Subject: 2.0.1 RC1 release tag git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1527464 13f79535-47bb-0310-9956-ffa450edef68 --- .../org.apache.tuscany.sca.core.ModuleActivator | 18 ++++ .../src/test/resources/ScenarioFive.composite | 41 ++++++++ .../src/test/resources/ScenarioFour.composite | 56 +++++++++++ .../corba/src/test/resources/ScenarioOne.composite | 111 +++++++++++++++++++++ .../corba/src/test/resources/ScenarioSix.composite | 41 ++++++++ .../src/test/resources/ScenarioThree.composite | 43 ++++++++ .../corba/src/test/resources/ScenarioTwo.composite | 43 ++++++++ .../corba/src/test/resources/itest_scenario.idl | 110 ++++++++++++++++++++ .../corba/src/test/resources/scenariofour.xsd | 31 ++++++ 9 files changed, 494 insertions(+) create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFive.composite create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFour.composite create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioOne.composite create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioSix.composite create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioThree.composite create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioTwo.composite create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/itest_scenario.idl create mode 100644 sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/scenariofour.xsd (limited to 'sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources') diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator new file mode 100644 index 0000000000..3e77527d73 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator @@ -0,0 +1,18 @@ +# 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. + +org.apache.tuscany.sca.test.corba.TestCorbaHostModuleActivator diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFive.composite b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFive.composite new file mode 100644 index 0000000000..b3675a0194 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFive.composite @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFour.composite b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFour.composite new file mode 100644 index 0000000000..50bfc02803 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioFour.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioOne.composite b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioOne.composite new file mode 100644 index 0000000000..495ca2a41f --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioOne.composite @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioSix.composite b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioSix.composite new file mode 100644 index 0000000000..840cd076b1 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioSix.composite @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioThree.composite b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioThree.composite new file mode 100644 index 0000000000..f02ba89496 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioThree.composite @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioTwo.composite b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioTwo.composite new file mode 100644 index 0000000000..ed3f545f72 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/ScenarioTwo.composite @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/itest_scenario.idl b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/itest_scenario.idl new file mode 100644 index 0000000000..41489a4565 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/itest_scenario.idl @@ -0,0 +1,110 @@ +/* + * 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. + */ + +/* + * compile by + * idlj -fall -oldImplBase itest_scenario.idl + */ + +module org { + module apache { + module tuscany { + module sca { + module test { + module corba { + module generated { + + // objects for ScenarioOne + + enum Color {red, yellow, green}; + + typedef sequence StringSequence; + typedef sequence LongSequence; + typedef sequence TwoDimLongSequence; + + struct InnerStruct { + TwoDimLongSequence twoDimLongSequence; + string stringField; + Color color; + }; + + struct RichStruct { + InnerStruct innerStruct; + StringSequence stringSequence; + long longField; + }; + + exception WrongColor { + Color givenColor; + Color correctColor; + }; + + exception UnexpectedException { + string info; + }; + + interface ScenarioOne { + + RichStruct setRichStruct(in RichStruct richStruct) raises (WrongColor, UnexpectedException); + + }; + + // objects for ScenarioTwo + + interface ScenarioTwo { + + attribute string stringField; + + }; + + typedef string StringArray[2][2]; + + struct AnnotatedStruct { + StringArray stringArray; + }; + + union InnerUnion switch (long) { + case 1: long x; + case 2: float y; + }; + + union RichUnion switch (long) { + case 1: long x; + case 2: float y; + case 3: string z; + case 4: InnerUnion iu; + default: boolean a; + }; + + interface ScenarioSix { + + StringArray passStringArray(in StringArray arg); + + AnnotatedStruct passAnnotatedStruct(in AnnotatedStruct arg); + + RichUnion passRichUnion(in RichUnion arg); + + }; + }; + }; + }; + }; + }; + }; +}; diff --git a/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/scenariofour.xsd b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/scenariofour.xsd new file mode 100644 index 0000000000..2669b54be3 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/testing/itest/corba/src/test/resources/scenariofour.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + -- cgit v1.2.3