)]}'
{
  "commit": "bd96f408085701fe04fb46acdd3a101cfdebe064",
  "tree": "211204ffbd93dbe997cbde7f1c78409ff902ae4d",
  "parents": [
    "2a637cf9b0f2c2ebaf573a1f478e31dc1e6a8354"
  ],
  "author": {
    "name": "Paul Duffin",
    "email": "paulduffin@google.com",
    "time": "Thu Jun 22 13:29:26 2017 +0100"
  },
  "committer": {
    "name": "Paul Duffin",
    "email": "paulduffin@google.com",
    "time": "Thu Jun 22 15:21:32 2017 +0100"
  },
  "message": "Clean up TestCaseUtil\n\nPart of the work of removing JUnit and dependent android.test classes\nfrom the Android API involves providing a static library that developers\ncan include in their test applications to ease migration. That library\nwill be built directly from the source (as opposed to android.jar which\nis built from stubs) and so developers will be able to see classes and\nmethods that are not present in the stubs. This change is one of a\nnumber of similar changes that cleanup the existing non-API code in\norder to minimize the additional methods and classes exposed externally.\nThe basic approach is to remove unused classes and methods, use least\nvisible access modifier possible and generally minimize the amount of\npublicly visible code.\n\nTestCaseUtil.getTestCaseNames() is only used by tests but its tests did\nprovide some coverage of the getTests() method so remove the method and\nthe tests the method was simply moved into TestCaseUtilTest and the\ntests renamed to make it clearer that they are testing\nTestCaseUtil.getTests().\n\nSimilarly, TestCaseUtil.createTestSuite() was only used by tests but its\ntests did provide some coverage of the invokeSuiteMethodIfPossible()\nmethod so the tests were modified and renamed to preserve that coverage.\n\nTestCaseUtil.getTestAtIndex() was completely unused so was just removed.\n\nBug: 30188076\nTest: make checkbuild and ran FrameworkTestRunnerTests\nChange-Id: I62bbdbab428d7560f0c7df11f313fe60cfd31d13\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dc053a2359a0d5005111d1af4a1b9aff09ac1c0e",
      "old_mode": 33188,
      "old_path": "test-runner/src/android/test/TestCaseUtil.java",
      "new_id": "156290997a1b937ba63343039bf810bf8ef5b0cc",
      "new_mode": 33188,
      "new_path": "test-runner/src/android/test/TestCaseUtil.java"
    },
    {
      "type": "modify",
      "old_id": "9d12eafcd34f4074b79b93a9ff98dd33f3257f77",
      "old_mode": 33188,
      "old_path": "test-runner/tests/src/android/test/TestCaseUtilTest.java",
      "new_id": "6d424b08dfb14a2a4357e5e3c38755ae85159d63",
      "new_mode": 33188,
      "new_path": "test-runner/tests/src/android/test/TestCaseUtilTest.java"
    }
  ]
}
