public bool runTest()
{
Console.WriteLine(s_strTFPath + " " + s_strTFName + " , for " + s_strClassMethod + " , Source ver " + s_strDtTmVer);
int iCountErrors = 0;
int iCountTestcases = 0;
String strLoc = "Loc_000oo";
String strValue = String.Empty;
try
{
String str1 = String.Empty, str2 = String.Empty, str3 = String.Empty;
String str = null;
strLoc = "Loc_498hv";
iCountTestcases++;
str = String.Concat (str1, str2);
if(!str.Equals (String.Empty))
{
iCountErrors++;
printerr( "Error_498ch! incorrect string returned for null argument=="+str);
}
strLoc = "Loc_982hc.2";
iCountTestcases++;
try {
str = String.Concat (null, str2);
if(!str.Equals (String.Empty))
{
iCountErrors++;
printerr( "Error_687ch.2! incorrect string returned for null argument=="+str);
}
}
catch (ArgumentException aexc) {
iCountErrors++;
printerr( "Error_498ch.2! Unexpcted! " + aexc);
}
strLoc = "Loc_982hc.3";
iCountTestcases++;
try {
str = String.Concat (str1, null);
if(!str.Equals (String.Empty))
{
iCountErrors++;
printerr( "Error_687ch.3! incorrect string returned for null argument=="+str);
}
}
catch (ArgumentException aexc) {
iCountErrors++;
printerr( "Error_498ch.3! Unexpcted! " + aexc);
}
strLoc = "Loc_982hc.4";
iCountTestcases++;
try {
str = String.Concat (null, null);
if(str != String.Empty)
{
iCountErrors++;
printerr( "Error_687ch.4! incorrect string returned for null argument=="+str);
Console.WriteLine (str == String.Empty);
}
}
catch (ArgumentException aexc) {
iCountErrors++;
printerr( "Error_498ch.4! Unexpcted! " + aexc);
}
strLoc = "Loc_498hv";
iCountTestcases++;
str1 = "abc";
str2 = "123";
str = String.Concat (str1, str2);
if(!str.Equals ("abc123"))
{
iCountErrors++;
printerr( "Error_498ch! incorrect string returned for null argument=="+str);
}
IntlStrings intl = new IntlStrings();
str1 = intl.GetString(5, true, true);
str2 = intl.GetString(4, true, true);
str3 = intl.GetString(9, true, true);
String testString = String.Concat(str1, str2, null);
str = String.Concat (str1, str2);
if(! str.Equals(testString)) {
++iCountErrors;
}
} catch (Exception exc_general ) {
++iCountErrors;
Console.WriteLine (s_strTFAbbrev + " : Error Err_8888yyy! strLoc=="+ strLoc +", exc_general=="+exc_general.ToString());
}
if ( iCountErrors == 0 ) { return true; }
else { return false;}
}
public void printerr ( String err )