summaryrefslogtreecommitdiff
path: root/compilationTests
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2016-04-07 15:16:07 -0700
committerYigit Boyar <yboyar@google.com>2016-04-11 12:26:49 -0700
commit15b6682cf3505b117329e2190967c92a89b179e9 (patch)
treeff1c4e3d790450da0c86fb616365d7707cd49653 /compilationTests
parentbfec8f58feb977598336a3d4ed86dcd9dd372b98 (diff)
downloaddata-binding-15b6682cf3505b117329e2190967c92a89b179e9.tar.gz
Move to org.antlr from tunnelvision
We were using a version of antlr that is published by tunnelvision which works fine but this becomes a problem when another gradle plugin wants to depend on antlr as well. It is best if we depend on the original one to avoid conflicts with other libs. Bug: 27175207 Change-Id: I0a87f9902361ace5dc6d03d838e2ad431c844de8
Diffstat (limited to 'compilationTests')
-rw-r--r--compilationTests/src/test/java/android/databinding/compilationTest/MultiLayoutVerificationTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/compilationTests/src/test/java/android/databinding/compilationTest/MultiLayoutVerificationTest.java b/compilationTests/src/test/java/android/databinding/compilationTest/MultiLayoutVerificationTest.java
index bbf86e7a..2c138687 100644
--- a/compilationTests/src/test/java/android/databinding/compilationTest/MultiLayoutVerificationTest.java
+++ b/compilationTests/src/test/java/android/databinding/compilationTest/MultiLayoutVerificationTest.java
@@ -208,13 +208,15 @@ public class MultiLayoutVerificationTest extends BaseCompilationTest {
CompilationResult result = runGradle("assembleDebug");
assertNotEquals(result.output, 0, result.resultCode);
List<ScopedException> exceptions = result.getBindingExceptions();
- assertEquals(result.error, 2, exceptions.size());
boolean foundNormal = false;
boolean foundLandscape = false;
for (ScopedException exception : exceptions) {
ScopedErrorReport report = exception.getScopedErrorReport();
assertNotNull(report);
+ if (exception.getMessage().startsWith("Cannot find the setter")) {
+ continue;
+ }
File file = new File(report.getFilePath());
assertTrue(file.exists());
assertEquals(result.error, 1, report.getLocations().size());