summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hornsey <hornseyf@objectcomputing.com>2018-11-27 18:56:34 -0600
committerFred Hornsey <hornseyf@objectcomputing.com>2018-11-27 18:56:34 -0600
commit80ac0c1e3cf3ea61c1853927c9c568704f21dab0 (patch)
tree8980f5765c9a5adde577c7408d24f0e8cb7d1b97
parent9e917ac7c86bd331ed71519b4e25a965fcb5a688 (diff)
downloadATCD-80ac0c1e3cf3ea61c1853927c9c568704f21dab0.tar.gz
Removed Annotations.idl
All cases have been moved into annotest_idl.
-rw-r--r--TAO/tests/IDLv4/Annotations.idl69
1 files changed, 0 insertions, 69 deletions
diff --git a/TAO/tests/IDLv4/Annotations.idl b/TAO/tests/IDLv4/Annotations.idl
deleted file mode 100644
index fe8618242cc..00000000000
--- a/TAO/tests/IDLv4/Annotations.idl
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * IDL v4 supported Annotation Application Situations
- */
-
-// Module Declaration
-@test_module_ant
-module Test_Module {
-
- // Annotation on Typedefs
- @range (min = 1, max = 10)
- typedef short small_postive;
-
- // Sequence Type Parameter
- typedef sequence<@test_seq_param_ant short, 5> test_seq_t;
-
- // Constant Declarations
- @test_const_ant
- const short test_const = 5;
-
- // Struct Declaration
- @test_struct_ant
- struct Test_Struct_1 {
-
- // Multiple Annotations on a Struct Member
- @test_member_ant_1
- @test_member_ant_2
- short test_member_1;
-
- // Multiple Annotations with Parameters on a Struct Member
- @test_member_ant_params_1(1)
- @test_member_ant_params_2(x = 2)
- @test_member_ant_params_3(x = 1 + 2)
- @test_member_ant_params_4(x = 2 + 3, y = "Hello World")
- short test_member_2;
-
- // Scoped Named Annotations
- @test_ns_1::test_ant_1
- @test_ns_1::test_ns_2::test_ant_1
- @test_ns_1::test_ns_2::test_ns_3::test_ant_1
- @::test_ns_1::test_ant_1
- @::test_ns_1::test_ns_2::test_ant_1
- @::test_ns_1::test_ns_2::test_ns_3::test_ant_1
- short test_member_3;
-
- // Annotation on a typedefed type
- @test_typedefed_member
- test_seq_t test_seq;
- };
-
- // Annotations on a Union and a Union Discriminator
- @test_union_ant
- union Test_Union switch (@test_union_discrim_ant short) {
- case 0:
- case 1:
- // Annotation on a Union Member
- @test_union_member_ant short union_member_1;
- default:
- short union_member_2;
- };
-
- // Annotation on an Enum
- @test_enum_ant
- enum Test_Enum {
- TEST_ENUM_MEMBER_1,
- // Annotation on an Enumerator
- @test_enum_member_ant TEST_ENUM_MEMBER_2,
- TEST_ENUM_MEMBER_3
- };
-};