Reviewers: Mikhail Naganov (Chromium),
Message:
Is there trybots for v8 that I could use?
I can commit this myself?
I see that there is a buildbot for v8 here ->
http://build.chromium.org/p/client.v8/waterfall
Please, take a look.
Description:
v8: Move DeleteEmpty test to test-list.cc
BUG=None
TEST=None
Signed-off-by: Thiago Farina <[email protected]>
Please review this at http://codereview.chromium.org/7488042/
SVN Base: git://github.com/v8/v8.git@trunk
Affected files:
M test/cctest/test-ast.cc
M test/cctest/test-list.cc
Index: test/cctest/test-ast.cc
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc
index
786a54a11793dd327905258dc5154b71cc6e5e12..2aa72078afd529ebe78bc213512185466baceb52
100644
--- a/test/cctest/test-ast.cc
+++ b/test/cctest/test-ast.cc
@@ -56,14 +56,3 @@ TEST(List) {
CHECK_EQ(0, list->length());
delete list;
}
-
-
-TEST(DeleteEmpty) {
- {
- List<int>* list = new List<int>(0);
- delete list;
- }
- {
- List<int> list(0);
- }
-}
Index: test/cctest/test-list.cc
diff --git a/test/cctest/test-list.cc b/test/cctest/test-list.cc
index
e20ee8a3607b3b28a9cbd8ef41f0726a0e706772..7520b05fcb59d5ebcb5d2c4b12fa3f7c0eed811c
100644
--- a/test/cctest/test-list.cc
+++ b/test/cctest/test-list.cc
@@ -1,4 +1,4 @@
-// Copyright 2009 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -138,3 +138,14 @@ TEST(Clear) {
list.Clear();
CHECK_EQ(0, list.length());
}
+
+
+TEST(DeleteEmpty) {
+ {
+ List<int>* list = new List<int>(0);
+ delete list;
+ }
+ {
+ List<int> list(0);
+ }
+}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev