mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Log: Change cid from int to string
This commit is contained in:
parent
bca4ec1da1
commit
8a0c2e01f8
42 changed files with 301 additions and 307 deletions
|
@ -4099,16 +4099,16 @@ VOID TEST(KernelLogTest, CoverAll)
|
|||
HELPER_EXPECT_SUCCESS(l.initialize());
|
||||
|
||||
l.reopen();
|
||||
l.verbose("TAG", 0, "log");
|
||||
l.info("TAG", 0, "log");
|
||||
l.trace("TAG", 0, "log");
|
||||
l.warn("TAG", 0, "log");
|
||||
l.error("TAG", 0, "log");
|
||||
l.verbose("TAG", "0", "log");
|
||||
l.info("TAG", "0", "log");
|
||||
l.trace("TAG", "0", "log");
|
||||
l.warn("TAG", "0", "log");
|
||||
l.error("TAG", "0", "log");
|
||||
|
||||
ISrsThreadContext ctx;
|
||||
ctx.set_id(10);
|
||||
EXPECT_EQ(0, ctx.get_id());
|
||||
EXPECT_EQ(0, ctx.generate_id());
|
||||
EXPECT_EQ("0", ctx.get_id());
|
||||
EXPECT_EQ("0", ctx.generate_id());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue