Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: mojo/public/tests/utility/thread_local_unittest.cc

Issue 134823005: Mojo: re-organize public tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/tests/utility/run_loop_unittest.cc ('k') | mojo/public/utility/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/threading/thread_local.h" 5 #include "base/threading/thread_local.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/synchronization/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
9 #include "base/threading/simple_thread.h" 9 #include "base/threading/simple_thread.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 } 161 }
162 162
163 // Our slot should have been freed, we're all reset. 163 // Our slot should have been freed, we're all reset.
164 { 164 {
165 base::ThreadLocalBoolean tlb; 165 base::ThreadLocalBoolean tlb;
166 EXPECT_FALSE(tlb.Get()); 166 EXPECT_FALSE(tlb.Get());
167 } 167 }
168 } 168 }
169 169
170 } // namespace base 170 } // namespace base
OLDNEW
« no previous file with comments | « mojo/public/tests/utility/run_loop_unittest.cc ('k') | mojo/public/utility/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698