|
From: Teiniker E. <tei...@us...> - 2007-01-18 10:13:05
|
Update of /cvsroot/ccmtools/ccmtools/test/IDLParser/union In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv449/test/IDLParser/union Added Files: UnionLongDiscriminator.idl Makefile UnionTest.idl .cvsignore Log Message: Refactored test directory --- NEW FILE: UnionLongDiscriminator.idl --- #ifndef __UNION_LONG_DISCRIMINATOR__IDL__ #define __UNION_LONG_DISCRIMINATOR__IDL__ union UnionLongSwitch switch(long) { case 17: long a; case 3: string b; }; #endif // __UNION_LONG_DISCRIMINATOR__IDL --- NEW FILE: .cvsignore --- _CCM_UnionTest --- NEW FILE: UnionTest.idl --- #ifndef __UNION_TEST__IDL__ #define __UNION_TEST__IDL__ #include <enum/Color.idl> union ColorCount switch(Color) { case red: case green: case blue: unsigned long numInStock; case black: float discount; default: string orderDetail; }; #endif // __UNION_TEST__IDL__ --- NEW FILE: Makefile --- all: idl3 idl3: UnionTest.idl # ccmparser UnionTest.idl |