diff options
author | smcqueen <smcqueen@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-02-09 16:34:12 +0000 |
---|---|---|
committer | smcqueen <smcqueen@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-02-09 16:34:12 +0000 |
commit | 61575a08b1c1c01e275314899777fdc8172f245b (patch) | |
tree | 05385890855387419ff94ef78e8bd4ac46886455 /TAO/tests/Bug_2375_Regression | |
parent | 25b584c5868465a15f12c8ae8c0e720ad0e2edb7 (diff) | |
download | ATCD-61575a08b1c1c01e275314899777fdc8172f245b.tar.gz |
ChangeLogTag: Thu Feb 9 14:06:09 UTC 2006 Simon McQueen <sm@prismtech.com>
Diffstat (limited to 'TAO/tests/Bug_2375_Regression')
-rwxr-xr-x | TAO/tests/Bug_2375_Regression/Bug_2375_Regression.mpc | 8 | ||||
-rwxr-xr-x | TAO/tests/Bug_2375_Regression/README | 5 | ||||
-rwxr-xr-x | TAO/tests/Bug_2375_Regression/test.cpp | 11 | ||||
-rwxr-xr-x | TAO/tests/Bug_2375_Regression/test.idl | 5 |
4 files changed, 29 insertions, 0 deletions
diff --git a/TAO/tests/Bug_2375_Regression/Bug_2375_Regression.mpc b/TAO/tests/Bug_2375_Regression/Bug_2375_Regression.mpc new file mode 100755 index 00000000000..d428b0fce50 --- /dev/null +++ b/TAO/tests/Bug_2375_Regression/Bug_2375_Regression.mpc @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ +project (*Test) : taoserver, valuetype { + exename = test + Source_Files { + test.cpp + } +} diff --git a/TAO/tests/Bug_2375_Regression/README b/TAO/tests/Bug_2375_Regression/README new file mode 100755 index 00000000000..97b642530a1 --- /dev/null +++ b/TAO/tests/Bug_2375_Regression/README @@ -0,0 +1,5 @@ +// $Id$ + +A build only test to check that the c++ source produced from an IDL file with a valuetype factory in it compiles OK. + +If it builds it's passed. diff --git a/TAO/tests/Bug_2375_Regression/test.cpp b/TAO/tests/Bug_2375_Regression/test.cpp new file mode 100755 index 00000000000..2a2d57db0e7 --- /dev/null +++ b/TAO/tests/Bug_2375_Regression/test.cpp @@ -0,0 +1,11 @@ +// $Id$ +#include "testC.h" +class MyTestValuetypeFactory : public TestValuetype_init { +public: + virtual TestValuetype* create (::CORBA::Boolean, ::CORBA::Short) {return 0;}; + virtual TAO_OBV_CREATE_RETURN_TYPE (TestValuetype) create_for_unmarshal (void) {return 0;}; +}; +int main (int , char *[]) { + MyTestValuetypeFactory myFactory; + return 0; +} diff --git a/TAO/tests/Bug_2375_Regression/test.idl b/TAO/tests/Bug_2375_Regression/test.idl new file mode 100755 index 00000000000..a6ee7413825 --- /dev/null +++ b/TAO/tests/Bug_2375_Regression/test.idl @@ -0,0 +1,5 @@ +// $Id$ +valuetype TestValuetype { + factory create(in boolean b, in short s); +}; + |