summaryrefslogtreecommitdiffstats
path: root/tests/Network/NameLookup.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-06-16 17:34:17 +0200
committerMattes D <github@xoft.cz>2016-06-18 13:12:10 +0200
commitea47247dc72a7ee44f97628e45c5b6867f46bedf (patch)
treead1dcecc7cb1a97f4b350a0c0d2d9a64e10f879e /tests/Network/NameLookup.cpp
parentSelfTests: Removed the unneeded cSelfTests class. (diff)
downloadcuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.tar
cuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.tar.gz
cuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.tar.bz2
cuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.tar.lz
cuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.tar.xz
cuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.tar.zst
cuberite-ea47247dc72a7ee44f97628e45c5b6867f46bedf.zip
Diffstat (limited to '')
-rw-r--r--tests/Network/NameLookup.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Network/NameLookup.cpp b/tests/Network/NameLookup.cpp
index 4781a59ec..2904a0199 100644
--- a/tests/Network/NameLookup.cpp
+++ b/tests/Network/NameLookup.cpp
@@ -79,7 +79,12 @@ static void DoTest(void)
int main()
{
+ LOGD("Initializing cNetwork...");
+ cNetworkSingleton::Get().Initialise();
+
+ LOGD("Running test...");
DoTest();
+
cNetworkSingleton::Get().Terminate();
LOGD("Network test finished");
return 0;