tools/android/elf_compression/test/compression_script_test.py
def testLibraryPatching(self):
    """Runs the script on a test library and validates that it still works."""
    library_path = self._BuildLibrary()
    opener_path = self._BuildOpener()

    patched_library_path = self._RunScript(library_path)
    for _ in range(10):
      opener_output = self._RunOpener(opener_path, patched_library_path)
      self.assertEqual(opener_output, '1046543\n')
Runs the script on a test library and validates that it still works.
Runs the script on a test library and validates that it still works.
Runs the script on a test library and validates that it still works .
def testLibraryPatching(self):
    library_path = self._BuildLibrary()
    opener_path = self._BuildOpener()
    patched_library_path = self._RunScript(library_path)
    for _ in range(10):
      opener_output = self._RunOpener(opener_path, patched_library_path)
      self.assertEqual(opener_output, '1046543\n')
def testLibraryPatching ( self ) : library_path = self . _BuildLibrary ( ) opener_path = self . _BuildOpener ( ) patched_library_path = self . _RunScript ( library_path ) for _ in range ( 10 ) : opener_output = self . _RunOpener ( opener_path , patched_library_path ) self . assertEqual ( opener_output , '1046543\n' )
Runs the script on a test library and validates that it still works.
Runs the script on a test library and validates that it still works .
"""Runs the script on a test library and validates that it still works."""
self