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

Unified Diff: mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java

Issue 672533002: Enable separatorWrap module in CheckStyle and fix all the issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java
diff --git a/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java b/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java
index 8bf5e2102bad8442915586f1d8a988d850612b9a..076c94ba8d66cdc0f6b22f414a54485dfdbd287b 100644
--- a/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java
+++ b/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java
@@ -98,8 +98,8 @@ public class ValidationTest extends MojoTestCase {
throws FileNotFoundException {
List<TestData> testData = getTestData(prefix);
for (TestData test : testData) {
- assertNull("Unable to read: " + test.dataFile.getName() +
- ": " + test.inputData.getErrorMessage(),
+ assertNull("Unable to read: " + test.dataFile.getName()
+ + ": " + test.inputData.getErrorMessage(),
test.inputData.getErrorMessage());
List<Handle> handles = new ArrayList<Handle>();
for (int i = 0; i < test.inputData.getHandlesCount(); ++i) {
@@ -108,13 +108,13 @@ public class ValidationTest extends MojoTestCase {
Message message = new Message(test.inputData.getData(), handles);
boolean passed = messageReceiver.accept(message);
if (passed && !test.expectedResult.equals("PASS")) {
- fail("Input: " + test.dataFile.getName() +
- ": The message should have been refused. Expected error: " +
- test.expectedResult);
+ fail("Input: " + test.dataFile.getName()
+ + ": The message should have been refused. Expected error: "
+ + test.expectedResult);
}
if (!passed && test.expectedResult.equals("PASS")) {
- fail("Input: " + test.dataFile.getName() +
- ": The message should have been accepted.");
+ fail("Input: " + test.dataFile.getName()
+ + ": The message should have been accepted.");
}
}
}
@@ -192,7 +192,7 @@ public class ValidationTest extends MojoTestCase {
new RoutingMessageReceiver(IntegrationTestInterface1.MANAGER.buildStub(null,
IntegrationTestInterface1.MANAGER.buildProxy(null,
new SinkMessageReceiver())),
- IntegrationTestInterface2TestHelper.
- newIntegrationTestInterface2MethodCallback()));
+ IntegrationTestInterface2TestHelper
+ .newIntegrationTestInterface2MethodCallback()));
}
}

Powered by Google App Engine
This is Rietveld 408576698