/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
H A D | DirectoryWalkerTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 35 import org.junit.jupiter.api.Test; 43 * Test DirectoryWalker implementation that finds files in a directory hierarchy 57 final List<File> results = new ArrayList<>(); in find() local 58 walk(startDirectory, results); in find() 59 return results; in find() 64 protected void handleCancelled(final File startDirectory, final Collection<File> results, in handleCancelled() argument 67 super.handleCancelled(startDirectory, results, cancel); in handleCancelled() 73 …rectoryEnd(final File directory, final int depth, final Collection<File> results) throws IOExcepti… in handleDirectoryEnd() argument 74 results.add(directory); in handleDirectoryEnd() [all …]
|
H A D | DirectoryWalkerTestCaseJava4.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 36 import org.junit.jupiter.api.Test; 39 * This is used to test DirectoryWalker for correctness when using Java4 (i.e. no generics). 47 * Test DirectoryWalker implementation that finds files in a directory hierarchy 63 final List results = new ArrayList(); in find() local 64 walk(startDirectory, results); in find() 65 return results; in find() 72 protected void handleCancelled(final File startDirectory, final Collection results, in handleCancelled() argument 75 super.handleCancelled(startDirectory, results, cancel); in handleCancelled() 83 …ndleDirectoryEnd(final File directory, final int depth, final Collection results) throws IOExcepti… in handleDirectoryEnd() argument [all …]
|
/aosp_15_r20/external/cronet/net/dns/ |
H A D | dns_response_result_extractor_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 14 #include "base/test/simple_test_clock.h" 15 #include "base/test/simple_test_tick_clock.h" 31 #include "net/test/gtest_util.h" 57 class DnsResponseResultExtractorTest : public ::testing::Test { 64 constexpr char kName[] = "address.test"; in TEST_F() 70 ResultsOrError results = in TEST_F() local 75 ASSERT_TRUE(results.has_value()); in TEST_F() 76 EXPECT_THAT(results.value(), in TEST_F() 85 constexpr char kName[] = "address.test"; in TEST_F() [all …]
|
/aosp_15_r20/cts/tests/tests/content/src/android/content/pm/cts/ |
H A D | SaferIntentTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 55 import android.platform.test.annotations.AppModeFull; 56 import android.platform.test.annotations.RequiresFlagsEnabled; 57 import android.platform.test.flag.junit.CheckFlagsRule; 58 import android.platform.test.flag.junit.DeviceFlagsValueProvider; 61 import androidx.test.ext.junit.runners.AndroidJUnit4; 62 import androidx.test.platform.app.InstrumentationRegistry; 69 import org.junit.Test; 121 // the intent-filters 176 // Bring test app out of the stopped state so that it can receive broadcasts in setup() [all …]
|
/aosp_15_r20/external/angle/build/android/pylib/results/flakiness_dashboard/ |
H A D | json_results_generator.py | 2 # Use of this source code is governed by a BSD-style license that can be 37 return json_content[len(_JSON_PREFIX):len(json_content) - len(_JSON_SUFFIX)] 57 if len(data) != 0 and not 'results' in data: 78 """Breaks a test name into dicts by directory 93 test = test_result.test_name 95 AddPathToTrie(test, int(1000 * test_result.test_run_time), trie) 101 """A simple class that represents a single test result.""" 103 # Test modifier constants. 106 def __init__(self, test, failed=False, elapsed_time=0): argument 107 self.test_name = test [all …]
|
/aosp_15_r20/external/cronet/build/android/pylib/results/flakiness_dashboard/ |
H A D | json_results_generator.py | 2 # Use of this source code is governed by a BSD-style license that can be 37 return json_content[len(_JSON_PREFIX):len(json_content) - len(_JSON_SUFFIX)] 57 if len(data) != 0 and not 'results' in data: 78 """Breaks a test name into dicts by directory 93 test = test_result.test_name 95 AddPathToTrie(test, int(1000 * test_result.test_run_time), trie) 101 """A simple class that represents a single test result.""" 103 # Test modifier constants. 106 def __init__(self, test, failed=False, elapsed_time=0): argument 107 self.test_name = test [all …]
|
/aosp_15_r20/external/vixl/test/aarch64/ |
H A D | test-simulator-aarch64.cc | 32 #include "test-runner.h" 33 #include "test-utils.h" 35 #include "aarch64/test-simulator-inputs-aarch64.h" 36 #include "aarch64/test-simulator-traces-aarch64.h" 37 #include "aarch64/test-utils-aarch64.h" 39 #include "aarch64/cpu-features-auditor-aarch64.h" 40 #include "aarch64/macro-assembler-aarch64.h" 41 #include "aarch64/simulator-aarch64.h" 49 // real AArch64 hardware. The same test code is used to generate the trace; the 50 // results are printed to stdout when the test is run with [all …]
|
/aosp_15_r20/external/cronet/build/android/pylib/local/device/ |
H A D | local_device_instrumentation_test_run.py | 2 # Use of this source code is governed by a BSD-style license that can be 56 import jinja2 # pylint: disable=import-error 57 import markupsafe # pylint: disable=import-error,unused-import 94 'org.chromium.base.test.BaseChromiumAndroidJUnitRunner.' 98 'org.chromium.base.test.ScreenshotOnFailureStatement.ScreenshotFile') 101 'org.chromium.base.test.util.Screenshooter.ScreenshotDir') 103 EXTRA_TRACE_FILE = ('org.chromium.base.test.BaseJUnit4ClassRunner.TraceFile') 106 'org.chromium.base.test.util.DisableIfSkipCheck.RunDisabledTest') 109 'org.chromium.base.test.BaseChromiumAndroidJUnitRunner.IsUnitTest') 111 _EXTRA_PACKAGE_UNDER_TEST = ('org.chromium.chrome.test.pagecontroller.rules.' [all …]
|
/aosp_15_r20/external/autotest/site_utils/ |
H A D | generate_test_report | 3 # Use of this source code is governed by a BSD-style license that can be 9 This script parses the contents of one or more autoserv results folders and 10 generates test reports. 50 self.deadline = datetime.datetime.strptime(deadline, '%Y-%b-%d') 57 # ['sig 11'], '2011-Aug-18', 'http://crosbug/123456', 'developer'), 64 """Collects status and performance data from an autoserv results dir.""" 75 @param allow_chrome_crashes: Treat Chrome crashes as non-fatal. 87 @param testdir: autoserv test result directory path. 99 @param testdir: autoserv test result directory path. 114 @param testdir: The autoserv test result directory. [all …]
|
/aosp_15_r20/external/apache-xml/test/java/xdocs/sources/tests/ |
H A D | run.xml | 3 <!-- 12 * http://www.apache.org/licenses/LICENSE-2.0 19 --> 22 <li><link anchor="how-to-run">How-to: Run Xalan-J tests</link></li> 23 <li><link anchor="how-to-view-results">How-to: View Test Results</link></li> 24 <li><link anchor="test-options">Common Test Options</link></li> 25 <li><link anchor="how-to-run-c">How-to: Run Xalan-C tests</link></li> 28 <anchor name="how-to-run"/> 29 <s2 title="How-to: Run tests"> 42 …<p>Of course, first <link idref="getstarted" anchor="how-to-build">Build a fresh copy of testxsl.j… [all …]
|
/aosp_15_r20/external/autotest/server/cros/bluetooth/ |
H A D | bluetooth_adapter_tests.py | 3 # Use of this source code is governed by a BSD-style license that can be 32 from autotest_lib.server import test 51 UNSUPPORTED_CHIPSETS = ['MVL-8897', 'MVL-8997', 'Intel-AC7260', 'Intel-AC7265'] 57 RESUME_DELTA = -5 65 # Tester allows us to test DUT's discoverability, etc. from a peer 86 'cmd_cnt 0 cmd queued ([5-9]|[1-9][0-9]+)': 'controller cmd capacity', 89 # TODO(b/150898182) - Don't run some tests on tablet form factors 94 # Some platforms do not have built-in I/O hardware, and so they are configured 107 SUSPEND_POWER_DOWN_CHIPSETS = ['Realtek-RTL8822C-USB', 'MVL-8897', 'MVL-8997'] 110 # suspend-resume unless it is connected to a peer device. This doesn't [all …]
|
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiScannerScanTest.py | 3 # Copyright 2016 - The Android Open Source Project 9 # http://www.apache.org/licenses/LICENSE-2.0 37 INVALID_RESULT = "Test fail because scan result reported are not valid" 38 EMPTY_RESULT = "Test fail because empty scan result reported" 102 self.log.debug("Run extended test: {}".format(self.run_extended_test)) 127 report_result: event type of report scan results 183 """This function process scan results and validate against settings used 187 wifi networks in results are of the correct frequencies set by scan setting 188 params. Then it checks that the delta between the batch of scan results less 192 scan_results: scan results reported. [all …]
|
/aosp_15_r20/external/swiftshader/tests/regres/cmd/regres/ |
H A D | main.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // regres is a tool that detects test regressions with SwiftShader changes. 18 // Once a new patchset has been found, regres will checkout, build and test the 19 // change against the parent changelist. Any differences in results are reported 22 // Once a day regres will also test another, larger set of tests, and post the 23 // full test results as a Gerrit changelist. The CI test lists can be based from 24 // this daily test list, so testing can be limited to tests that were known to 59 gerrit "github.com/andygrunwald/go-gerrit" 65 gerritURL = "https://swiftshader-review.googlesource.com/" 66 …coverageURL = "https://$USERNAME:[email protected]/swiftshader-regres/swiftshader-cov… [all …]
|
/aosp_15_r20/external/angle/build/android/pylib/local/device/ |
H A D | local_device_instrumentation_test_run.py | 2 # Use of this source code is governed by a BSD-style license that can be 57 import jinja2 # pylint: disable=import-error 58 import markupsafe # pylint: disable=import-error,unused-import 98 'org.chromium.base.test.ScreenshotOnFailureStatement.ScreenshotFile') 103 'org.chromium.base.test.util.Screenshooter.ScreenshotDir') 108 'org.chromium.base.test.util.DisableIfSkipCheck.RunDisabledTest') 112 _EXTRA_PACKAGE_UNDER_TEST = ('org.chromium.chrome.test.pagecontroller.rules.' 197 ['log', '-p', 'i', '-t', _TAG, 'START %s' % test_name], 203 ['log', '-p', 'i', '-t', _TAG, 'END %s' % test_name], 246 # apk that is not listed as the targetPackage in the test apk's manifest. [all …]
|
/aosp_15_r20/external/ltp/ |
H A D | ltpmenu | 18 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ## 26 # functionality to Compile, Execute and View Results of 27 # LTP test cases. 29 # Author: Manoj Iyer - [email protected] 31 # Thanks: Jim Choate - For suggesting the use of dialog command. 33 # History: March 26 2003 - Created. 35 # March 28 2003 - Removed gauges and put make commands in foreground. 36 # Robbie Williamson - [email protected] 38 # March 31 2003 - Made scenario menu creation dynamic and code 39 # to pull the test descriptions from the scenario files. [all …]
|
/aosp_15_r20/art/libartservice/service/javatests/com/android/server/art/ |
H A D | PrimaryDexopterTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 44 import androidx.test.filters.SmallTest; 45 import androidx.test.runner.AndroidJUnit4; 54 import org.junit.Test; 105 new DexoptParams.Builder("install").setCompilerFilter("speed-profile").build(); 160 @Test 202 List<DexContainerFileDexoptResult> results = mPrimaryDexopter.dexopt(); in testDexoptInputVdex() local 203 verifyStatusAllOk(results); in testDexoptInputVdex() 206 @Test 211 List<DexContainerFileDexoptResult> results = mPrimaryDexopter.dexopt(); in testDexoptDm() local [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/document/ |
H A D | BasicQueryTest.java | 42 import org.junit.Test; 74 private final String tableName = getConcreteTableName("doc-table-name"); 75 private final String nestedTableName = getConcreteTableName("doc-nested-table-name"); 124 .mapToObj(i -> EnhancedDocument.builder() 125 .putString("id", "id-value") 134 .mapToObj(i -> EnhancedDocument.builder() 136 .putString("id", "id-value") 153 enhancedDocument.putString("test.com", nestedTestRecord.getDotVariable()); in createDocumentFromNestedRecord() 164 .mapToObj(i -> { 166 nestedTestRecord.setOuterAttribOne("id-value-" + i); [all …]
|
/aosp_15_r20/external/swiftshader/tests/regres/deqp/ |
H A D | deqp.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // Package deqp provides functions for running dEQP, as well as loading and storing the results. 43 // Regular expression to parse the output of a dEQP test. 45 // Regular expression to parse a test that failed due to UNIMPLEMENTED() 47 // Regular expression to parse a test that failed due to UNSUPPORTED() 49 // Regular expression to parse a test that failed due to UNREACHABLE() 51 // Regular expression to parse a test that failed due to ASSERT() 53 // Regular expression to parse a test that failed due to ABORT() 55 // Regular expression to parse individual test names and output 56 caseOutputRE = regexp.MustCompile("Test case '([^']*)'..") [all …]
|
/aosp_15_r20/external/autotest/client/common_lib/ |
H A D | gtest_parser.py | 3 # Use of this source code is governed by a BSD-style license that can be 12 """This class knows how to understand GTest test output. 27 # List of parsing errors, as human-readable strings. 30 # Tests are stored here as 'test.name': (status, [description]). 32 # The description is a list of lines detailing the test's error, as 44 # Regular expressions for parsing GTest logs. Test names look like 54 r'Test timeout \([0-9]+ ms\) exceeded for ' + test_name_regexp) 55 self._disabled = re.compile(r' YOU HAVE (\d+) DISABLED TEST') 56 self._flaky = re.compile(r' YOU HAVE (\d+) FLAKY TEST') 59 r'Suppression \(error hash=#([0-9A-F]+)#\):') [all …]
|
/aosp_15_r20/external/cronet/build/android/pylib/base/ |
H A D | base_test_result.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 """Module containing base test results classes.""" 13 from lib.results import result_types # pylint: disable=import-error 20 _MUTATION_SUFFIX_PATTERN = re.compile(r'^(.*)__([a-zA-Z]+)\.\.([a-zA-Z]+)_$') 24 """Class enumerating test types. 26 Wraps the results defined in //build/util/lib/results/. 38 """Get a list of all test types.""" 46 """Base class for a single test result.""" 52 name: Name of the test which defines uniqueness. 53 test_type: Type of the test result as defined in ResultType. [all …]
|
/aosp_15_r20/external/angle/build/android/pylib/base/ |
H A D | base_test_result.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 """Module containing base test results classes.""" 13 from lib.results import result_types 20 _MUTATION_SUFFIX_PATTERN = re.compile(r'^(.*)__([a-zA-Z]+)\.\.([a-zA-Z]+)_$') 24 """Class enumerating test types. 26 Wraps the results defined in //build/util/lib/results/. 38 """Get a list of all test types.""" 46 """Base class for a single test result.""" 52 name: Name of the test which defines uniqueness. 53 test_type: Type of the test result as defined in ResultType. [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/ |
H A D | BasicQueryTest.java | 43 import org.junit.Test; 113 .addAttribute(String.class, a -> a.name("id") 117 .addAttribute(Integer.class, a -> a.name("sort") 121 .addAttribute(Integer.class, a -> a.name("value") 128 .mapToObj(i -> new Record().setId("id-value").setSort(i).setValue(i)) 133 .mapToObj(i -> { 135 nestedTestRecord.setOuterAttribOne("id-value-" + i); 138 innerAttributeRecord.setAttribOne("attribOne-"+i); 150 …private DynamoDbTable<Record> mappedTable = enhancedClient.table(getConcreteTableName("table-name"… 152 …stedTestRecord> mappedNestedTable = enhancedClient.table(getConcreteTableName("nested-table-name"), [all …]
|
/aosp_15_r20/external/ltp/doc/old/man3/ |
H A D | tst_res.3 | 23 .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 34 .TH TST_RES 3 01/21/2011 "Linux Test Project" 36 tst_resm \- Print result message 38 tst_resm_hexd \- Print result message, including specified buffer in hexadecimal format 40 tst_brkm \- Print result message and break remaining test cases 42 tst_old_flush \- Print any messages pending because of CONDENSE mode, and flush output stream 44 tst_exit \- Exit test with a meaningful exit value 46 tst_environ \- Keep results coming to original stdout 48 \fB#include "test.h"\fR 72 This library of functions are used by UNICOS tests to report results to [all …]
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 42 * A {@link ITestInvocationListener} that will collect all test results. 44 * <p>Although the data structures used in this object are thread-safe, the {@link 51 name = "aggregate-metrics", 52 description = "attempt to add test metrics values for test runs with the same name.") 74 /** Track whether or not a test run is currently in progress */ 86 // Represents the merged test results. This should not be accessed directly since it's only 89 // Represents the number of tests in each TestStatus state of the merged test results. Indexed 95 /** Sets the {@link MergeStrategy} to use when merging results. */ 104 * test case). [all …]
|
/aosp_15_r20/external/autotest/client/site_tests/suite_HWQual/ |
H A D | README.txt | 2 Use of this source code is governed by a BSD-style license that can be 7 hardware qualification on a device under test. 13 - $: command line prompt 14 - $HOME: home directory of current user. 15 - AC: alternating current, implies device is not powered by battery. 16 - DUT: device under test 17 - Semi-Automated Test: test that runs with automation but requires manual 21 Test Setup 24 - Setup a Linux machine to serve as the Autotest server. The Autotest 30 - Create an installation directory on the Autotest server for the [all …]
|