a09ac81420589749c3adc73e9fb02a0d8bc8447d,tests/python/pants_test/backend/codegen/tasks/test_protobuf_integration.py,ProtobufIntegrationTest,test_bundle_protobuf_imports,#ProtobufIntegrationTest#,35

Before Change


    self.assertIn("parsec", java_out)

  def test_bundle_protobuf_imports(self):
    pants_run = self.run_pants(["bundle.jvm",
                                "--deployjar",
                                "examples/src/java/org/pantsbuild/example/protobuf/imports"])
    self.assert_success(pants_run)
    out_path = os.path.join(get_buildroot(), "dist",
                            ("examples.src.java.org.pantsbuild.example.protobuf.imports"
                             ".imports-bundle"))

After Change


      self.assertIn("parsec", java_out)

  def test_bundle_protobuf_imports(self):
    with self.pants_results(["bundle.jvm",
                         "--deployjar",
                         "examples/src/java/org/pantsbuild/example/protobuf/imports"]
                        ) as pants_run:
      self.assert_success(pants_run)
      out_path = os.path.join(get_buildroot(), "dist",
                              ("examples.src.java.org.pantsbuild.example.protobuf.imports"
                               ".imports-bundle"))
      java_run = subprocess.Popen(["java", "-cp", "protobuf-imports-example.jar",
                                   "org.pantsbuild.example.protobuf.imports.ExampleProtobufImports"],
                                  stdout=subprocess.PIPE,
                                  cwd=out_path)
      java_retcode = java_run.wait()
      java_out = java_run.stdout.read()
      self.assertEquals(java_retcode, 0)
      self.assertIn("very test", java_out)

  def test_bundle_protobuf_unpacked_jars(self):
    with self.pants_results(["bundle.jvm",
                         "--deployjar",
                         "examples/src/java/org/pantsbuild/example/protobuf/unpacked_jars"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_protobuf_integration.py
Class Name: ProtobufIntegrationTest
Method Name: test_bundle_protobuf_imports


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/pants_run_integration_test.py
Class Name: PantsRunIntegrationTest
Method Name: bundle_and_run


Project Name: pantsbuild/pants
Commit Name: 6285e4f27a0fa35f219449c00395cf78de125a20
Time: 2015-12-01
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/base/test_spec_exclude_integration.py
Class Name: SpecExcludeIntegrationTest
Method Name: _test_bundle_existences


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_scope_runtime_integration.py
Class Name: ScopeRuntimeIntegrationTest
Method Name: test_runtime_bundle_contents


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_protobuf_integration.py
Class Name: ProtobufIntegrationTest
Method Name: test_bundle_protobuf_unpacked_jars


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_wire_integration.py
Class Name: WireIntegrationTest
Method Name: test_bundle_wire_normal


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_scope_runtime_integration.py
Class Name: ScopeRuntimeIntegrationTest
Method Name: test_compile_bundle_contents


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_protobuf_integration.py
Class Name: ProtobufIntegrationTest
Method Name: test_bundle_protobuf_normal


Project Name: pantsbuild/pants
Commit Name: 6285e4f27a0fa35f219449c00395cf78de125a20
Time: 2015-12-01
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py
Class Name: BinaryCreateIntegrationTest
Method Name: build_and_run


Project Name: pantsbuild/pants
Commit Name: a09ac81420589749c3adc73e9fb02a0d8bc8447d
Time: 2016-06-29
Author: matt@digital-wanderlust.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_wire_integration.py
Class Name: WireIntegrationTest
Method Name: test_bundle_wire_dependent_targets