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

Unified Diff: mojo/dart/embedder/test/dart_finalizer_test.cc

Issue 1545483003: Dart: Reorganize files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix build file Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/dart/embedder/test/BUILD.gn ('k') | mojo/dart/embedder/test/dart_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « mojo/dart/embedder/test/BUILD.gn ('k') | mojo/dart/embedder/test/dart_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698