ad9f8480c8e08b95d6c217ec4a126bd93b7f376a,tests/python/pants_test/backend/jvm/targets/test_jvm_app.py,BundleTest,test_bundle_add,#BundleTest#,289

Before Change



  def test_bundle_add(self):
    self.create_dir("src/java/org/archimedes/volume/config/stone")
    self.create_file("src/java/org/archimedes/volume/config/stone/dense.xml")
    self.create_dir("src/java/org/archimedes/volume/config")
    self.create_file("src/java/org/archimedes/volume/config/metal/dense.xml")
    self.add_to_build_file("src/java/org/archimedes/volume/BUILD", dedent("""
      jvm_binary(name="unused")

After Change


                                fileset=["config/stone/dense.xml", "config/metal/dense.xml"])
    app = self.make_target(spec_path, JvmApp, dependencies=[unused], bundles=[bundle])

    self.assertEqual(1, len(app.bundles))
    self.assertEqual({stone_dense: "stone/dense.xml", metal_dense: "metal/dense.xml"},
                     app.bundles[0].filemap)

  def test_multiple_bundles(self):
Italian Trulli
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_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_remap


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_bypath