aea2747cda25271b788d670b8e65452b24bed4e0,tests/python/pants_test/android/tasks/test_unpack_libraries.py,UnpackLibrariesTest,test_unpack_aar_files_and_invalidation,#UnpackLibrariesTest#,283

Before Change


      self.create_unpack_build_file()

      target_name = "unpack:test"
      self._make_android_dependency("test-jar", aar, "1.0")
      files = self.unpack_libraries(target_name, aar)
      self.assertIn("Foo.class", files)

      // Reset build graph to dismiss all the created targets.

After Change


    with temporary_dir() as temp:
      aar = self.create_aarfile(temp, "org.pantsbuild.android.test")

      lib, coordinate = self.create_android_library(rev="1.0", library_file=aar)

      files = self.unpack_libraries(target=lib, aar_file=aar, coordinate=coordinate)
      self.assertIn("Foo.class", files)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pantsbuild/pants
Commit Name: aea2747cda25271b788d670b8e65452b24bed4e0
Time: 2015-09-17
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/android/tasks/test_unpack_libraries.py
Class Name: UnpackLibrariesTest
Method Name: test_unpack_aar_files_and_invalidation


Project Name: pantsbuild/pants
Commit Name: aea2747cda25271b788d670b8e65452b24bed4e0
Time: 2015-09-17
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/android/tasks/test_unpack_libraries.py
Class Name: UnpackLibrariesTest
Method Name: test_unpack_jar_library


Project Name: pantsbuild/pants
Commit Name: aea2747cda25271b788d670b8e65452b24bed4e0
Time: 2015-09-17
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/android/tasks/test_unpack_libraries.py
Class Name: UnpackLibrariesTest
Method Name: test_unexpected_archive_type