ad9f8480c8e08b95d6c217ec4a126bd93b7f376a,tests/python/pants_test/backend/jvm/targets/test_jvm_app.py,BundleTest,test_bundle_filemap_dest_bypath,#BundleTest#,183
Before Change
return register_core().merge(register_jvm())
def test_bundle_filemap_dest_bypath(self):
self.create_dir("src/java/org/archimedes/buoyancy/config")
self.create_file("src/java/org/archimedes/buoyancy/config/densities.xml")
self.add_to_build_file("src/java/org/archimedes/buoyancy/BUILD", dedent("""
jvm_binary(name="unused")
"""))
After Change
dependencies=[unused],
bundles=[self.create_bundle(spec_path, fileset="config/densities.xml")])
self.assertEqual(1, len(app.bundles))
// after one big refactor, ../../../../../ snuck into this path:
self.assertEqual({densities: "config/densities.xml"}, app.bundles[0].filemap)
def test_bundle_filemap_dest_byglobs(self):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 2
Instances Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_bypath
Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_add
Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_byglobs
Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_relative
Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_remap