1 2 3 4 5 6 7 8 9 | METHOD Test_ReplaceIllegalCharsWithUnderscore VAR In : WSTRING := "ASDFGHJKLQWERTY/+#UIOPZXCVBNM<M>"; Actual : WSTRING; Expected : WSTRING := "ASDFGHJKLQWERTY___UIOPZXCVBNM<M>"; CfUnit.TEST( 'Test_ReplaceIllegalCharsWithUnderscore' ); Message := 'Replacing Illegal Chars With an Underscore failed' ); CfUnit.TEST_FINISHED(); |