void operator()() { EXPECT_FALSE(tls->HasValue()); tls->SetValue(autonew String("thread")); EXPECT_TRUE(tls->HasValue()); EXPECT_EQ("thread", *tls->GetValue()); }
void operator()() { EXPECT_FALSE(tls->HasValue()); tls->SetValue("thread"); EXPECT_TRUE(tls->HasValue()); EXPECT_EQ("thread", tls->GetValue()); }