Пример #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());
	}