79d358a10723d9a1c9cef7aed16ccc5a693f3f6c,tests/python/pants_test/backend/jvm/tasks/test_binary_create.py,TestBinaryCreate,test_jvm_binaries_deploy_excludes,#TestBinaryCreate#,58

Before Change


  def test_jvm_binaries_deploy_excludes(self):
    foo_jar_lib = self.make_target(spec="3rdparty/jvm/org/example:foo",
                                   target_type=JarLibrary,
                                   jars=[JarDependency(org="org.example", name="foo", rev="1.0.0")])
    binary_target = self.make_target(spec="//bar:bar-binary",
                                     target_type=JvmBinary,
                                     source="Bar.java",
                                     dependencies=[foo_jar_lib],
                                     deploy_excludes=[Exclude(org="org.pantsbuild")])
    context = self.context(target_roots=[binary_target])
    classpath_products = self.ensure_classpath_products(context)

    foo_artifact = self.create_artifact(org="org.example", name="foo", rev="1.0.0")

After Change


                               "bar.txt"]),
                       sorted(jar.namelist()))

  def test_jvm_binaries_deploy_excludes(self):
    self.add_to_build_file(
      "3rdparty/jvm/org/example",
      "jar_library(name = "foo", jars = [jar(org = "org.example", name = "foo", rev = "1.0.0")])",
    )
    foo_jar_lib = self.target("3rdparty/jvm/org/example:foo")

    self.add_to_build_file(
      "bar",
      """jvm_binary(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pantsbuild/pants
Commit Name: 79d358a10723d9a1c9cef7aed16ccc5a693f3f6c
Time: 2018-06-11
Author: dawagner@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create.py
Class Name: TestBinaryCreate
Method Name: test_jvm_binaries_deploy_excludes


Project Name: pantsbuild/pants
Commit Name: 79d358a10723d9a1c9cef7aed16ccc5a693f3f6c
Time: 2018-06-11
Author: dawagner@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create.py
Class Name: TestBinaryCreate
Method Name: test_jvm_binaries_deploy_excludes


Project Name: pantsbuild/pants
Commit Name: 79d358a10723d9a1c9cef7aed16ccc5a693f3f6c
Time: 2018-06-11
Author: dawagner@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py
Class Name: JvmBinaryTest
Method Name: test_deploy_jar_rules


Project Name: pantsbuild/pants
Commit Name: 79d358a10723d9a1c9cef7aed16ccc5a693f3f6c
Time: 2018-06-11
Author: dawagner@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py
Class Name: JvmBinaryTest
Method Name: test_deploy_jar_excludes