aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/icutest.cpp2
-rw-r--r--tests/mgrtest.cpp1
-rw-r--r--tests/tlitmgrtest.cpp2
-rw-r--r--tests/translittest.cpp2
4 files changed, 6 insertions, 1 deletions
diff --git a/tests/icutest.cpp b/tests/icutest.cpp
index fa3cf3d..e8f3bfd 100644
--- a/tests/icutest.cpp
+++ b/tests/icutest.cpp
@@ -8,6 +8,8 @@
#include "unicode/translit.h"
+using namespace std;
+
int main() {
UChar * uBuf;
diff --git a/tests/mgrtest.cpp b/tests/mgrtest.cpp
index d02b26e..9edeea9 100644
--- a/tests/mgrtest.cpp
+++ b/tests/mgrtest.cpp
@@ -29,6 +29,5 @@ int main(int argc, char **argv) {
for (mhc->Key("Gen 1:1"); mhc->Key() < (VerseKey) "Gen 1:10"; (*mhc)++)
std::cout << (const char *) *mhc << "\n";
}
- std::cin >> keypress;
return 0;
}
diff --git a/tests/tlitmgrtest.cpp b/tests/tlitmgrtest.cpp
index 9725501..fbdf519 100644
--- a/tests/tlitmgrtest.cpp
+++ b/tests/tlitmgrtest.cpp
@@ -261,6 +261,8 @@ static const char SW_RESDATA[] = "/usr/local/lib/sword/";
#include <map>
+using namespace std;
+
struct SWTransData {
UnicodeString resource;
UTransDirection dir;
diff --git a/tests/translittest.cpp b/tests/translittest.cpp
index 1b2bddf..074bf9c 100644
--- a/tests/translittest.cpp
+++ b/tests/translittest.cpp
@@ -12,6 +12,8 @@
#include "utf8transliterator.h"
+using namespace std;
+
// Print the given string to stdout
void uprintf(const UnicodeString &str) {
char *buf = 0;