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

Side by Side Diff: test/unittests/libplatform/worker-thread-unittest.cc

Issue 615393002: Move unit tests to test/unittests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 2 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 | « test/unittests/libplatform/task-queue-unittest.cc ('k') | test/unittests/run-all-unittests.cc » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project 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 "include/v8-platform.h" 5 #include "include/v8-platform.h"
6 #include "src/libplatform/task-queue.h" 6 #include "src/libplatform/task-queue.h"
7 #include "src/libplatform/worker-thread.h" 7 #include "src/libplatform/worker-thread.h"
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 9
10 using testing::InSequence; 10 using testing::InSequence;
(...skipping 28 matching lines...) Expand all
39 39
40 WorkerThread thread1(&queue); 40 WorkerThread thread1(&queue);
41 WorkerThread thread2(&queue); 41 WorkerThread thread2(&queue);
42 42
43 // TaskQueue DCHECKS that it's empty in its destructor. 43 // TaskQueue DCHECKS that it's empty in its destructor.
44 queue.Terminate(); 44 queue.Terminate();
45 } 45 }
46 46
47 } // namespace platform 47 } // namespace platform
48 } // namespace v8 48 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/libplatform/task-queue-unittest.cc ('k') | test/unittests/run-all-unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698