diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-08-05 22:35:04 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-08-05 22:35:04 +0000 |
commit | e3dd3e7196f55f271c301b9f84c2bb18d16f496b (patch) | |
tree | d2b475c6fbee21c720424e3366170330ee77df6a | |
parent | 857d62bb71d3fdd5b6223996a8d5dbd09e39394d (diff) | |
download | ATCD-e3dd3e7196f55f271c301b9f84c2bb18d16f496b.tar.gz |
ChangeLogTag: Tue Aug 5 17:31:17 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 12 | ||||
-rw-r--r-- | TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/ComponentContainer_i.cpp | 30 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp | 4 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp | 18 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp | 159 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.h | 22 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/test.idl | 22 |
8 files changed, 193 insertions, 80 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index b9c49e61d49..88f949d7682 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,15 @@ +Tue Aug 5 17:31:17 2003 Jeff Parsons <j.parsons@vanderbilt.edu> + + * orbsvcs/IFR_Service/ifr_adding_visitor.cpp: + * orbsvcs/orbsvcs/IFRService/ComponentContainer_i.cpp: + * orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp: + * orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp: + * orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp: + * orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.h: + * orbsvcs/tests/InterfaceRepo/IDL3_Test/test.idl: + + Added test of eventtype support, and fixed related bugs. + Tue Aug 5 15:51:44 2003 Jeff Parsons <j.parsons@vanderbilt.edu> * orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp: diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp index 176c5fe6a1b..611529b47ba 100644 --- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp +++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp @@ -3937,6 +3937,7 @@ ifr_adding_visitor::fill_supported_interfaces (CORBA::InterfaceDefSeq &result, switch (node->node_type ()) { case AST_Decl::NT_valuetype: + case AST_Decl::NT_eventtype: { AST_ValueType *v = AST_ValueType::narrow_from_decl (node); s_length = v->n_supports (); @@ -4050,7 +4051,8 @@ ifr_adding_visitor::fill_initializers (CORBA::ExtInitializerSeq &result, f_iter.next (), ++index) { arg = AST_Argument::narrow_from_decl (f_iter.item ()); - result[i].members[index].name = arg->local_name ()->get_string (); + result[i].members[index].name = + CORBA::string_dup (arg->local_name ()->get_string ()); result[i].members[index].type = CORBA::TypeCode::_duplicate (CORBA::_tc_void); @@ -4082,7 +4084,7 @@ ifr_adding_visitor::fill_initializers (CORBA::ExtInitializerSeq &result, { excp = AST_Exception::narrow_from_decl (ei.item ()); result[i].exceptions[index].name = - excp->local_name ()->get_string (); + CORBA::string_dup (excp->local_name ()->get_string ()); result[i].exceptions[index].id = excp->repoID (); result[i].exceptions[index].defined_in = ScopeAsDecl (excp->defined_in ())->repoID (); diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ComponentContainer_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ComponentContainer_i.cpp index 6491665a684..835135a0c88 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ComponentContainer_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ComponentContainer_i.cpp @@ -5,6 +5,7 @@ #include "Repository_i.h" #include "InterfaceDef_i.h" #include "ComponentDef_i.h" +#include "ValueDef_i.h" #include "IFR_Service_Utils.h" ACE_RCSID (IFRService, @@ -361,11 +362,33 @@ TAO_ComponentContainer_i::create_event_i ( if (!CORBA::is_nil (base_value)) { - char *base_value_path = + const char *base_path = TAO_IFR_Service_Utils::reference_to_path (base_value); + + // Get the servant's key into the temporary key holder, because + // the name clash checker for base valuetypes is static, and has + // no other way to know about a specific key. + this->repo_->config ()->expand_path ( + this->repo_->root_key (), + base_path, + TAO_IFR_Service_Utils::tmp_key_, + 0 + ); + TAO_IFR_Service_Utils::name_exists (&TAO_ValueDef_i::name_clash, + new_key, + this->repo_, + CORBA::dk_Value + ACE_ENV_ARG_PARAMETER); + ACE_CHECK_RETURN (path); + + ACE_TString base_value_id; + this->repo_->config ()->get_string_value (TAO_IFR_Service_Utils::tmp_key_, + "id", + base_value_id); + this->repo_->config ()->set_string_value (new_key, "base_value", - base_value_path); + base_value_id); } CORBA::ULong length = abstract_base_values.length (); @@ -404,6 +427,9 @@ TAO_ComponentContainer_i::create_event_i ( 1, supported_key); + this->repo_->config ()->set_integer_value (supported_key, + "count", + length); char *supported_path = 0; for (i = 0; i < length; ++i) diff --git a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp index 5318d07cd8e..4436b158f57 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp @@ -1017,8 +1017,8 @@ TAO_IFR_Service_Utils::gen_valuetype_tc_r ( { ACE_TString name; repo->config ()->get_string_value (key, - "name", - name); + "name", + name); ACE_TString id; repo->config ()->get_string_value (key, "id", diff --git a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp index f51263c9dd1..9233999a0e6 100644 --- a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp +++ b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp @@ -23,13 +23,19 @@ main (int argc, char *argv[]) } else { - int status = client.run (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + int status = client.run (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; - if (status == -1) - { - return 1; - } + const char *result_string = status ? "test failed" : "test ok"; + + ACE_DEBUG ((LM_DEBUG, + "%s\n", + result_string)); + + if (status == -1) + { + return 1; + } } } ACE_CATCHANY diff --git a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp index 5b601a1beb4..17a1c4e7e86 100644 --- a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp +++ b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp @@ -23,6 +23,8 @@ const char *HOME_SCOPED_NAME = "::mod::test_home"; const char *HOME_BASE_ID = "IDL:help/h_base:1.0"; const char *HOME_KEY_ID = "IDL:help/h_key:1.0"; +const char *EVENTTYPE_ID = "IDL:mod/test_eventtype:1.0"; + const CORBA::ULong ATTRS_LEN = 1; const CORBA::ULong OPS_LEN = 1; const CORBA::ULong FACTORY_LEN = 2; @@ -162,10 +164,10 @@ const CORBA::Visibility MEM_VIS[] = CORBA::PRIVATE_MEMBER }; -const char *MEM_IDS[] = +const char *MEM_NAMES[] = { - "IDL:mod/test_valuetype/test_mem1:1.0", - "IDL:mod/test_valuetype/test_mem2:1.0", + "test_mem1", + "test_mem2", }; const CORBA::ULong VT_FACTORY_PARAM_LENS[] = @@ -306,7 +308,9 @@ IDL3_Client::run (ACE_ENV_SINGLE_ARG_DECL) return status; } - status = this->valuetype_test (ACE_ENV_SINGLE_ARG_PARAMETER); + status = this->valuetype_test (VALUETYPE_ID, + "value" + ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); if (status != 0) @@ -317,12 +321,15 @@ IDL3_Client::run (ACE_ENV_SINGLE_ARG_DECL) status = this->home_test (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (-1); - const char *result_string = - status ? "test failed" : "test ok"; + if (status != 0) + { + return status; + } - ACE_DEBUG ((LM_DEBUG, - "%s\n", - result_string)); + status = this->valuetype_test (EVENTTYPE_ID, + "event" + ACE_ENV_ARG_PARAMETER); + ACE_CHECK_RETURN (-1); if (status != 0) { @@ -629,10 +636,12 @@ IDL3_Client::home_test (ACE_ENV_SINGLE_ARG_DECL) } int -IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) +IDL3_Client::valuetype_test (const char *repo_id, + const char *prefix + ACE_ENV_ARG_DECL) { CORBA::Contained_var result = - this->repo_->lookup_id (VALUETYPE_ID + this->repo_->lookup_id (repo_id ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); @@ -641,7 +650,8 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_test: lookup by id failed\n")); + "%stype_test: lookup by id failed\n", + prefix)); } return -1; @@ -657,7 +667,7 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_test: narrow to ExtValueDef failed\n")); + "%stype_test: narrow to ExtValueDef failed\n")); } return -1; @@ -667,7 +677,8 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) evd->describe_ext_value (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (-1); - int status = this->valuetype_attribute_test (desc + int status = this->valuetype_attribute_test (desc, + prefix ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); @@ -676,7 +687,8 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) return -1; } - status = this->valuetype_inheritance_test (evd + status = this->valuetype_inheritance_test (evd, + prefix ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); @@ -685,7 +697,8 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) return -1; } - status = this->valuetype_operation_test (desc + status = this->valuetype_operation_test (desc, + prefix ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); @@ -694,7 +707,8 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) return -1; } - status = this->valuetype_member_test (desc + status = this->valuetype_member_test (desc, + prefix ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); @@ -703,7 +717,8 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) return -1; } - status = this->valuetype_factory_test (desc + status = this->valuetype_factory_test (desc, + prefix ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); @@ -716,12 +731,6 @@ IDL3_Client::valuetype_test (ACE_ENV_SINGLE_ARG_DECL) } int -IDL3_Client::eventtype_test (ACE_ENV_SINGLE_ARG_DECL) -{ - return 0; -} - -int IDL3_Client::component_attribute_test ( CORBA::InterfaceAttrExtension::ExtFullInterfaceDescription_var &desc ACE_ENV_ARG_DECL @@ -1156,7 +1165,8 @@ IDL3_Client::event_port_test (CORBA::ComponentIR::EventPortDescriptionSeq &eds, } int -IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd +IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd, + const char *prefix ACE_ENV_ARG_DECL) { CORBA::ValueDef_var bvd = vd->base_value (ACE_ENV_SINGLE_ARG_PARAMETER); @@ -1167,8 +1177,9 @@ IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_inheritance_test: " - "base valuetype is null\n")); + "%stype_inheritance_test: " + "base valuetype is null\n", + prefix)); } return -1; @@ -1182,8 +1193,9 @@ IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_inheritance_test: " - "wrong repo id for base valuetype\n")); + "%stype_inheritance_test: " + "wrong repo id for base valuetype\n", + prefix)); } return -1; @@ -1200,8 +1212,9 @@ IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_inheritance_test: " - "wrong number of supported interfaces\n")); + "%stype_inheritance_test: " + "wrong number of supported interfaces\n", + prefix)); } return -1; @@ -1218,8 +1231,9 @@ IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_inheritance_test: " + "%stype_inheritance_test: " "bad id on supported interface #%d\n", + prefix, i + 1)); } @@ -1232,7 +1246,8 @@ IDL3_Client::valuetype_inheritance_test (CORBA::ExtValueDef_var &vd int IDL3_Client::valuetype_attribute_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var &desc + CORBA::ExtValueDef::ExtFullValueDescription_var &desc, + const char *prefix ACE_ENV_ARG_DECL ) { @@ -1241,7 +1256,8 @@ IDL3_Client::valuetype_attribute_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_attribute_test: wrong number of attrs\n")); + "%stype_attribute_test: wrong number of attrs\n", + prefix)); } return -1; @@ -1258,8 +1274,9 @@ IDL3_Client::valuetype_attribute_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_attribute_test: " + "%stype_attribute_test: " "wrong local name for attribute #%d\n", + prefix, i + 1)); } @@ -1275,8 +1292,9 @@ IDL3_Client::valuetype_attribute_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_attribute_test: " + "%stype_attribute_test: " "wrong TCKind for attribute #%d\n", + prefix, i + 1)); } @@ -1288,9 +1306,10 @@ IDL3_Client::valuetype_attribute_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_attribute_test: " + "%stype_attribute_test: " "wrong number of get-exceptions" " for attribute #%d\n", + prefix, i + 1)); } @@ -1302,9 +1321,10 @@ IDL3_Client::valuetype_attribute_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_attribute_test: " + "%stype_attribute_test: " "wrong number of put-exceptions" " for attribute #%d\n", + prefix, i + 1)); } @@ -1317,7 +1337,8 @@ IDL3_Client::valuetype_attribute_test ( int IDL3_Client::valuetype_operation_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var &desc + CORBA::ExtValueDef::ExtFullValueDescription_var &desc, + const char *prefix ACE_ENV_ARG_DECL ) { @@ -1328,8 +1349,9 @@ IDL3_Client::valuetype_operation_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_operation_test: " - "wrong number of operations\n")); + "%stype_operation_test: " + "wrong number of operations\n", + prefix)); } return -1; @@ -1348,8 +1370,9 @@ IDL3_Client::valuetype_operation_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_operation_test: " + "%stype_operation_test: " "wrong name for operation #%d\n", + prefix, i + 1)); } @@ -1365,8 +1388,9 @@ IDL3_Client::valuetype_operation_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_operation_test: " - "wrong return type\n")); + "%stype_operation_test: " + "wrong return type\n", + prefix)); } return -1; @@ -1379,8 +1403,9 @@ IDL3_Client::valuetype_operation_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_operation_test: " + "%stype_operation_test: " "wrong number of parameters in operation #%d\n", + prefix, i + 1)); } @@ -1396,9 +1421,10 @@ IDL3_Client::valuetype_operation_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_operation_test: " + "%stype_operation_test: " "wrong name for operation #%d," "parameter #%d\n", + prefix, i + 1, j + 1)); } @@ -1414,8 +1440,9 @@ IDL3_Client::valuetype_operation_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_operation_test: " + "%stype_operation_test: " "wrong number of exceptions in operation #%d\n", + prefix, i + 1)); } @@ -1428,7 +1455,8 @@ IDL3_Client::valuetype_operation_test ( int IDL3_Client::valuetype_member_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var &desc + CORBA::ExtValueDef::ExtFullValueDescription_var &desc, + const char *prefix ACE_ENV_ARG_DECL ) { @@ -1439,8 +1467,9 @@ IDL3_Client::valuetype_member_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_member_test: " - "wrong number of members\n")); + "%stype_member_test: " + "wrong number of members\n", + prefix)); } return -1; @@ -1455,23 +1484,25 @@ IDL3_Client::valuetype_member_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_member_test: " + "%stype_member_test: " "wrong access value in member #%d\n", + prefix, i + 1)); } return -1; } - tmp = desc->members[i].id.in (); + tmp = desc->members[i].name.in (); - if (tmp == 0 || ACE_OS::strcmp (tmp, MEM_IDS[i]) != 0) + if (tmp == 0 || ACE_OS::strcmp (tmp, MEM_NAMES[i]) != 0) { if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_member_test: " + "%stype_member_test: " "wrong repo id for member #%d\n", + prefix, i + 1)); } @@ -1484,7 +1515,8 @@ IDL3_Client::valuetype_member_test ( int IDL3_Client::valuetype_factory_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var &desc + CORBA::ExtValueDef::ExtFullValueDescription_var &desc, + const char *prefix ACE_ENV_ARG_DECL ) { @@ -1495,8 +1527,9 @@ IDL3_Client::valuetype_factory_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_factory_test: " - "wrong number of factories\n")); + "%stype_factory_test: " + "wrong number of factories\n", + prefix)); } return -1; @@ -1514,8 +1547,9 @@ IDL3_Client::valuetype_factory_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_factory_test: " + "%stype_factory_test: " "wrong number of params in factory #%d\n", + prefix, i + 1)); } @@ -1534,8 +1568,9 @@ IDL3_Client::valuetype_factory_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_factory_test: " + "%stype_factory_test: " "wrong name for arg #%d in factory #%d\n", + prefix, j + 1, i + 1)); } @@ -1551,8 +1586,9 @@ IDL3_Client::valuetype_factory_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_factory_test: " + "%stype_factory_test: " "wrong number of exceptions in factory #%d\n", + prefix, i + 1)); } @@ -1569,8 +1605,9 @@ IDL3_Client::valuetype_factory_test ( if (this->debug_) { ACE_DEBUG ((LM_DEBUG, - "valuetype_factory_test: " + "%stype_factory_test: " "wrong name for exception #%d in factory #%d\n", + prefix, j + 1, i + 1)); } diff --git a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.h b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.h index 51571d433d2..0bfa9591b0d 100644 --- a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.h +++ b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.h @@ -52,8 +52,11 @@ private: int component_test (ACE_ENV_SINGLE_ARG_DECL); int home_test (ACE_ENV_SINGLE_ARG_DECL); - int valuetype_test (ACE_ENV_SINGLE_ARG_DECL); - int eventtype_test (ACE_ENV_SINGLE_ARG_DECL); + + // Also tests eventtype. + int valuetype_test (const char *repo_id, + const char *prefix + ACE_ENV_ARG_DECL); int component_attribute_test ( CORBA::InterfaceAttrExtension::ExtFullInterfaceDescription_var & @@ -79,26 +82,31 @@ private: const char **ids ACE_ENV_ARG_DECL); - int valuetype_inheritance_test (CORBA::ExtValueDef_var & + int valuetype_inheritance_test (CORBA::ExtValueDef_var &, + const char *prefix ACE_ENV_ARG_DECL); int valuetype_attribute_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var & + CORBA::ExtValueDef::ExtFullValueDescription_var &, + const char *prefix ACE_ENV_ARG_DECL ); int valuetype_operation_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var & + CORBA::ExtValueDef::ExtFullValueDescription_var &, + const char *prefix ACE_ENV_ARG_DECL ); int valuetype_member_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var & + CORBA::ExtValueDef::ExtFullValueDescription_var &, + const char *prefix ACE_ENV_ARG_DECL ); int valuetype_factory_test ( - CORBA::ExtValueDef::ExtFullValueDescription_var & + CORBA::ExtValueDef::ExtFullValueDescription_var &, + const char *prefix ACE_ENV_ARG_DECL ); diff --git a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/test.idl b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/test.idl index 30f0a3e43c5..be9a95c554d 100644 --- a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/test.idl +++ b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/test.idl @@ -86,6 +86,28 @@ module mod in help::h_key pkey) raises (help::whups); }; + + eventtype test_eventtype + : help::v_base supports help::v_supp1, help::v_supp2 + { + attribute long c_attr1 + getraises (help::doh) + setraises (help::whups, help::doh); + + string v_op (inout string inoutarg, + in help::v_supp1 inarg, + out long outarg) + raises (help::doh, help::whups); + + public string test_mem1; + private short test_mem2; + + factory default_factory (in string set_tm1); + factory create_tv (in string set_tm1a, + in short set_tm2) + raises (help::whups, help::doh); + }; + }; |