#!/usr/bin/env vpython3 # Copyright 2017 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Ensure files in the directory are thoroughly tested."""
import importlib import io import os import sys import unittest
import coverage # pylint: disable=import-error
# The files need to have sufficient coverages.
COVERED_FILES = [ 'compatible_utils.py', 'deploy_to_fuchsia.py', 'flash_device.py', 'log_manager.py', 'publish_package.py', 'serve_repo.py'
]
# The files will be tested without coverage requirements.
TESTED_FILES = [ 'bundled_test_runner.py', 'common.py', 'ffx_emulator.py', 'modification_waiter.py', 'monitors.py', 'serial_boot_device.py', 'test_env_setup.py', 'test_server.py', 'version.py'
]
def main(): """Gather coverage data, ensure included files are 100% covered."""
# Fuchsia tests not supported on Windows if os.name == 'nt': return0
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.