mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine utest for tcp connection.
This commit is contained in:
parent
5d8fb01b45
commit
9366161871
2 changed files with 7 additions and 7 deletions
|
@ -307,8 +307,6 @@ VOID TEST(AppCoroutineTest, StartThread)
|
||||||
srs_freep(err);
|
srs_freep(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
VOID TEST(AppFragmentTest, CheckDuration)
|
VOID TEST(AppFragmentTest, CheckDuration)
|
||||||
{
|
{
|
||||||
if (true) {
|
if (true) {
|
||||||
|
@ -377,9 +375,5 @@ VOID TEST(AppFragmentTest, CheckDuration)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MOCK_LISTEN_PORT 11935
|
#endif
|
||||||
|
|
||||||
VOID TEST(TCPServerTest, PingPong)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,10 @@ VOID TEST(ServiceTimeTest, TimeUnit)
|
||||||
EXPECT_EQ(3600*1000*1000LL, SRS_UTIME_HOURS);
|
EXPECT_EQ(3600*1000*1000LL, SRS_UTIME_HOURS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define MOCK_LISTEN_PORT 11935
|
||||||
|
|
||||||
|
VOID TEST(TCPServerTest, PingPong)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue