diff options
author | 2017-02-16 19:39:08 +0000 | |
---|---|---|
committer | 2017-02-17 14:52:57 +0000 | |
commit | 9822151a2ab0574b3d7a884f623b6b260258cd6b (patch) | |
tree | cc046b918bacd520930bad7261e7554e0cfca830 /src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed | |
parent | b6e2bf13478454ee88dd1de1ca31007d23a7a0d6 (diff) |
Automated [] rollback of commit 53b10eabb02480111510281b776db524df490a29.
*** Reason for rollback ***
Rolling forward after fixing Mac tests, and adding coverage to Kokoro.
*** Original change description ***
Automated [] rollback of commit d8eec343d238129ce8b5146c4177d207a6b3683b.
*** Reason for rollback ***
These tests break on Mac: http://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=HEAD,PLATFORM_NAME=darwin-x86_64/561/console
E.g.:
ERROR: /Users/ci/workspace/bazel-tests/BAZEL_VERSION/HEAD/PLATFORM_NAME/darwin-x86_64/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/BUILD:64:1: Couldn't build file src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/junit4_testbridge_integration_test.runfi...
***
ROLLBACK_OF=147587929
--
PiperOrigin-RevId: 147746587
MOS_MIGRATED_REVID=147746587
Diffstat (limited to 'src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed')
2 files changed, 47 insertions, 1 deletions
diff --git a/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/BUILD b/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/BUILD index 2bb65e1643..3061e6da64 100644 --- a/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/BUILD +++ b/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/BUILD @@ -17,8 +17,15 @@ java_library( ], ) +exports_files([ + "XmlOutputExercises.ant.xml", +]) + filegroup( name = "srcs", - srcs = glob(["*.java"]) + ["BUILD"], + srcs = glob(["*.java"]) + [ + "XmlOutputExercises.ant.xml", + "BUILD", + ], visibility = ["//src:__pkg__"], ) diff --git a/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/XmlOutputExercises.ant.xml b/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/XmlOutputExercises.ant.xml new file mode 100644 index 0000000000..beb241992b --- /dev/null +++ b/src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/testbed/XmlOutputExercises.ant.xml @@ -0,0 +1,39 @@ +<?xml version='1.0' encoding='UTF-8'?> +<testsuites> + <testsuite name='com.google.testing.junit.runner.testbed.XmlOutputExercises' timestamp='' hostname='localhost' tests='7' failures='1' errors='0' time='' package='' id='0'> + <properties /> + <system-out /> + <system-err /> + </testsuite> + <testsuite name='com.google.testing.junit.runner.testbed.XmlOutputExercises$FailureTest' timestamp='' hostname='localhost' tests='1' failures='1' errors='0' time='' package='' id='1'> + <properties /> + <testcase name='testFail' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$FailureTest' time=''> + <failure message='This is an expected error. The test is supposed to fail.' type='java.lang.AssertionError'>java.lang.AssertionError: This is an expected error. The test is supposed to fail. + + </failure> + </testcase> + <system-out /> + <system-err /> + </testsuite> + <testsuite name='com.google.testing.junit.runner.testbed.XmlOutputExercises$OtherTests' timestamp='' hostname='localhost' tests='1' failures='0' errors='0' time='' package='' id='2'> + <properties /> + <testcase name='testToString' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$OtherTests' time='' /> + <system-out /> + <system-err /> + </testsuite> + <testsuite name='com.google.testing.junit.runner.testbed.XmlOutputExercises$EqualsHashCodeTest' timestamp='' hostname='localhost' tests='2' failures='0' errors='0' time='' package='' id='3'> + <properties /> + <testcase name='testHashCode' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$EqualsHashCodeTest' time='' /> + <testcase name='testEquals' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$EqualsHashCodeTest' time='' /> + <system-out /> + <system-err /> + </testsuite> + <testsuite name='com.google.testing.junit.runner.testbed.XmlOutputExercises$ComparabilityTest' timestamp='' hostname='localhost' tests='3' failures='0' errors='0' time='' package='' id='4'> + <properties /> + <testcase name='compareToEqualInstance' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$ComparabilityTest' time='' /> + <testcase name='compareToGreaterInstance' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$ComparabilityTest' time='' /> + <testcase name='compareToLessInstance' classname='com.google.testing.junit.runner.testbed.XmlOutputExercises$ComparabilityTest' time='' /> + <system-out /> + <system-err /> + </testsuite> +</testsuites> |