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

Unified Diff: test/cctest/cctest.cc

Issue 1753803003: [test] Remove dependent commands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Format Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/cctest.h ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/cctest.cc
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc
index 05f276d3f4a178b930e9d75b8de3c26da060719d..58a5829bab3e4fe518a140d2018d959dc7cb615c 100644
--- a/test/cctest/cctest.cc
+++ b/test/cctest/cctest.cc
@@ -51,11 +51,13 @@ v8::base::Atomic32 CcTest::isolate_used_ = 0;
v8::ArrayBuffer::Allocator* CcTest::allocator_ = NULL;
v8::Isolate* CcTest::isolate_ = NULL;
-
CcTest::CcTest(TestFunction* callback, const char* file, const char* name,
- const char* dependency, bool enabled, bool initialize)
- : callback_(callback), name_(name), dependency_(dependency),
- enabled_(enabled), initialize_(initialize), prev_(last_) {
+ bool enabled, bool initialize)
+ : callback_(callback),
+ name_(name),
+ enabled_(enabled),
+ initialize_(initialize),
+ prev_(last_) {
// Find the base name of this test (const_cast required on Windows).
char *basename = strrchr(const_cast<char *>(file), '/');
if (!basename) {
@@ -128,12 +130,7 @@ void CcTest::DisableAutomaticDispose() {
static void PrintTestList(CcTest* current) {
if (current == NULL) return;
PrintTestList(current->prev());
- if (current->dependency() != NULL) {
- printf("%s/%s<%s\n",
- current->file(), current->name(), current->dependency());
- } else {
- printf("%s/%s<\n", current->file(), current->name());
- }
+ printf("%s/%s\n", current->file(), current->name());
}
« no previous file with comments | « test/cctest/cctest.h ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698