Enable building of tdclient test.
GitOrigin-RevId: b6ae56da0bb05bb1309f7c66ea697556244a4384
This commit is contained in:
parent
b15929f141
commit
aea5a2a6f2
@ -9,6 +9,7 @@ set(TD_TEST_SOURCE
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/secret.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/secret.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/secure_storage.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/secure_storage.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/string_cleaning.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.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/data.h
|
${CMAKE_CURRENT_SOURCE_DIR}/data.h
|
||||||
|
@ -136,7 +136,7 @@ static int32 get_default_dc_id() {
|
|||||||
return 10002;
|
return 10002;
|
||||||
}
|
}
|
||||||
|
|
||||||
class Mtproto_ping : public td::Test {
|
class Mtproto_ping : public Test {
|
||||||
public:
|
public:
|
||||||
using Test::Test;
|
using Test::Test;
|
||||||
bool step() final {
|
bool step() final {
|
||||||
@ -269,7 +269,7 @@ class HandshakeTestActor : public Actor {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class Mtproto_handshake : public td::Test {
|
class Mtproto_handshake : public Test {
|
||||||
public:
|
public:
|
||||||
using Test::Test;
|
using Test::Test;
|
||||||
bool step() final {
|
bool step() final {
|
||||||
|
@ -799,7 +799,7 @@ class LoginTestActor : public Actor {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class Tdclient_login : public td::Test {
|
class Tdclient_login : public Test {
|
||||||
public:
|
public:
|
||||||
using Test::Test;
|
using Test::Test;
|
||||||
bool step() final {
|
bool step() final {
|
||||||
@ -828,6 +828,6 @@ class Tdclient_login : public td::Test {
|
|||||||
ConcurrentScheduler sched_;
|
ConcurrentScheduler sched_;
|
||||||
Status result_;
|
Status result_;
|
||||||
};
|
};
|
||||||
//Tdclient_login Tdclient_login("Tdclient_login");
|
//RegisterTest<Tdclient_login> Tdclient_login("Tdclient_login");
|
||||||
|
|
||||||
} // namespace td
|
} // namespace td
|
||||||
|
Loading…
Reference in New Issue
Block a user