1c7de069b54c4fde261b0cf7d099cbd0060f73ad,tests/python/pants_test/backend/codegen/tasks/test_wire_integration.py,WireIntegrationTest,test_good,#WireIntegrationTest#,19

Before Change


    // force a compile to happen, we count on compile output in this test
    self.assert_success(self.run_pants(["clean-all"]))

    pants_run = self.run_pants(["compile",
                                "examples/src/java/org/pantsbuild/example/wire/temperatureservice"])
    self.assert_success(pants_run)

    expected_patterns = [
      "/gen/wire/[^/]*/[^/]*/[^/]*/org/pantsbuild/example/temperature/Temperature.java",

After Change


    // force a compile to happen, we count on compile output in this test
    self.assert_success(self.run_pants(["clean-all"]))

    with self.temporary_workdir() as workdir:
      cmd = ["compile", "examples/src/java/org/pantsbuild/example/wire/temperatureservice"]
      pants_run = self.run_pants_with_workdir(cmd, workdir)
      self.assert_success(pants_run)

      pattern = "gen/wire/[^/]*/[^/]*/[^/]*/org/pantsbuild/example/temperature/Temperature.java"
      files = exact_files(workdir)
      self.assertTrue(any(re.match(pattern, f) is not None for f in files),
                      "Expected pattern: {} in {}".format(pattern, files))

  def test_bundle_wire_normal(self):
    pants_run = self.run_pants(["bundle.jvm",
                                "--deployjar",
                                "examples/src/java/org/pantsbuild/example/wire/temperatureservice"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 1c7de069b54c4fde261b0cf7d099cbd0060f73ad
Time: 2016-03-24
Author: stuhood@gmail.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_wire_integration.py
Class Name: WireIntegrationTest
Method Name: test_good


Project Name: pantsbuild/pants
Commit Name: 403733b0e1ed3348597dc4b8ddaae77fc20c0e72
Time: 2021-04-02
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/logging/native_engine_logging_integration_test.py
Class Name:
Method Name: test_native_logging


Project Name: pantsbuild/pants
Commit Name: 3d7c03ab5a7fcd2459128d9cc849031b28b3f350
Time: 2015-10-12
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py
Class Name: BinaryCreateIntegrationTest
Method Name: test_deploy_excludes


Project Name: pantsbuild/pants
Commit Name: fff8dffd8b016645e4fd559aeb917f9e52ae8e22
Time: 2019-12-03
Author: ericarellano@me.com
File Name: tests/python/pants_test/targets/test_jvm_app_integration.py
Class Name: TestJvmAppIntegrationTest
Method Name: test_missing_files