Summary: | Improved DataType_Handler | ||
---|---|---|---|
Product: | DAnCE | Reporter: | Jiang Wei <jiangwei_1976> |
Component: | LocalityManager | Assignee: | Jiang Wei <jiangwei_1976> |
Status: | NEW --- | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 1.1.7 | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
handle tk_enum, tk_struct, tk_sequence and tk_enum
ccd handler unit test new test for ccd_handler |
Also for this one, any test extensions that tests this? Created attachment 1450 [details]
ccd handler unit test
$ tao_idl3_to_ccd test.idl
processing test.idl
$ for ccd in *.ccd; do echo -e "\ntesting $ccd ..."; ./test -i $ccd; done
testing Foo.ccd ...
Instance document import succeeded.
testing FooUnion.ccd ...
Parse Error : open FooUnion.ccd faild
testing FooValue.ccd ...
terminate called after throwing an instance of 'int'
Aborted (core dumped)
testing FooValueBox.ccd ...
Parse Error : open FooValueBox.ccd faild
Created attachment 1451 [details]
new test for ccd_handler
for ccd in *.ccd; do ./test -i $ccd; done
"FooAliasSequence.ccd" import succeeded.
"FooEnum.ccd" import succeeded.
"FooStruct.ccd" import succeeded.
"FooUnion.ccd" Parse Error: create_dom failed.
"FooValueBox.ccd" Config Error : Unsupport data type.
"FooValue.ccd" Config Error : Unsupport data type.
|
Created attachment 1448 [details] handle tk_enum, tk_struct, tk_sequence and tk_enum Repository Manager cann't handle tk_enum, tk_struct, tk_sequence, tk_enum. The following two files seem to be useless. * DAnCE/tools/Config_Handlers/DynAny_Handler/DataType_Handler.cpp * DAnCE/tools/Config_Handlers/DynAny_Handler/DataType_Handler.h