| /external/apache-commons-io/src/test/java/org/apache/commons/io/ |
| 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 …]
|
| 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 …]
|
| /external/cronet/build/android/pylib/results/flakiness_dashboard/ |
| 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 …]
|
| /external/angle/build/android/pylib/results/flakiness_dashboard/ |
| 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 …]
|
| /external/cronet/net/dns/ |
| D | dns_response_result_extractor_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 13 #include "base/test/simple_test_clock.h" 14 #include "base/test/simple_test_tick_clock.h" 30 #include "net/test/gtest_util.h" 33 #include "third_party/abseil-cpp/absl/types/optional.h" 56 class DnsResponseResultExtractorTest : public ::testing::Test { 63 constexpr char kName[] = "address.test"; in TEST_F() 69 ResultsOrError results = in TEST_F() local 74 ASSERT_TRUE(results.has_value()); in TEST_F() 75 EXPECT_THAT(results.value(), in TEST_F() [all …]
|
| /external/apache-xml/test/java/xdocs/sources/tests/ |
| 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 …]
|
| /external/ltp/doc/man3/ |
| 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 …]
|
| /external/cronet/build/android/pylib/base/ |
| 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 …]
|
| /external/angle/build/android/pylib/base/ |
| 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 …]
|
| /external/autotest/client/common_lib/ |
| 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 …]
|
| /external/python/mobly/tests/mobly/ |
| D | test_runner_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 39 """This test class has unit tests for the implementation of everything 63 self.assertEqual(expected_info_dict['Test Class'], info.test_class) 71 2. The original configuration is not altered if a test controller 90 results = tr.results.summary_dict() 91 self.assertEqual(results['Requested'], 2) 92 self.assertEqual(results['Executed'], 2) 93 self.assertEqual(results['Passed'], 2) 100 'Test Class': 'IntegrationTest', 103 tr.results.controller_info[0], expected_info_dict [all …]
|
| /external/mbedtls/tests/scripts/ |
| D | check_test_cases.py | 3 """Sanity checks for test data. 5 This program contains a class for traversing test cases that can be used 10 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 19 class Results: class 20 """Store file and line information about errors or warnings in test suites.""" 39 """An iterator over test cases with descriptions. 41 The test cases that have descriptions are: 42 * Individual unit tests (entries in a .data file) in test suites. 43 * Individual test cases in ssl-opt.sh. 51 """Process a test case. [all …]
|
| /external/openthread/third_party/mbedtls/repo/tests/scripts/ |
| D | check_test_cases.py | 3 """Sanity checks for test data. 5 This program contains a class for traversing test cases that can be used 10 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 19 class Results: class 20 """Store file and line information about errors or warnings in test suites.""" 39 """An iterator over test cases with descriptions. 41 The test cases that have descriptions are: 42 * Individual unit tests (entries in a .data file) in test suites. 43 * Individual test cases in ssl-opt.sh. 51 """Process a test case. [all …]
|
| D | analyze_outcomes.py | 3 """Analyze the test outcomes from a full CI run. 5 This script can also run on outcomes from a partial run, but the results are 16 class Results: class 17 """Process analysis results.""" 36 """The outcomes of one test case across many configurations.""" 37 # pylint: disable=too-few-public-methods 40 # Collect a list of witnesses of the test case succeeding or failing. 48 """Return the number of times a test case has been run. 54 def analyze_coverage(results, outcomes, allow_list, full_coverage): argument 55 """Check that all available test cases are executed at least once.""" [all …]
|
| /external/toybox/tests/ |
| D | ifconfig.test | 6 # Commands used: grep, grep -i, ip link, ip tuntap, wc -l 15 # hw ether|infiniband ADDRESS - set LAN hardware address (AA:BB:CC...) 16 # txqueuelen LEN - number of buffered packets before output blocks 18 # irq|io_addr|mem_start ADDR - micromanage obsolete hardware 19 # outfill|keepalive INTEGER - SLIP analog dialup line quality monitoring 20 # metric INTEGER - added to Linux 0.9.10 with comment "never used", still true 24 [ -f testing.sh ] && . testing.sh 26 if [ "$(id -u)" -ne 0 ] 33 # Add a dummy interface to test with 42 # Results Expected: After calling ifconfig, no lines with dummy0 are displayed [all …]
|
| /external/ltp/ |
| 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 - manjo@mail.utexas.edu 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 - robbiew@us.ibm.com 38 # March 31 2003 - Made scenario menu creation dynamic and code 39 # to pull the test descriptions from the scenario files. [all …]
|
| /external/autotest/client/site_tests/suite_HWQual/ |
| 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 …]
|
| /external/mesa3d/.gitlab-ci/test/ |
| D | gitlab-ci.yml | 1 .test: 7 - !reference [default, before_script] 9 - rm -rf install 10 - tar -xf artifacts/install.tar 11 - section_start ldd_section "Checking ldd on driver build" 12 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \; 13 - section_end ldd_section 18 - results/ 20 - !reference [.never-post-merge-rules, rules] 22 .formatting-check: [all …]
|
| /external/swiftshader/tests/regres/deqp/ |
| 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 …]
|
| /external/angle/build/android/pylib/results/ |
| D | report_results.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 """Module containing utility functions for reporting results.""" 13 from pylib.results.flakiness_dashboard import results_uploader 17 def _LogToFile(results, test_type, suite_name): argument 18 """Log results to local files which can be used for aggregation later.""" 27 '\n%s results for %s build %s:' % 31 logging.info('Writing results to %s.', full_file_name) 33 logging.info('Writing results to %s.', full_file_name) 37 '%s%s' % (shortened_suite_name.ljust(30), results.GetShortForm()), 41 def _LogToFlakinessDashboard(results, test_type, test_package, argument [all …]
|
| /external/cronet/build/android/pylib/results/ |
| D | report_results.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 """Module containing utility functions for reporting results.""" 13 from pylib.results.flakiness_dashboard import results_uploader 17 def _LogToFile(results, test_type, suite_name): argument 18 """Log results to local files which can be used for aggregation later.""" 27 '\n%s results for %s build %s:' % 31 logging.info('Writing results to %s.', full_file_name) 33 logging.info('Writing results to %s.', full_file_name) 37 '%s%s' % (shortened_suite_name.ljust(30), results.GetShortForm()), 41 def _LogToFlakinessDashboard(results, test_type, test_package, argument [all …]
|
| /external/cronet/base/strings/ |
| D | string_split_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 18 class SplitStringIntoKeyValuePairsTest : public testing::Test { 29 ':', // Key-value delimiter in TEST_F() 30 ",", // Key-value pair delimiter in TEST_F() 38 ':', // Key-value delimiter in TEST_F() 39 ",,", // Key-value pair delimiter in TEST_F() 52 ':', // Key-value delimiter in TEST_F() 53 ",,,", // Key-value pair delimiter in TEST_F() 63 ':', // Key-value delimiter in TEST_F() 64 ",", // Key-value pair delimiter in TEST_F() [all …]
|
| /external/libchrome/base/strings/ |
| D | string_split_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 class SplitStringIntoKeyValuePairsTest : public testing::Test { 26 ':', // Key-value delimiter in TEST_F() 27 ',', // Key-value pair delimiter in TEST_F() 34 ':', // Key-value delimiter in TEST_F() 35 ',', // Key-value pair delimiter in TEST_F() 46 ':', // Key-value delimiter in TEST_F() 47 ',', // Key-value pair delimiter in TEST_F() 58 ':', // Key-value delimiter in TEST_F() 59 ',', // Key-value pair delimiter in TEST_F() [all …]
|
| /external/autotest/site_utils/ |
| 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 …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/ |
| 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 …]
|