diff options
Diffstat (limited to 'lilo-config/common/tests/String.cc')
-rw-r--r-- | lilo-config/common/tests/String.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lilo-config/common/tests/String.cc b/lilo-config/common/tests/String.cc index 7b0b60e..cfd9744 100644 --- a/lilo-config/common/tests/String.cc +++ b/lilo-config/common/tests/String.cc @@ -54,20 +54,20 @@ int main(int argc, char **argv) cerr << "regex() seems to be broken." << endl; bugs++; } - if(!s.contains("Red Hat")) { - cerr << "contains() seems to be broken." << endl; + if(!s.tqcontains("Red Hat")) { + cerr << "tqcontains() seems to be broken." << endl; bugs++; } - if(t.replace("Microsoft", "Windows", false) != "Windows sucks! Destroy Microsoft! Microsoft must die!") { - cerr << "replace() [once] seems to be broken." << endl; + if(t.tqreplace("Microsoft", "Windows", false) != "Windows sucks! Destroy Microsoft! Microsoft must die!") { + cerr << "tqreplace() [once] seems to be broken." << endl; bugs++; } - if(t.replace("Microsoft", "Windows") != "Windows sucks! Destroy Windows! Windows must die!") { - cerr << "replace() [all] seems to be broken." << endl; + if(t.tqreplace("Microsoft", "Windows") != "Windows sucks! Destroy Windows! Windows must die!") { + cerr << "tqreplace() [all] seems to be broken." << endl; bugs++; } - if(u.replace("Microsoft", "Windows") != "Windows sucks!") { - cerr << "replace() [all, test case 2] seems to be broken." << endl; + if(u.tqreplace("Microsoft", "Windows") != "Windows sucks!") { + cerr << "tqreplace() [all, test case 2] seems to be broken." << endl; bugs++; } |