summaryrefslogtreecommitdiffstats
path: root/webkit/glue/cpp_bound_class_unittest.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 12:46:38 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 12:46:38 +0000
commitf0a51fb571f46531025fa09240bbc3e1af925e84 (patch)
tree558b4f0e737fda4b9ab60f252c9c23b8a4ca523e /webkit/glue/cpp_bound_class_unittest.cc
parent6390be368205705f49ead3cec40396519f13b889 (diff)
downloadchromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.zip
chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.gz
chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.bz2
Fixes CRLF and trailing white spaces.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/cpp_bound_class_unittest.cc')
-rw-r--r--webkit/glue/cpp_bound_class_unittest.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/webkit/glue/cpp_bound_class_unittest.cc b/webkit/glue/cpp_bound_class_unittest.cc
index 1f412cc..2579d0f 100644
--- a/webkit/glue/cpp_bound_class_unittest.cc
+++ b/webkit/glue/cpp_bound_class_unittest.cc
@@ -63,8 +63,8 @@ class ExampleTestShell : public TestShell {
// We use the layoutTestController binding for notifyDone.
TestShell::BindJSObjectsToWindow(frame);
}
-
- // This is a public interface to TestShell's protected method, so it
+
+ // This is a public interface to TestShell's protected method, so it
// can be called by our CreateEmptyWindow.
bool PublicInitialize(const std::wstring& startingURL) {
return Initialize(startingURL);
@@ -111,7 +111,7 @@ class CppBoundClassTest : public TestShellTest {
ExecuteJavaScript(javascript);
EXPECT_EQ(L"SUCCESS", webkit_glue::DumpDocumentText(webframe_));
}
-
+
// Executes the specified JavaScript and checks that the resulting document
// text is empty.
void CheckJavaScriptFailure(const std::string& javascript) {
@@ -132,8 +132,8 @@ class CppBoundClassTest : public TestShellTest {
"if (leftval == rightval) {" +
" document.writeln('SUCCESS');" +
"} else {" +
- " document.writeln(\"" +
- left + " [\" + leftval + \"] != " +
+ " document.writeln(\"" +
+ left + " [\" + leftval + \"] != " +
right + " [\" + rightval + \"]\");" +
"}";
}
@@ -246,9 +246,9 @@ TEST_F(CppBoundClassTest, InvokeMethods) {
CheckJavaScriptSuccess(js);
}
-// Tests that invoking a nonexistent method with no fallback method stops the
+// Tests that invoking a nonexistent method with no fallback method stops the
// script's execution
-TEST_F(CppBoundClassTest,
+TEST_F(CppBoundClassTest,
InvokeNonexistentMethodNoFallback) {
std::string js = "example.nonExistentMethod();document.writeln('SUCCESS');";
CheckJavaScriptFailure(js);
@@ -256,7 +256,7 @@ TEST_F(CppBoundClassTest,
// Ensures existent methods can be invoked successfully when the fallback method
// is used
-TEST_F(CppBoundClassWithFallbackMethodTest,
+TEST_F(CppBoundClassWithFallbackMethodTest,
InvokeExistentMethodsWithFallback) {
std::string js = BuildJSCondition("example.echoValue(34)", "34");
CheckJavaScriptSuccess(js);