541f13cca832e68e7d6f9234a73c2b8f357fd426,tests/python/pants_test/tasks/test_jvm_bundle_integration.py,BundleIntegrationTest,test_bundle_of_nonascii_classes,#BundleIntegrationTest#,19
Before Change
pants_run.stderr_data,
pants_run.stdout_data))
with temporary_dir() as chroot:
ZIP.extract("dist/unicode-testproject.zip", chroot)
java_run = subprocess.Popen(["java", "-jar", "unicode-testproject.jar"],
stdout=subprocess.PIPE,
cwd=chroot)
stdout, _ = java_run.communicate()
java_returncode = java_run.returncode
self.assertEquals(java_returncode, 0)
self.assertTrue("Have a nice day!" in stdout)
self.assertTrue("shapeless success" in stdout)
After Change
JVM classes can have non-ASCII names. Make sure we don"t assume ASCII.
stdout = self._exec_bundle("testprojects/src/java/com/pants/testproject/unicode/main", "unicode-testproject")
self.assertIn("Have a nice day!", stdout)
self.assertIn("shapeless success", stdout)
def test_bundle_colliding_resources(self):
Tests that the proper resource is bundled with each of these bundled targets when
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: pantsbuild/pants
Commit Name: 541f13cca832e68e7d6f9234a73c2b8f357fd426
Time: 2014-08-20
Author: zundel@squareup.com
File Name: tests/python/pants_test/tasks/test_jvm_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_of_nonascii_classes
Project Name: pantsbuild/pants
Commit Name: 84b8f96b05155e134b3bc979c53a5c3845dab689
Time: 2016-01-04
Author: kwilson@twopensource.com
File Name: tests/python/pants_test/pantsd/test_process_manager.py
Class Name: TestProcessManager
Method Name: test_await_pid
Project Name: pantsbuild/pants
Commit Name: 84b8f96b05155e134b3bc979c53a5c3845dab689
Time: 2016-01-04
Author: kwilson@twopensource.com
File Name: tests/python/pants_test/pantsd/test_process_manager.py
Class Name: TestProcessManager
Method Name: test_await_socket