Commit 8d26583e authored by balaskoa's avatar balaskoa
Browse files

json test update


Signed-off-by: default avatarbalaskoa <Jeno.Balasko@ericsson.com>
parent 62db8417
......@@ -100,13 +100,6 @@
<ExcludeFromBuild>true</ExcludeFromBuild>
</FolderProperties>
</FolderResource>
<FolderResource>
<FolderPath>src/EncodeDecode/JSON/JsonComplexTest</FolderPath>
<FolderProperties>
<CentralStorage>false</CentralStorage>
<ExcludeFromBuild>true</ExcludeFromBuild>
</FolderProperties>
</FolderResource>
<FolderResource>
<FolderPath>src/EncodeDecode/JSON/JsonModuleTest</FolderPath>
<FolderProperties>
......
......@@ -33,21 +33,24 @@
#### EncodeDecode folder #####
## JsonBasicTestFolder ##
#JsonBasicASN1EncDecTest1.tc_asn1_bs2bs #fails in java
#JsonBasicEncDecTest_bs. tc_jsonBasic_encdec_roi1
#JsonBasicEncDecTest_bs. tc_jsonBasic_encdec_roi2
#JsonBasicEncDecTest_bs. tc_jsonBasic_encdec_soi1
#JsonBasicEncDecTest_bs. tc_jsonBasic_encdec_soi2
#JsonBasicEncDecTest_bs. tc_jsonBasic_encdec_soi3
#JsonBasicEncDecTest_bs.tc_jsonBasic_encdec_AI3
#JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_roi1
#JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_roi2
#JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_roi3
#JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_AI3 #bad result
#JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_soi
c_JSON_ustr_local_char3
#c_JSON_ustr_local_char3
#failing tests, commented out in the control part:
#JsonTestcases.tc_asn_seq
#JsonTestcases.tc_array_float
#JsonTestcases.tc_array_int
#JsonTestcases.tc_array_str
#JsonTestcases.tc_asn_choice
#JsonTestcases.tc_asn_complex
#JsonTestcases.tc_asn_objid_and_any
#JsonTestcases.tc_asn_optional_null
#JsonTestcases.tc_record_empty
#JsonTestcases.tc_verdicttype
#JsonTestcases.tc_charstring_ascii_basic_escapes
#JsonTestcases.tc_binary_strings_with_white_spaces
JsonBasicAttributeTest.control
#JsonBasicAttributeTest.tc_attr_enum_text_attr #bad result
###########################################
......
......@@ -132,18 +132,18 @@ no.control
#### EncodeDecode folder #####
## BER
#TODO: develop BER encode-decode
# TODO: develop BER encode-decode
## JSON:
## JsonBasicTestFolder ##
JsonBasicASN1EncDecTest1 #6 pass
JsonBasicAttributeTest # 13 pass, 3 commented out --see in bugs
JsonBasicEncDecTest_bs # 31 pass, 6 commented out (fail or/and error) --see in bugs
JsonBasicEncDecTest_bs # 36 pass, 1 commented out (fail or/and error) --see in bugs
JsonBasicEncDecTest_os # 30 pass, 5 commented out --see in bugs
JsonBasicTest_ucharstring #7pass, 1 commented out
JsonBasicTest_ucharstring # 7pass, 1 commented out
##TODO:JsonComplexTest
#JsonTestcases.control #55 pass (75.342 %), 0 inconc (0 %), 2 fail (2.74 %), 16 error (21.918 %)
#AttributeTestcases.control #5 pass (21.739 %), 0 inconc (0 %), 1 fail (4.348 %), 17 error (73.913 %)
JsonTestcases.control #59 pass, 12 commented out (2 fail , 10 error )
#AttributeTestcases.control #14 pass (60.87 %), 0 inconc (0 %), 1 fail (4.348 %), 8 error (34.783 %)
#Bson
#Cbor
......
......@@ -14,15 +14,31 @@
## JsonBasicTest Folder ##
#JsonBasicASN1EncDecTest1 #6 pass
#JsonBasicAttributeTest.tc_attr_enum_text_attr # 10 pass, 1 commented out
JsonBasicEncDecTest_bs # 31 pass, 5 commented out (fail or/and error)
JsonBasicEncDecTest_os # 30 pass, 5 commented out
JsonBasicTest_ucharstring #7pass, 1 commented out
#JsonBasicEncDecTest_bs # 31 pass, 1 commented out (fail or/and error)
#JsonBasicEncDecTest_os # 34 pass, 1 commented out
#JsonBasicTest_ucharstring # 7 pass, 1 commented out
#JsonModuleTest
#JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_AI3 #bad result
## JsonComplexTest folder ##
#JsonTestcases.control #55 pass (75.342 %), 0 inconc (0 %), 2 fail (2.74 %), 16 error (21.918 %)
#AttributeTestcases.control #5 pass (21.739 %), 0 inconc (0 %), 1 fail (4.348 %), 17 error (73.913 %)
#JsonTestcases.control #59 pass, 12 commented out (2 fail , 10 error )
#failing tests, commented out in the control part:
#JsonTestcases.tc_asn_seq
#JsonTestcases.tc_array_float
#JsonTestcases.tc_array_int
#JsonTestcases.tc_array_str
#JsonTestcases.tc_asn_choice
#JsonTestcases.tc_asn_complex
#JsonTestcases.tc_asn_objid_and_any
#JsonTestcases.tc_asn_optional_null
#JsonTestcases.tc_record_empty
#JsonTestcases.tc_verdicttype
#JsonTestcases.tc_charstring_ascii_basic_escapes
#JsonTestcases.tc_binary_strings_with_white_spaces
#AttributeTestcases.control #14 pass (60.87 %), 0 inconc (0 %), 1 fail (4.348 %), 8 error (34.783 %)
#Bson
#Cbor
####JsonBasicEncDecTest_os.tc_jsonBasic_encdec_os_enum_unbound
......
......@@ -1419,12 +1419,12 @@ control {
//JSON objects:
execute( tc_jsonBasic_encdec_record() );
execute( tc_jsonBasic_encdec_set() );
// execute( tc_jsonBasic_encdec_roi1() ); //decode DTE, ...which has no JSON decoding method.
// execute( tc_jsonBasic_encdec_roi2() );
execute( tc_jsonBasic_encdec_roi1() );
execute( tc_jsonBasic_encdec_roi2() );
// execute( tc_jsonBasic_encdec_AI3());
// execute( tc_jsonBasic_encdec_soi1() );//decode DTE, ...which has no JSON decoding method.
// execute( tc_jsonBasic_encdec_soi2() );
// execute( tc_jsonBasic_encdec_soi3() );
execute( tc_jsonBasic_encdec_soi1() );
execute( tc_jsonBasic_encdec_soi2() );
execute( tc_jsonBasic_encdec_soi3() );
execute( tc_jsonBasic_encdec_union_const() );
execute( tc_jsonBasic_encdec_union() );
execute( tc_jsonBasic_encdec_anytype_i());
......
......@@ -967,11 +967,11 @@ control {
// execute( tc_jsonBasic_encdec_os_AI3() );
execute( tc_jsonBasic_encdec_os_verdict() );
execute( tc_jsonBasic_encdec_os_record() );
// execute( tc_jsonBasic_encdec_os_roi1() );
// execute( tc_jsonBasic_encdec_os_roi2() );
// execute( tc_jsonBasic_encdec_os_roi3() );
execute( tc_jsonBasic_encdec_os_roi1() );
execute( tc_jsonBasic_encdec_os_roi2() );
execute( tc_jsonBasic_encdec_os_roi3() );
execute( tc_jsonBasic_encdec_os_set() );
// execute( tc_jsonBasic_encdec_os_soi() );
execute( tc_jsonBasic_encdec_os_soi() );
execute( tc_jsonBasic_encdec_os_union_const() );
execute( tc_jsonBasic_encdec_os_union() );
}
......
......@@ -865,9 +865,8 @@ control {
execute(tc_charstring_ascii_basic_long());
execute(tc_charstring_ascii_basic_long_const());
execute(tc_charstring_ascii_basic_punctuation());
execute(tc_charstring_ascii_basic_escapes());
// execute(tc_charstring_ascii_basic_escapes());
// execute(tc_charstring_ascii_extended1()); //TODO: Dynamic test case error: Internal error: Default counter cannot be reset when the control part defaults are saved.
execute(tc_charstring_ascii_basic_escapes());
execute(tc_ucharstring_empty());
// execute(tc_ucharstring_ascii_extended1_xer());
......@@ -881,36 +880,35 @@ control {
execute(tc_hexstring_nonempty());
execute(tc_bitstring_empty());
execute(tc_bitstring_nonempty());
execute(tc_verdicttype());
// execute(tc_verdicttype());
execute(tc_float());
execute(tc_record());
execute(tc_record_const());
execute(tc_record_modulepar());
execute(tc_record_empty());
// execute(tc_record_empty());
execute(tc_recordofinteger_empty());
execute(tc_recordofinteger_short());
execute(tc_recordoffloat_empty());
execute(tc_recordoffloat_short());
execute(tc_recordofCS_empty());
execute(tc_recordofCS_short());
execute(tc_array_int());
execute(tc_array_float());
execute(tc_array_str());
// execute(tc_array_int());
// execute(tc_array_float());
// execute(tc_array_str());
execute(tc_union());
execute(tc_union2());
execute(tc_union_false());
execute(tc_asn_seqof());
execute(tc_asn_seq());
execute(tc_asn_choice());
execute(tc_asn_strings());
execute(tc_asn_complex());
// execute(tc_asn_seq());
// execute(tc_asn_choice());
// execute(tc_asn_strings());
// execute(tc_asn_complex());
// execute(tc_asn_open_type_and_null()); //java bug
execute(tc_asn_objid_and_any());
execute(tc_asn_optional_null());
// execute(tc_asn_objid_and_any());
// execute(tc_asn_optional_null());
execute(tc_binary_strings_with_white_spaces());
// execute(tc_binary_strings_with_white_spaces());
execute(tc_binary_strings_with_invalid_chars());
execute(tc_type_alias_record());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment