diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2022-09-19 12:38:40 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2022-09-19 12:38:40 +0200 |
commit | c31931d437af978c72302bb66831f729e680f325 (patch) | |
tree | 8842b0db693bf8fc46153246e6f0f7fb38fe8b87 | |
parent | 55598ab199359c7daa3331520675f7a5c8e3cfe7 (diff) | |
download | ATCD-c31931d437af978c72302bb66831f729e680f325.tar.gz |
More test extensins
* TAO/tests/IDL_Test/Versioned_Namespace/TestVersionedNamespace.idl:
* TAO/tests/IDL_Test/Versioned_Namespace/Versioned_Namespace.mpc:
-rw-r--r-- | TAO/tests/IDL_Test/Versioned_Namespace/TestVersionedNamespace.idl | 15 | ||||
-rw-r--r-- | TAO/tests/IDL_Test/Versioned_Namespace/Versioned_Namespace.mpc | 2 |
2 files changed, 15 insertions, 2 deletions
diff --git a/TAO/tests/IDL_Test/Versioned_Namespace/TestVersionedNamespace.idl b/TAO/tests/IDL_Test/Versioned_Namespace/TestVersionedNamespace.idl index 6b00e7778a3..9a6443c1cb3 100644 --- a/TAO/tests/IDL_Test/Versioned_Namespace/TestVersionedNamespace.idl +++ b/TAO/tests/IDL_Test/Versioned_Namespace/TestVersionedNamespace.idl @@ -14,10 +14,23 @@ module M1 { LI valLocalIface; }; + union BooleanUnion1 switch (boolean) + { + case TRUE: LI valLocalIface; + }; + + union BooleanUnion2 switch (boolean) + { + case TRUE: string valLocalIface; + }; + valuetype V { public string valString; public S1 valStruct; public LI valLocalIface; + public BooleanUnion1 valBoolUnion1; + public BooleanUnion2 valBoolUnion2; + public X valX; }; }; @@ -31,7 +44,7 @@ module M2 { void op(in S2 s); }; - exception E1 {}; + exception E1 { L2 val2; }; local interface L3 { void op(in S2 s) raises (E1); diff --git a/TAO/tests/IDL_Test/Versioned_Namespace/Versioned_Namespace.mpc b/TAO/tests/IDL_Test/Versioned_Namespace/Versioned_Namespace.mpc index 74ff9379fea..2adbfd97e20 100644 --- a/TAO/tests/IDL_Test/Versioned_Namespace/Versioned_Namespace.mpc +++ b/TAO/tests/IDL_Test/Versioned_Namespace/Versioned_Namespace.mpc @@ -1,5 +1,5 @@ // -*- MPC -*- -project(IDL_Test_Versioned_Namespace): taoidldefaults, valuetype, amh { +project(IDL_Test_Versioned_Namespace): taoidldefaults, valuetype, amh, gen_ostream { idlflags += -Wb,versioning_begin=BEGIN_USER_VERSIONED_NAMESPACE \ -Wb,versioning_end=END_USER_VERSIONED_NAMESPACE \ -Wb,versioning_include=UserVersionedNamespace.h |