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

Unified Diff: chrome/test/base/module_system_test.cc

Issue 10383242: Expose DumpException() in ModuleSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « chrome/renderer/module_system.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/module_system_test.cc
diff --git a/chrome/test/base/module_system_test.cc b/chrome/test/base/module_system_test.cc
index ce77a20c2a52a7637c654f3f4ddc1ac1cbd1a754..baa82516792d5439a68f638552ad249dd1018d00 100644
--- a/chrome/test/base/module_system_test.cc
+++ b/chrome/test/base/module_system_test.cc
@@ -109,6 +109,9 @@ void ModuleSystemTest::OverrideNativeHandler(const std::string& name,
}
void ModuleSystemTest::TearDown() {
+ if (try_catch_.HasCaught()) {
+ ModuleSystem::DumpException(try_catch_.Message());
+ }
not at google - send to devlin 2012/05/18 04:57:20 nit: no braces
koz (OOO until 15th September) 2012/05/18 05:06:07 Done.
EXPECT_FALSE(try_catch_.HasCaught());
// All tests must assert at least once unless otherwise specified.
EXPECT_EQ(should_assertions_be_made_,
« no previous file with comments | « chrome/renderer/module_system.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698