summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/webui/async_gen.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/webui/async_gen.js')
-rw-r--r--chrome/test/data/webui/async_gen.js16
1 files changed, 3 insertions, 13 deletions
diff --git a/chrome/test/data/webui/async_gen.js b/chrome/test/data/webui/async_gen.js
index 13929b8..8b8078f 100644
--- a/chrome/test/data/webui/async_gen.js
+++ b/chrome/test/data/webui/async_gen.js
@@ -23,7 +23,7 @@ WebUIBrowserAsyncGenTest.prototype = {
expectFalse(this.tornDown);
expectFalse(this.running);
this.tornDown = true;
- chrome.send('tornDown');
+ chrome.send('tearDown');
testing.Test.prototype.tearDown.call(this);
},
@@ -46,18 +46,8 @@ WebUIBrowserAsyncGenTest.prototype = {
running: false,
};
-// Include the bulk of c++ code.
-GEN('#include "chrome/test/data/webui/async_gen-inl.h"');
-GEN('');
-
-// Constructors and destructors must be provided in .cc to prevent clang errors.
-GEN('WebUIBrowserAsyncGenTest::WebUIBrowserAsyncGenTest() {}');
-GEN('WebUIBrowserAsyncGenTest::~WebUIBrowserAsyncGenTest() {}');
-GEN('WebUIBrowserAsyncGenTest::AsyncWebUIMessageHandler::');
-GEN(' AsyncWebUIMessageHandler() {}');
-GEN('WebUIBrowserAsyncGenTest::AsyncWebUIMessageHandler::');
-GEN(' ~AsyncWebUIMessageHandler() {}');
-GEN('');
+// Include the c++ test fixture.
+GEN('#include "chrome/test/data/webui/async_gen.h"');
/**
* Will be set to continuation test #1.