e9bf50c354ed3d79a2dc6bd7354de2f9c5fd62c2,tests/python/pants_test/backend/codegen/tasks/test_ragel_gen.py,RagelGenTest,test_ragel_gen,#RagelGenTest#,84

Before Change



  def test_ragel_gen(self):
    self.create_file(relpath="test_ragel_gen/atoi.rl", contents=ragel_file_contents)
    self.add_to_build_file("test_ragel_gen", dedent(
      java_ragel_library(name="atoi",
        sources=["atoi.rl"],
        dependencies=[]
      )
    ))

    target = self.target("test_ragel_gen:atoi")
    task = self.create_task(self.context(target_roots=[target]))

After Change


    for root, _, files in os.walk(outdir):
      generated_files.extend(os.path.relpath(os.path.join(root, f), outdir) for f in files)

    self.assertEqual(["com/example/atoi/Parser.java"], generated_files)

  def test_smoke(self):
    with temporary_file() as fp:
      fp.write(ragel_file_contents)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: e9bf50c354ed3d79a2dc6bd7354de2f9c5fd62c2
Time: 2015-07-27
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/codegen/tasks/test_ragel_gen.py
Class Name: RagelGenTest
Method Name: test_ragel_gen


Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_bypath


Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_add


Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_remap


Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_byglobs


Project Name: pantsbuild/pants
Commit Name: 6af8bc8142ec5575947b8f87dccdf629bc4c45b7
Time: 2020-07-02
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/test_python_requirement_list.py
Class Name: PythonRequirementListTest
Method Name: test_good_list


Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_bundle_filemap_dest_relative


Project Name: pantsbuild/pants
Commit Name: f6db0395707a25eec54d116f8f8155874251fde5
Time: 2015-09-17
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create.py
Class Name: TestBinaryCreate
Method Name: test_jvm_binaries_products