Enable building of tdclient test.

GitOrigin-RevId: b6ae56da0bb05bb1309f7c66ea697556244a4384
This commit is contained in:
levlam 2018-12-28 03:54:54 +03:00
parent b15929f141
commit aea5a2a6f2
3 changed files with 5 additions and 4 deletions

View File

@ -9,6 +9,7 @@ set(TD_TEST_SOURCE
${CMAKE_CURRENT_SOURCE_DIR}/secret.cpp
${CMAKE_CURRENT_SOURCE_DIR}/secure_storage.cpp
${CMAKE_CURRENT_SOURCE_DIR}/string_cleaning.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tdclient.cpp
${CMAKE_CURRENT_SOURCE_DIR}/data.cpp
${CMAKE_CURRENT_SOURCE_DIR}/data.h

View File

@ -136,7 +136,7 @@ static int32 get_default_dc_id() {
return 10002;
}
class Mtproto_ping : public td::Test {
class Mtproto_ping : public Test {
public:
using Test::Test;
bool step() final {
@ -269,7 +269,7 @@ class HandshakeTestActor : public Actor {
}
};
class Mtproto_handshake : public td::Test {
class Mtproto_handshake : public Test {
public:
using Test::Test;
bool step() final {

View File

@ -799,7 +799,7 @@ class LoginTestActor : public Actor {
}
};
class Tdclient_login : public td::Test {
class Tdclient_login : public Test {
public:
using Test::Test;
bool step() final {
@ -828,6 +828,6 @@ class Tdclient_login : public td::Test {
ConcurrentScheduler sched_;
Status result_;
};
//Tdclient_login Tdclient_login("Tdclient_login");
//RegisterTest<Tdclient_login> Tdclient_login("Tdclient_login");
} // namespace td