5f9adf2f98e767e346339adf045e01d19277bcc6,tests/python/pants_test/engine/test_isolated_process.py,IsolatedProcessTest,test_javac_compilation_example_success,#IsolatedProcessTest#,347

Before Change


    self.execute_expecting_one_result(scheduler, ExecuteProcessResult, request).value

  def test_javac_compilation_example_success(self):
    scheduler = self.mk_scheduler_in_example_fs(create_javac_compile_rules())

    request = JavacCompileRequest(
      BinaryLocation("/usr/bin/javac"),
      JavacSources(("scheduler_inputs/src/java/simple/Simple.java",)),

After Change



  def test_javac_compilation_example_success(self):
    self.create_dir("simple")
    self.create_file("simple/Simple.java", """package simple;
// Valid java. Totally complies.
class Simple {

}""")

    request = JavacCompileRequest(
      BinaryLocation("/usr/bin/javac"),
      JavacSources((u"simple/Simple.java",)),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_javac_compilation_example_success


Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_integration_concat_with_snapshots_stdout


Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_javac_compilation_example_failure