Re-enable allmost all base tests.
BUG=3836 R=marpan@google.com Review URL: https://webrtc-codereview.appspot.com/22989004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7416 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -199,7 +199,7 @@ TEST(ThreadTest, DISABLED_Main) {
|
||||
|
||||
// Test that setting thread names doesn't cause a malfunction.
|
||||
// There's no easy way to verify the name was set properly at this time.
|
||||
TEST(ThreadTest, DISABLED_ON_MAC(Names)) {
|
||||
TEST(ThreadTest, Names) {
|
||||
// Default name
|
||||
Thread *thread;
|
||||
thread = new Thread();
|
||||
@ -222,7 +222,7 @@ TEST(ThreadTest, DISABLED_ON_MAC(Names)) {
|
||||
|
||||
// Test that setting thread priorities doesn't cause a malfunction.
|
||||
// There's no easy way to verify the priority was set properly at this time.
|
||||
TEST(ThreadTest, DISABLED_ON_MAC(Priorities)) {
|
||||
TEST(ThreadTest, Priorities) {
|
||||
Thread *thread;
|
||||
thread = new Thread();
|
||||
EXPECT_TRUE(thread->SetPriority(PRIORITY_HIGH));
|
||||
@ -260,7 +260,7 @@ TEST(ThreadTest, Wrap) {
|
||||
current_thread->WrapCurrent();
|
||||
}
|
||||
|
||||
TEST(ThreadTest, DISABLED_ON_MAC(Invoke)) {
|
||||
TEST(ThreadTest, Invoke) {
|
||||
// Create and start the thread.
|
||||
Thread thread;
|
||||
thread.Start();
|
||||
@ -391,7 +391,7 @@ TEST_F(AsyncInvokeTest, FireAndForget) {
|
||||
EXPECT_TRUE_WAIT(called, kWaitTimeout);
|
||||
}
|
||||
|
||||
TEST_F(AsyncInvokeTest, DISABLED_WithCallback) {
|
||||
TEST_F(AsyncInvokeTest, WithCallback) {
|
||||
AsyncInvoker invoker;
|
||||
// Create and start the thread.
|
||||
Thread thread;
|
||||
@ -404,7 +404,7 @@ TEST_F(AsyncInvokeTest, DISABLED_WithCallback) {
|
||||
EXPECT_EQ_WAIT(42, int_value_, kWaitTimeout);
|
||||
}
|
||||
|
||||
TEST_F(AsyncInvokeTest, DISABLED_CancelInvoker) {
|
||||
TEST_F(AsyncInvokeTest, CancelInvoker) {
|
||||
// Create and start the thread.
|
||||
Thread thread;
|
||||
thread.Start();
|
||||
@ -420,7 +420,7 @@ TEST_F(AsyncInvokeTest, DISABLED_CancelInvoker) {
|
||||
EXPECT_EQ(0, int_value_);
|
||||
}
|
||||
|
||||
TEST_F(AsyncInvokeTest, DISABLED_CancelCallingThread) {
|
||||
TEST_F(AsyncInvokeTest, CancelCallingThread) {
|
||||
AsyncInvoker invoker;
|
||||
{ // Create and start the thread.
|
||||
Thread thread;
|
||||
@ -437,7 +437,7 @@ TEST_F(AsyncInvokeTest, DISABLED_CancelCallingThread) {
|
||||
EXPECT_EQ(0, int_value_);
|
||||
}
|
||||
|
||||
TEST_F(AsyncInvokeTest, DISABLED_KillInvokerBeforeExecute) {
|
||||
TEST_F(AsyncInvokeTest, KillInvokerBeforeExecute) {
|
||||
Thread thread;
|
||||
thread.Start();
|
||||
{
|
||||
@ -454,7 +454,7 @@ TEST_F(AsyncInvokeTest, DISABLED_KillInvokerBeforeExecute) {
|
||||
EXPECT_EQ(0, int_value_);
|
||||
}
|
||||
|
||||
TEST_F(AsyncInvokeTest, DISABLED_Flush) {
|
||||
TEST_F(AsyncInvokeTest, Flush) {
|
||||
AsyncInvoker invoker;
|
||||
bool flag1 = false;
|
||||
bool flag2 = false;
|
||||
@ -472,7 +472,7 @@ TEST_F(AsyncInvokeTest, DISABLED_Flush) {
|
||||
EXPECT_TRUE(flag2);
|
||||
}
|
||||
|
||||
TEST_F(AsyncInvokeTest, DISABLED_FlushWithIds) {
|
||||
TEST_F(AsyncInvokeTest, FlushWithIds) {
|
||||
AsyncInvoker invoker;
|
||||
bool flag1 = false;
|
||||
bool flag2 = false;
|
||||
|
||||
Reference in New Issue
Block a user