Revision: 8389
Author: [email protected]
Date: Thu Jun 23 01:28:23 2011
Log: Make extensions in different tests have different names.
In the threaded test, they influenced each other.
Review URL: http://codereview.chromium.org/7244001
http://code.google.com/p/v8/source/detail?r=8389
Modified:
/branches/bleeding_edge/test/cctest/test-api.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Wed Jun 22 05:39:45 2011
+++ /branches/bleeding_edge/test/cctest/test-api.cc Thu Jun 23 01:28:23 2011
@@ -4195,7 +4195,7 @@
THREADED_TEST(NativeFunctionDeclarationError) {
v8::HandleScope handle_scope;
- const char* name = "nativedecl";
+ const char* name = "nativedeclerr";
// Syntax error in extension code.
v8::RegisterExtension(new NativeFunctionExtension(name,
"native\nfunction
foo();"));
@@ -4207,7 +4207,7 @@
THREADED_TEST(NativeFunctionDeclarationErrorEscape) {
v8::HandleScope handle_scope;
- const char* name = "nativedecl";
+ const char* name = "nativedeclerresc";
// Syntax error in extension code - escape code in "native" means that
// it's not treated as a keyword.
v8::RegisterExtension(new NativeFunctionExtension(
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev