diff --git a/compiler2/record.c b/compiler2/record.c index 689582b4d3242be6e683d67712e066933de5ffc9..5bae3e48c06cab33b80c3aa3ca3ee1c5e15fed4e 100644 --- a/compiler2/record.c +++ b/compiler2/record.c @@ -5304,7 +5304,7 @@ void defRecordTemplate1(const struct_def *sdef, output_struct *output) src = mputprintf(src, "%s %s_template::valueof() const\n" "{\n" "if (template_selection != SPECIFIC_VALUE || is_ifpresent)\n" - "TTCN_error(\"Performing valueof or send operation on a non-specific " + "TTCN_error(\"Performing a valueof or send operation on a non-specific " "template of type %s.\");\n" "%s ret_val;\n", name, name, dispname, name); for (i = 0; i < sdef->nElements; i++) { diff --git a/compiler2/union.c b/compiler2/union.c index f3342ae541a5e2d33af7e9a99851bafa6e08215e..a2e84dbb6c1a98040e7a5dfd182a482352bb3d56 100644 --- a/compiler2/union.c +++ b/compiler2/union.c @@ -2591,7 +2591,7 @@ void defUnionTemplate(const struct_def *sdef, output_struct *output) src = mputprintf(src, "%s %s_template::valueof() const\n" "{\n" "if (template_selection != SPECIFIC_VALUE || is_ifpresent)\n" - "TTCN_error(\"Performing valueof or send operation on a non-specific " + "TTCN_error(\"Performing a valueof or send operation on a non-specific " "template of union type %s.\");\n" "%s ret_val;\n" "switch (single_value.union_selection) {\n", name, name, dispname, name); diff --git a/core/ASN_CharacterString.cc b/core/ASN_CharacterString.cc index 86b989b7752fd9a077e205ec9b6c2d47de74c3ba..43c7cded4bc833788fb8375e17d4d2b2c1fd91d0 100644 --- a/core/ASN_CharacterString.cc +++ b/core/ASN_CharacterString.cc @@ -1122,7 +1122,7 @@ boolean CHARACTER_STRING_identification_template::match(const CHARACTER_STRING_i CHARACTER_STRING_identification CHARACTER_STRING_identification_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of union type CHARACTER STRING.identification."); + TTCN_error("Performing a valueof or send operation on a non-specific template of union type CHARACTER STRING.identification."); CHARACTER_STRING_identification ret_val; switch (single_value.union_selection) { case CHARACTER_STRING_identification::ALT_syntaxes: @@ -2112,7 +2112,7 @@ boolean CHARACTER_STRING_identification_syntaxes_template::match(const CHARACTER CHARACTER_STRING_identification_syntaxes CHARACTER_STRING_identification_syntaxes_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type CHARACTER STRING.identification.syntaxes."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type CHARACTER STRING.identification.syntaxes."); CHARACTER_STRING_identification_syntaxes ret_val; ret_val.abstract() = single_value->field_abstract.valueof(); ret_val.transfer() = single_value->field_transfer.valueof(); @@ -2845,7 +2845,7 @@ boolean CHARACTER_STRING_identification_context__negotiation_template::match(con CHARACTER_STRING_identification_context__negotiation CHARACTER_STRING_identification_context__negotiation_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type CHARACTER STRING.identification.context-negotiation."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type CHARACTER STRING.identification.context-negotiation."); CHARACTER_STRING_identification_context__negotiation ret_val; ret_val.presentation__context__id() = single_value->field_presentation__context__id.valueof(); ret_val.transfer__syntax() = single_value->field_transfer__syntax.valueof(); @@ -3730,7 +3730,7 @@ boolean CHARACTER_STRING_template::match(const CHARACTER_STRING& other_value, CHARACTER_STRING CHARACTER_STRING_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type CHARACTER STRING."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type CHARACTER STRING."); CHARACTER_STRING ret_val; ret_val.identification() = single_value->field_identification.valueof(); if (single_value->field_data__value__descriptor.is_omit()) ret_val.data__value__descriptor() = OMIT_VALUE; diff --git a/core/ASN_EmbeddedPDV.cc b/core/ASN_EmbeddedPDV.cc index 33695173a85693f4af8deac28b4038b9b6da8ae1..a8eeed28b925f51c51af03330579de09a269dd87 100644 --- a/core/ASN_EmbeddedPDV.cc +++ b/core/ASN_EmbeddedPDV.cc @@ -1118,7 +1118,7 @@ boolean EMBEDDED_PDV_identification_template::match(const EMBEDDED_PDV_identific EMBEDDED_PDV_identification EMBEDDED_PDV_identification_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of union type EMBEDDED PDV.identification."); + TTCN_error("Performing a valueof or send operation on a non-specific template of union type EMBEDDED PDV.identification."); EMBEDDED_PDV_identification ret_val; switch (single_value.union_selection) { case EMBEDDED_PDV_identification::ALT_syntaxes: @@ -2116,7 +2116,7 @@ boolean EMBEDDED_PDV_identification_syntaxes_template::match(const EMBEDDED_PDV_ EMBEDDED_PDV_identification_syntaxes EMBEDDED_PDV_identification_syntaxes_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type EMBEDDED PDV.identification.syntaxes."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type EMBEDDED PDV.identification.syntaxes."); EMBEDDED_PDV_identification_syntaxes ret_val; ret_val.abstract() = single_value->field_abstract.valueof(); ret_val.transfer() = single_value->field_transfer.valueof(); @@ -2857,7 +2857,7 @@ boolean EMBEDDED_PDV_identification_context__negotiation_template::match(const E EMBEDDED_PDV_identification_context__negotiation EMBEDDED_PDV_identification_context__negotiation_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type EMBEDDED PDV.identification.context-negotiation."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type EMBEDDED PDV.identification.context-negotiation."); EMBEDDED_PDV_identification_context__negotiation ret_val; ret_val.presentation__context__id() = single_value->field_presentation__context__id.valueof(); ret_val.transfer__syntax() = single_value->field_transfer__syntax.valueof(); @@ -3747,7 +3747,7 @@ boolean EMBEDDED_PDV_template::match(const EMBEDDED_PDV& other_value, EMBEDDED_PDV EMBEDDED_PDV_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type EMBEDDED PDV."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type EMBEDDED PDV."); EMBEDDED_PDV ret_val; ret_val.identification() = single_value->field_identification.valueof(); if (single_value->field_data__value__descriptor.is_omit()) ret_val.data__value__descriptor() = OMIT_VALUE; diff --git a/core/ASN_External.cc b/core/ASN_External.cc index 9eacbc8e43ffc1295808da6d03cfe67f65a88c0c..c984ea8665e73d74502459b5eb8590f7b01f4574 100644 --- a/core/ASN_External.cc +++ b/core/ASN_External.cc @@ -1513,7 +1513,7 @@ boolean EXTERNAL_identification_template::match(const EXTERNAL_identification& o EXTERNAL_identification EXTERNAL_identification_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of union type EXTERNAL.identification."); + TTCN_error("Performing a valueof or send operation on a non-specific template of union type EXTERNAL.identification."); EXTERNAL_identification ret_val; switch (single_value.union_selection) { case EXTERNAL_identification::ALT_syntaxes: @@ -2418,7 +2418,7 @@ boolean EXTERNAL_identification_syntaxes_template::match(const EXTERNAL_identifi EXTERNAL_identification_syntaxes EXTERNAL_identification_syntaxes_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type EXTERNAL.identification.syntaxes."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type EXTERNAL.identification.syntaxes."); EXTERNAL_identification_syntaxes ret_val; ret_val.abstract() = single_value->field_abstract.valueof(); ret_val.transfer() = single_value->field_transfer.valueof(); @@ -3064,7 +3064,7 @@ boolean EXTERNAL_identification_context__negotiation_template::match(const EXTER EXTERNAL_identification_context__negotiation EXTERNAL_identification_context__negotiation_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type EXTERNAL.identification.context-negotiation."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type EXTERNAL.identification.context-negotiation."); EXTERNAL_identification_context__negotiation ret_val; ret_val.presentation__context__id() = single_value->field_presentation__context__id.valueof(); ret_val.transfer__syntax() = single_value->field_transfer__syntax.valueof(); @@ -3836,7 +3836,7 @@ boolean EXTERNAL_template::match(const EXTERNAL& other_value, EXTERNAL EXTERNAL_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific template of type EXTERNAL."); + TTCN_error("Performing a valueof or send operation on a non-specific template of type EXTERNAL."); EXTERNAL ret_val; ret_val.identification() = single_value->field_identification.valueof(); if (single_value->field_data__value__descriptor.is_omit()) ret_val.data__value__descriptor() = OMIT_VALUE; diff --git a/core/Charstring.cc b/core/Charstring.cc index f72ce5d72bf57209d89a0f34db74187e7b544300..486622542e4c3a35de66f679ba8a64e195ca0bcb 100644 --- a/core/Charstring.cc +++ b/core/Charstring.cc @@ -2333,7 +2333,7 @@ boolean CHARSTRING_template::match(const CHARSTRING& other_value, const CHARSTRING& CHARSTRING_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific " + TTCN_error("Performing a valueof or send operation on a non-specific " "charstring template."); return single_value; } diff --git a/core/Universal_charstring.cc b/core/Universal_charstring.cc index dd5b5f2c463094c6b6484010d78f1219fb177e36..6a5514b026cadbe132be8f116af5e21f4d793f09 100644 --- a/core/Universal_charstring.cc +++ b/core/Universal_charstring.cc @@ -4155,7 +4155,7 @@ boolean UNIVERSAL_CHARSTRING_template::match const UNIVERSAL_CHARSTRING& UNIVERSAL_CHARSTRING_template::valueof() const { if (template_selection != SPECIFIC_VALUE || is_ifpresent) - TTCN_error("Performing valueof or send operation on a non-specific " + TTCN_error("Performing a valueof or send operation on a non-specific " "universal charstring template."); return single_value; } diff --git a/function_test/XER_EncDec/XER_EncDec_TD.script b/function_test/XER_EncDec/XER_EncDec_TD.script index 4e5a7e3c6383da808bc337b814cf78dbd8e250e5..e15a681d7b2b65c33479413adfbad68afb857ef5 100644 --- a/function_test/XER_EncDec/XER_EncDec_TD.script +++ b/function_test/XER_EncDec/XER_EncDec_TD.script @@ -1455,7 +1455,7 @@ control { <RESULT> -Dynamic test case error: Performing valueof or send operation on a non-specific template of type @Temp.MyType +Dynamic test case error: Performing a valueof or send operation on a non-specific template of type @Temp.MyType <END_TC> diff --git a/regression_test/tryCatch/tryCatch_Testcases.ttcn b/regression_test/tryCatch/tryCatch_Testcases.ttcn index c7ffd26c0f147a0514ccfbc84ccdea8efde143dc..5acb9fb12ca2129887abf0f65ac37cbc436061dc 100644 --- a/regression_test/tryCatch/tryCatch_Testcases.ttcn +++ b/regression_test/tryCatch/tryCatch_Testcases.ttcn @@ -162,7 +162,7 @@ function f_behavior_sending(in template charstring pl_msg) runs on MyComp { } else { log("Catched error msg:", e); if( isvalue(pl_msg) ) { setverdict(fail, "exception for sending real value");} - f_setverdict_str(e, pattern "*Performing valueof or send operation on a non-specific charstring template."); + f_setverdict_str(e, pattern "*Performing a valueof or send operation on a non-specific charstring template."); @try { PCO.send("Default msg"); } @@ -177,7 +177,7 @@ function f_behavior_sending(in template charstring pl_msg) runs on MyComp { } @catch(e) { log("Catched DTE:",e); - f_setverdict_str(e, pattern "*Performing valueof or send operation on a non-specific charstring template."); + f_setverdict_str(e, pattern "*Performing a valueof or send operation on a non-specific charstring template."); if(isvalue(pl_msg) ) { setverdict(fail, "exception for valueof(real value template)"); @@ -269,7 +269,7 @@ function f_valueof(in template charstring pl_msg) runs on MyComp { } @catch(e) { log("Catched DTE:", e); - f_setverdict_str(e, pattern "*Performing valueof or send operation on a non-specific charstring template."); + f_setverdict_str(e, pattern "*Performing a valueof or send operation on a non-specific charstring template."); if(isvalue(pl_msg) ) { setverdict(fail, "exception for valueof of real value template");