| Index: runtime/bin/thread_pool_test.cc
|
| diff --git a/runtime/bin/thread_pool_test.cc b/runtime/bin/thread_pool_test.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..640807ab20fa42f43d8282791bf1bf81af708a21
|
| --- /dev/null
|
| +++ b/runtime/bin/thread_pool_test.cc
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +#include "bin/thread_pool.h"
|
| +
|
| +// TODO(sgjesse): Get rid of these #undefs
|
| +#undef FATAL
|
| +#undef ASSERT
|
| +#include "vm/assert.h"
|
| +#include "bin/globals.h"
|
| +#include "vm/unit_test.h"
|
| +
|
| +
|
| +UNIT_TEST_CASE(StartThreadPool) {
|
| + ThreadPool thread_pool(NULL, 10);
|
| + thread_pool.Start();
|
| +}
|
|
|