diff options
author | Mattes D <github@xoft.cz> | 2016-06-16 17:34:17 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-06-18 13:12:10 +0200 |
commit | ea47247dc72a7ee44f97628e45c5b6867f46bedf (patch) | |
tree | ad1dcecc7cb1a97f4b350a0c0d2d9a64e10f879e /tests/Network | |
parent | SelfTests: Removed the unneeded cSelfTests class. (diff) | |
download | cuberite-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/EnumInterfaces.cpp | 1 | ||||
-rw-r--r-- | tests/Network/Google.cpp | 3 | ||||
-rw-r--r-- | tests/Network/NameLookup.cpp | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/Network/EnumInterfaces.cpp b/tests/Network/EnumInterfaces.cpp index a24158c62..e4c6be219 100644 --- a/tests/Network/EnumInterfaces.cpp +++ b/tests/Network/EnumInterfaces.cpp @@ -15,6 +15,7 @@ int main(int argc, char * argv[]) { // Initialize the cNetwork subsystem: + LOGD("Initializing cNetwork..."); cNetworkSingleton::Get().Initialise(); // Enumerate all the addresses: diff --git a/tests/Network/Google.cpp b/tests/Network/Google.cpp index 23017d23b..4332828d6 100644 --- a/tests/Network/Google.cpp +++ b/tests/Network/Google.cpp @@ -118,7 +118,10 @@ static void DoTest(void) int main() { + LOGD("Initializing cNetwork...\n"); cNetworkSingleton::Get().Initialise(); + + LOGD("Testing..."); DoTest(); cNetworkSingleton::Get().Terminate(); 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; |