third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/fuzz_main_run.py
def WriteTestFile(test_file_data, test_file_prefix, output_dir):
    """Creates a new file with a unique name and writes the test case to it.

    Args:
      test_file_data: The data to be included in the new file.
      test_file_prefix: Used as a prefix when generating a new file.
      output_dir: The directory where the new file should be created.

    Returns:
      A string representing the file path to access the new file.
    """

    file_descriptor, file_path = tempfile.mkstemp(
        prefix=test_file_prefix, suffix='.html', dir=output_dir)

    with os.fdopen(file_descriptor, 'wb') as output:
        print 'Writing {} bytes to \'{}\''.format(
            len(test_file_data), file_path)
        output.write(test_file_data)

    return file_path
Creates a new file with a unique name and writes the test case to it.

    Args:
      test_file_data: The data to be included in the new file.
      test_file_prefix: Used as a prefix when generating a new file.
      output_dir: The directory where the new file should be created.

    Returns:
      A string representing the file path to access the new file.
    
Creates a new file with a unique name and writes the test case to it.
Creates a new file with a unique name and writes the test case to it .
def WriteTestFile(test_file_data, test_file_prefix, output_dir):
    file_descriptor, file_path = tempfile.mkstemp(
        prefix=test_file_prefix, suffix='.html', dir=output_dir)
    with os.fdopen(file_descriptor, 'wb') as output:
        print 'Writing {} bytes to \'{}\''.format(
            len(test_file_data), file_path)
        output.write(test_file_data)
    return file_path
def WriteTestFile ( test_file_data , test_file_prefix , output_dir ) : file_descriptor , file_path = tempfile . mkstemp ( prefix = test_file_prefix , suffix = '.html' , dir = output_dir ) with os . fdopen ( file_descriptor , 'wb' ) as output : print 'Writing {} bytes to \'{}\'' . format ( len ( test_file_data ) , file_path ) output . write ( test_file_data ) return file_path
Creates a new file with a unique name and writes the test case to it.
Creates a new file with a unique name and writes the test case to it .
"""Creates a new file with a unique name and writes the test case to it.

    Args:
      test_file_data: The data to be included in the new file.
      test_file_prefix: Used as a prefix when generating a new file.
      output_dir: The directory where the new file should be created.

    Returns:
      A string representing the file path to access the new file.
    """
A string representing the file path to access the new file.
A string representing the file path to access the new file .
test_file_data
The data to be included in the new file.
The data to be included in the new file .
test_file_prefix
Used as a prefix when generating a new file.
Used as a prefix when generating a new file .
output_dir
The directory where the new file should be created.
The directory where the new file should be created .