| Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java
|
| diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java
|
| index 7eb6eebf2d1160baecb04e0261b27d89fd8eae89..07291c824512debf2e8ea366055acf7c4360bf73 100644
|
| --- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java
|
| +++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java
|
| @@ -34,6 +34,22 @@ public class ObjectSemanticProcessorTest extends SemanticProcessorTest {
|
| "}");
|
| }
|
|
|
| + public void test_Boolean_or() throws Exception {
|
| + translateSingleFile(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "package test;",
|
| + "public class Test {",
|
| + " public boolean test(boolean a, boolean b) {",
|
| + " return a | b;",
|
| + " }",
|
| + "}");
|
| + ObjectSemanticProcessor.INSTANCE.process(context, unit);
|
| + assertFormattedSource(
|
| + "class Test {",
|
| + " bool test(bool a, bool b) => javaBooleanOr(a, b);",
|
| + "}");
|
| + }
|
| +
|
| public void test_Boolean_TRUE() throws Exception {
|
| translateSingleFile(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|