From 938e8f66975589a340ec3818cf50a7ae672161f4 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 26 Oct 2010 10:56:15 +0000 Subject: Delete and redo release branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027457 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/resources/arrays_unions.idl | 69 ------------ .../src/test/resources/enums.idl | 44 -------- .../src/test/resources/exceptions.idl | 58 ---------- .../src/test/resources/general_tests.idl | 124 --------------------- .../src/test/resources/references.idl | 50 --------- 5 files changed, 345 deletions(-) delete mode 100644 sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/arrays_unions.idl delete mode 100644 sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/enums.idl delete mode 100644 sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/exceptions.idl delete mode 100644 sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/general_tests.idl delete mode 100644 sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/references.idl (limited to 'sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources') diff --git a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/arrays_unions.idl b/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/arrays_unions.idl deleted file mode 100644 index 0f4ed03b4e..0000000000 --- a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/arrays_unions.idl +++ /dev/null @@ -1,69 +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. - */ - -/* - * compile by - * idlj -fall -oldImplBase arrays_unions.idl - */ - -module org { - module apache { - module tuscany { - module sca { - module binding { - module corba { - module testing { - module arrays_unions { - - struct TestStruct { - string oneDimArray[2]; - long twoDimArray[2][4]; - float threeDimArray[2][4][2]; - }; - - typedef string StringArray[2][2]; - - 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 ArraysUnionsTests { - TestStruct passTestStruct(in TestStruct arg); - StringArray passStringArray(in StringArray arg); - RichUnion passRichUnion(in RichUnion arg); - }; - - }; - }; - }; - }; - }; - }; - }; -}; - diff --git a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/enums.idl b/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/enums.idl deleted file mode 100644 index 2e4e829b0f..0000000000 --- a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/enums.idl +++ /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. - */ - -/* - * compile by - * idlj -fall -oldImplBase enums.idl - */ - -module org { - module apache { - module tuscany { - module sca { - module binding { - module corba { - module testing { - module enums { - enum Color {red, yellow, green}; - interface EnumManager { - Color getColor(in Color color); - }; - }; - }; - }; - }; - }; - }; - }; -}; diff --git a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/exceptions.idl b/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/exceptions.idl deleted file mode 100644 index b34ec46458..0000000000 --- a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/exceptions.idl +++ /dev/null @@ -1,58 +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. - */ - -/* - * compile by - * idlj -fall -oldImplBase exceptions.idl - */ - -module org { - module apache { - module tuscany { - module sca { - module binding { - module corba { - module testing { - module exceptions { - interface Calc { - struct Arguments { - double arg1; - double arg2; - }; - - exception DivByZero{ - Arguments arguments; - string info; - }; - - exception NotSupported { - string info; - }; - - double div(in double arg1, in double arg2) raises(DivByZero); - double divForSmallArgs(in double arg1, in double arg2) raises(DivByZero, NotSupported); - }; - }; - }; - }; - }; - }; - }; - }; -}; diff --git a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/general_tests.idl b/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/general_tests.idl deleted file mode 100644 index db253338c3..0000000000 --- a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/general_tests.idl +++ /dev/null @@ -1,124 +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. - */ - -/* - * compile by - * idlj -fall -oldImplBase general_tests.idl - */ - -module org { - module apache { - module tuscany { - module sca { - module binding { - module corba { - module testing { - module generated { - - interface RemoteObject { - - }; - - typedef sequence remote_object_list; - typedef sequence boolean_list; - typedef sequence char_list; - typedef sequence wchar_list; - typedef sequence octet_list; - typedef sequence short_list; - typedef sequence unsigned_short_list; - typedef sequence long_list; - typedef sequence unsigned_long_list; - typedef sequence long_long_list; - typedef sequence unsigned_long_long_list; - typedef sequence float_list; - typedef sequence double_list; - typedef sequence string_list; - typedef sequence wstring_list; - - interface PrimitivesSetter { - boolean setBoolean(in boolean arg); - char setChar(in char arg); - wchar setWchar(in wchar arg); - octet setOctet(in octet arg); - short setShort(in short arg); - unsigned short setUnsignedShort(in unsigned short arg); - long setLong(in long arg); - unsigned long setUnsignedLong(in unsigned long arg); - long long setLongLong(in long long arg); - unsigned long long setUnsignedLongLong(in unsigned long long arg); - float setFloat(in float arg); - double setDouble(in double arg); - string setString(in string arg); - wstring setWstring(in wstring arg); - RemoteObject setRemoteObject(in RemoteObject obj); - }; - - interface ArraysSetter { - boolean_list setBoolean(in boolean_list arg); - char_list setChar(in char_list arg); - wchar_list setWchar(in wchar_list arg); - octet_list setOctet(in octet_list arg); - short_list setShort(in short_list arg); - unsigned_short_list setUnsignedShort(in unsigned_short_list arg); - long_list setLong(in long_list arg); - unsigned_long_list setUnsignedLong(in unsigned_long_list arg); - long_long_list setLongLong(in long_long_list arg); - unsigned_long_long_list setUnsignedLongLong(in unsigned_long_long_list arg); - float_list setFloat(in float_list arg); - double_list setDouble(in double_list arg); - string_list setString(in string_list arg); - wstring_list setWstring(in wstring_list arg); - remote_object_list setRemoteObject(in remote_object_list obj); - }; - - typedef sequence long_seq1; - typedef sequence long_seq2; - typedef sequence long_seq3; - - struct SimpleStruct { - string field1; - long field2; - }; - - - struct SomeStruct { - SimpleStruct innerStruct; - string str; - string_list str_list; - long_seq2 twoDimSeq; - long_seq3 threeDimSeq; - }; - - interface TestObject { - SomeStruct pickStructFromArgs(in SomeStruct arg1, in SomeStruct arg2, in SomeStruct arg3, in long structNumber); - SomeStruct setStruct(in SomeStruct arg); - SimpleStruct setSimpleStruct(inout SimpleStruct arg); - long_seq1 setLongSeq1(inout long_seq1 arg); - long_seq2 setLongSeq2(inout long_seq2 arg); - long_seq3 setLongSeq3(inout long_seq3 arg); - }; - - }; - }; - }; - }; - }; - }; - }; -}; diff --git a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/references.idl b/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/references.idl deleted file mode 100644 index 72b58806e6..0000000000 --- a/sca-java-2.x/branches/2.0-Beta1/modules/binding-corba-runtime/src/test/resources/references.idl +++ /dev/null @@ -1,50 +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. - */ - -/* - * compile by - * idlj -fall -oldImplBase remote_objects.idl - */ - -module org { - module apache { - module tuscany { - module sca { - module binding { - module corba { - module testing { - module references { - - interface DummyObject { - long getLong(); - DummyObject cloneObject(); - }; - - interface ObjectManager { - DummyObject getDummyObject(); - DummyObject getObjectByArgument(in DummyObject dummy); - }; - }; - }; - }; - }; - }; - }; - }; -}; -- cgit v1.2.3