Refine utest for tcp connection.
This commit is contained in:
parent
5d8fb01b45
commit
9366161871
|
|
@ -307,8 +307,6 @@ VOID TEST(AppCoroutineTest, StartThread)
|
|||
srs_freep(err);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
VOID TEST(AppFragmentTest, CheckDuration)
|
||||
{
|
||||
if (true) {
|
||||
|
|
@ -377,9 +375,5 @@ VOID TEST(AppFragmentTest, CheckDuration)
|
|||
}
|
||||
}
|
||||
|
||||
#define MOCK_LISTEN_PORT 11935
|
||||
|
||||
VOID TEST(TCPServerTest, PingPong)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -39,4 +39,10 @@ VOID TEST(ServiceTimeTest, TimeUnit)
|
|||
EXPECT_EQ(3600*1000*1000LL, SRS_UTIME_HOURS);
|
||||
}
|
||||
|
||||
#define MOCK_LISTEN_PORT 11935
|
||||
|
||||
VOID TEST(TCPServerTest, PingPong)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user