6273e070f153ec9d7c362afcbef8604bf1cd7077,tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py,JvmBinaryTest,test_simple,#JvmBinaryTest#,21
Before Change
)
"""))
self.build_graph.inject_address_closure(BuildFileAddress(build_file, "foo"))
target = self.build_graph.get_target(SyntheticAddress.parse("//:foo"))
self.assertEquals("com.example.Foo", target.main)
self.assertEquals("foo-base", target.basename)
After Change
self.assertEquals("foo-base", target.payload.basename)
self.assertEquals([], target.deploy_excludes)
self.assertEquals([], target.payload.deploy_excludes)
self.assertEquals(JarRules.default(), target.deploy_jar_rules)
self.assertEquals(JarRules.default(), target.payload.deploy_jar_rules)
def test_default_base(self):
self.add_to_build_file("BUILD", dedent("""
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: pantsbuild/pants
Commit Name: 6273e070f153ec9d7c362afcbef8604bf1cd7077
Time: 2015-04-05
Author: zundel@squareup.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py
Class Name: JvmBinaryTest
Method Name: test_simple
Project Name: pantsbuild/pants
Commit Name: df75d99aa353ecf4dd69185232041c952a3f72b7
Time: 2014-12-03
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/base/test_build_file_address_mapper.py
Class Name: BuildFileAddressMapperTest
Method Name: test_resolve
Project Name: pantsbuild/pants
Commit Name: df75d99aa353ecf4dd69185232041c952a3f72b7
Time: 2014-12-03
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/graph/test_build_graph.py
Class Name: BuildGraphTest
Method Name: test_transitive_closure_address