summaryrefslogtreecommitdiffstats
path: root/tdeio/tests/dataprotocoltest.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-30 13:50:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-30 13:50:27 -0600
commit21bc7541114fb026606284e45dc10e3320f39f1d (patch)
tree1c2006752ae09dda7ed8a635d7a4dfa8eacea0cb /tdeio/tests/dataprotocoltest.cpp
parent120efd17d0cec4846e7151633a451d54fa714241 (diff)
downloadtdelibs-21bc7541114fb026606284e45dc10e3320f39f1d.tar.gz
tdelibs-21bc7541114fb026606284e45dc10e3320f39f1d.zip
Fix a few remaining references to kio_
Diffstat (limited to 'tdeio/tests/dataprotocoltest.cpp')
-rw-r--r--tdeio/tests/dataprotocoltest.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeio/tests/dataprotocoltest.cpp b/tdeio/tests/dataprotocoltest.cpp
index e236a2d7c..e9af8574d 100644
--- a/tdeio/tests/dataprotocoltest.cpp
+++ b/tdeio/tests/dataprotocoltest.cpp
@@ -250,12 +250,12 @@ const TQChar * const charset_urls[] = {
#endif
int main(int /*argc*/,char* /*argv*/[]) {
- DataProtocol kio_data;
+ DataProtocol tdeio_data;
- kio_data.initTestrun();
+ tdeio_data.initTestrun();
for (uint i = 0; i < sizeof testcases/sizeof testcases[0]; i++) {
- kio_data.beginTestcase(testcases[i].name);
- kio_data.setExpectedMimeType(testcases[i].exp_mime_type != 0
+ tdeio_data.beginTestcase(testcases[i].name);
+ tdeio_data.setExpectedMimeType(testcases[i].exp_mime_type != 0
? testcases[i].exp_mime_type : "text/plain");
bool has_charset = false;
@@ -268,20 +268,20 @@ int main(int /*argc*/,char* /*argv*/[]) {
}/*next j*/
}
if (!has_charset) exp_attrs["charset"] = "us-ascii";
- kio_data.setExpectedAttributes(exp_attrs);
+ tdeio_data.setExpectedAttributes(exp_attrs);
TQByteArray exp_content;
uint exp_content_len = strlen(testcases[i].exp_content);
exp_content.setRawData(testcases[i].exp_content,exp_content_len);
- kio_data.setExpectedContent(exp_content);
+ tdeio_data.setExpectedContent(exp_content);
- kio_data.get(testcases[i].url);
+ tdeio_data.get(testcases[i].url);
- kio_data.endTestcase();
+ tdeio_data.endTestcase();
exp_content.resetRawData(testcases[i].exp_content,exp_content_len);
}/*next i*/
- kio_data.endTestrun();
+ tdeio_data.endTestrun();
- return kio_data.hasFailedTestcases() ? 1 : 0;
+ return tdeio_data.hasFailedTestcases() ? 1 : 0;
}