6273e070f153ec9d7c362afcbef8604bf1cd7077,tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py,JvmBinaryTest,test_default_base,#JvmBinaryTest#,34

Before Change


    self.assertEquals("foo-base", target.basename)

  def test_default_base(self):
    build_file = self.add_to_build_file("BUILD", dedent("""
    jvm_binary(name="foo",
      main="com.example.Foo",
    )
    """))
    self.build_graph.inject_address_closure(BuildFileAddress(build_file, "foo"))
    target = self.build_graph.get_target(SyntheticAddress.parse("//:foo"))
    self.assertEquals("foo", target.basename)

After Change


    self.assertEquals(JarRules.default(), target.payload.deploy_jar_rules)

  def test_default_base(self):
    self.add_to_build_file("BUILD", dedent("""
    jvm_binary(name="foo",
      main="com.example.Foo",
    )
    """))
    target = self.target("//:foo")
    self.assertEquals("foo", target.basename)

  def test_deploy_jar_excludes(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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_default_base


Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/base/test_build_file_address_mapper.py
Class Name: BuildFileAddressMapperTest
Method Name: test_raises_address_not_in_build_file


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