| Index: mojo/dart/embedder/test/dart_finalizer_test.cc
|
| diff --git a/mojo/dart/embedder/test/dart_finalizer_test.cc b/mojo/dart/embedder/test/dart_finalizer_test.cc
|
| deleted file mode 100644
|
| index 2c987f8071531a8b77011b06f94de5d99d1fec3c..0000000000000000000000000000000000000000
|
| --- a/mojo/dart/embedder/test/dart_finalizer_test.cc
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "base/bind.h"
|
| -#include "base/files/file_path.h"
|
| -#include "base/path_service.h"
|
| -#include "mojo/dart/embedder/dart_controller.h"
|
| -#include "mojo/dart/embedder/test/dart_test.h"
|
| -#include "mojo/public/c/system/types.h"
|
| -#include "mojo/public/cpp/environment/environment.h"
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| -
|
| -namespace mojo {
|
| -namespace dart {
|
| -namespace {
|
| -
|
| -class DartFinalizerTest : public DartTest {
|
| - public:
|
| - DartFinalizerTest() {}
|
| -
|
| - static void SetUpTestCase() {
|
| - const int kNumArgs = 2;
|
| - const char* args[kNumArgs];
|
| - args[0] = "--new-gen-semi-max-size=1";
|
| - args[1] = "--old_gen_growth_rate=1";
|
| - DartController::Initialize(nullptr, true, false, args, kNumArgs);
|
| - }
|
| -
|
| - void RunTest(const std::string& test) {
|
| - base::FilePath path;
|
| - PathService::Get(base::DIR_SOURCE_ROOT, &path);
|
| - path = path.AppendASCII("mojo")
|
| - .AppendASCII("dart")
|
| - .AppendASCII("test")
|
| - .AppendASCII(test);
|
| - std::vector<std::string> script_arguments;
|
| -
|
| - RunDartTest(path, script_arguments, false, false, 0);
|
| - }
|
| -};
|
| -
|
| -TEST_F(DartFinalizerTest, handle_finalizer_test) {
|
| - RunTest("handle_finalizer_test.dart");
|
| -}
|
| -
|
| -TEST_F(DartFinalizerTest, shared_buffer_finalizer_test) {
|
| - RunTest("shared_buffer_finalizer_test.dart");
|
| -}
|
| -
|
| -} // namespace
|
| -} // namespace dart
|
| -} // namespace mojo
|
|
|