예제 #1
0
	void operator()()
	{
		EXPECT_FALSE(tls->HasValue());
		tls->SetValue(autonew String("thread"));
		EXPECT_TRUE(tls->HasValue());
		EXPECT_EQ("thread", *tls->GetValue());
	}
예제 #2
0
	void operator()()
	{
		EXPECT_FALSE(tls->HasValue());
		tls->SetValue("thread");
		EXPECT_TRUE(tls->HasValue());
		EXPECT_EQ("thread", tls->GetValue());
	}