)]}'
{
  "commit": "d95f1bf6ecca600096465dc858e0862b6539c46c",
  "tree": "4a142000f93ad3e94c35232c9e80f46e74382f4d",
  "parents": [
    "29bdf63e882f2748bf72d52032e1b0f37cc4d068"
  ],
  "author": {
    "name": "Stephen Amar",
    "email": "stephen@pinterest.com",
    "time": "Tue Mar 13 03:21:40 2018 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Tue Mar 13 03:23:45 2018 -0700"
  },
  "message": "Allow @Ignore on junit test classes\n\nCurrently a test class annotated with `@Ignore` will cause the test\nrunner to fail with\n\n```\nException in thread \"main\" java.lang.IllegalArgumentException: Top test must be a suite\n\tat com.google.testing.junit.runner.junit4.JUnit4TestModelBuilder.get(JUnit4TestModelBuilder.java:53)\n```\n\nThis change treats classes with no tests (either no @Test annotations or\n@Ignore at class level) as an empty test suite. The main motivation\nbehind this is allowing an entire test class to be ignored (e.g. to\nquickly deal with a flaky test) without having to modify the BUILD file.\nThis is desirable in order to reduce the likelihood that a developer\nforgets to update the BUILD file when removing the `@Ignore` annotation.\n\nThis pull request overrides the previous pull request\nhttps://github.com/bazelbuild/bazel/pull/4073\n\nCloses #4293.\n\nPiperOrigin-RevId: 188850828\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "56d57c1d8618d77dd207ed2e40ebe58cebb3dabd",
      "old_mode": 33188,
      "old_path": "src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4TestModelBuilder.java",
      "new_id": "75199cf1445e8db21dcabf93ff3e287a3e12aed6",
      "new_mode": 33188,
      "new_path": "src/java_tools/junitrunner/java/com/google/testing/junit/runner/junit4/JUnit4TestModelBuilder.java"
    },
    {
      "type": "modify",
      "old_id": "b409163617aae8e18d9638fabfcf8a673b5139f2",
      "old_mode": 33188,
      "old_path": "src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/junit4/JUnit4TestModelBuilderTest.java",
      "new_id": "c1a4efbd00f60f09c423603086ec741cc77f482b",
      "new_mode": 33188,
      "new_path": "src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/junit4/JUnit4TestModelBuilderTest.java"
    }
  ]
}
