diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-12-31 23:53:28 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-12-31 23:53:28 +0000 |
commit | bf3bdf1468c5264a57b6aac343f8c7d1a50de848 (patch) | |
tree | 661c955b7e81b2f207d0f5ee01f1e389738ff4fe /tests/testifacerepo.cc | |
parent | 3aaef8e61de684af6ced2951ab2391cd104e0d4c (diff) | |
download | arts-bf3bdf1468c5264a57b6aac343f8c7d1a50de848.tar.gz arts-bf3bdf1468c5264a57b6aac343f8c7d1a50de848.zip |
Automated conversion
aRts now compiles with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1210526 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'tests/testifacerepo.cc')
-rw-r--r-- | tests/testifacerepo.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testifacerepo.cc b/tests/testifacerepo.cc index a5c5962..ceb36d3 100644 --- a/tests/testifacerepo.cc +++ b/tests/testifacerepo.cc @@ -52,7 +52,7 @@ struct TestInterfaceRepo : public TestCase testEquals("Arts::AttributeType",def.name); } - bool contains(vector<string>& sequence, const string& element) + bool tqcontains(vector<string>& sequence, const string& element) { vector<string>::iterator it; it = find(sequence.begin(),sequence.end(), element); @@ -61,22 +61,22 @@ struct TestInterfaceRepo : public TestCase TEST(queryInterfaces) { vector<string> *interfaces = interfaceRepo.queryInterfaces(); - testAssert(contains(*interfaces,"Arts::InterfaceRepo")); - testAssert(!contains(*interfaces,"Arts::MethodDef")); + testAssert(tqcontains(*interfaces,"Arts::InterfaceRepo")); + testAssert(!tqcontains(*interfaces,"Arts::MethodDef")); delete interfaces; } TEST(queryTypes) { vector<string> *types = interfaceRepo.queryTypes(); - testAssert(contains(*types,"Arts::MethodDef")); - testAssert(!contains(*types,"Arts::AttributeType")); + testAssert(tqcontains(*types,"Arts::MethodDef")); + testAssert(!tqcontains(*types,"Arts::AttributeType")); delete types; } TEST(queryEnums) { vector<string> *enums = interfaceRepo.queryEnums(); - testAssert(contains(*enums,"Arts::AttributeType")); - testAssert(!contains(*enums,"Arts::InterfaceRepo")); + testAssert(tqcontains(*enums,"Arts::AttributeType")); + testAssert(!tqcontains(*enums,"Arts::InterfaceRepo")); delete enums; } }; |