Home
last modified time | relevance | path

Searched +full:test +full:- +full:result (Results 1 – 25 of 1200) sorted by relevance

12345678910>>...48

/external/autotest/server/cros/tradefed/tradefed_utils_unittest_data/
Dtest_result.xml1 <?xml version='1.0' encoding='UTF-8' standalone='no' ?><?xml-stylesheet type="text/xsl" href="compa…
2Result start="1574806920561" end="1574821648666" start_display="Tue Nov 26 14:22:00 PST 2019" end_…
3-v7a,armeabi" build_product="asuka" build_brand="google" build_board="asuka" build_serial="65602BC…
8 <Module name="CtsMediaTestCases" abi="armeabi-v7a" runtime="14645648" done="true" pass="2153">
10 <Test result="pass" name="testH263_adaptiveDrc" />
11 <Test result="pass" name="testH263_adaptiveEarlyEos" />
12 <Test result="pass" name="testH263_adaptiveEosFlushSeek" />
13 <Test result="pass" name="testH263_adaptiveReconfigDrc" />
14 <Test result="pass" name="testH263_adaptiveSkipAhead" />
15 <Test result="pass" name="testH263_adaptiveSkipBack" />
[all …]
/external/crosvm/rutabaga_gfx/ffi/src/tests/
Drutabaga_test.c3 * Use of this source code is governed by a BSD-style license that can be
21 #define CHECK_RESULT(result) \ argument
23 if (result) { \
25 return result; \
33 return -EINVAL; \
56 static char *s_wayland_path = "/run/user/1000/wayland-0";
72 struct rutabaga_test *test = (void *)(uintptr_t)user_data; in rutabaga_test_write_fence() local
73 test->value = fence->fence_id; in rutabaga_test_write_fence()
78 if (debug->message) { in rutabaga_test_debug_cb()
79 printf("The debug message is %s\n", debug->message); in rutabaga_test_debug_cb()
[all …]
/external/python/absl-py/absl/testing/tests/
Dxml_reporter_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
56 return "This is this test's description."
71 (' <testcase name="%(test_name)s" status="%(status)s" result="%(result)s"'
114 (r' <error message="" type=""><!\[CDATA\[Test case '
146 def _simulate_error_test(self, test, result): argument
147 result.startTest(test)
148 result.addError(test, self.get_sample_error())
149 result.stopTest(test)
151 def _simulate_failing_test(self, test, result): argument
152 result.startTest(test)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_result.py4 from test import test_support
21 result = unittest.TestResult()
23 self.assertTrue(result.wasSuccessful())
24 self.assertEqual(len(result.errors), 0)
25 self.assertEqual(len(result.failures), 0)
26 self.assertEqual(result.testsRun, 0)
27 self.assertEqual(result.shouldStop, False)
28 self.assertIsNone(result._stdout_buffer)
29 self.assertIsNone(result._stderr_buffer)
36 result = unittest.TestResult()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-nistz_tests.txt3 # The following tests satisfy A = -B (mod P).
5 Test = Negate
9 Test = Negate
13 Test = Negate
17 Test = Negate
21 Test = Negate
25 Test = Negate
29 Test = Negate
33 Test = Negate
37 Test = Negate
[all …]
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/ec/
Dp256-nistz_tests.txt3 # The following tests satisfy A = -B (mod P).
5 Test = Negate
9 Test = Negate
13 Test = Negate
17 Test = Negate
21 Test = Negate
25 Test = Negate
29 Test = Negate
33 Test = Negate
37 Test = Negate
[all …]
/external/pigweed/pw_result/
Dresult_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
15 // pw::Result is derived from absl::StatusOr, but has some small differences.
16 // This test covers basic pw::Result functionality and as well as the features
17 // supported by pw::Result that are not supported by absl::StatusOr (constexpr
20 // The complete, thorough pw::Result tests are in statusor_test.cc, which is
23 #include "pw_result/result.h"
34 TEST(Result, CreateOk) { in TEST() function
35 Result<const char*> res("hello"); in TEST()
41 TEST(Result, CreateOkTypeDeduction) { in TEST() function
42 auto res = Result("hello"); in TEST()
[all …]
Dstatusor_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
16 // inclusive-language: disable
17 // https://github.com/abseil/abseil-cpp/blob/master/absl/status/statusor_test.cc
18 // inclusive-language: enable
32 #include "pw_result/result.h"
117 pw::Result<std::unique_ptr<int>> ReturnUniquePtr() { in ReturnUniquePtr()
122 TEST(Result, ElementType) { in TEST() function
123 static_assert(std::is_same<pw::Result<int>::value_type, int>()); in TEST()
124 static_assert(std::is_same<pw::Result<char>::value_type, char>()); in TEST()
127 TEST(Result, TestMoveOnlyInitialization) { in TEST() function
[all …]
/external/cronet/third_party/boringssl/src/third_party/wycheproof_testvectors/
Deddsa_test.txt16 result = valid
21 result = valid
26 result = valid
31 result = valid
36 result = valid
41 result = valid
46 result = valid
51 result = valid
56 result = valid
62 result = invalid
[all …]
Dprimality_test.txt10 result = invalid
15 result = invalid
20 result = invalid
24 # Non-prime Mersenne number that is pseudoprime to base 2
25 result = invalid
29 # Non-prime Mersenne number that is pseudoprime to base 2
30 result = invalid
34 # Non-prime Fermat number
35 result = invalid
39 # Non-prime Fermat number
[all …]
/external/boringssl/src/third_party/wycheproof_testvectors/
Deddsa_test.txt16 result = valid
21 result = valid
26 result = valid
31 result = valid
36 result = valid
41 result = valid
46 result = valid
51 result = valid
56 result = valid
62 result = invalid
[all …]
Dprimality_test.txt10 result = invalid
15 result = invalid
20 result = invalid
24 # Non-prime Mersenne number that is pseudoprime to base 2
25 result = invalid
29 # Non-prime Mersenne number that is pseudoprime to base 2
30 result = invalid
34 # Non-prime Fermat number
35 result = invalid
39 # Non-prime Fermat number
[all …]
/external/python/cpython2/Lib/unittest/
Dsuite.py17 """A simple test suite that doesn't provide class or module shared fixtures.
42 for test in self:
43 cases += test.countTestCases()
46 def addTest(self, test): argument
48 if not hasattr(test, '__call__'):
49 raise TypeError("{} is not callable".format(repr(test)))
50 if isinstance(test, type) and issubclass(test,
54 self._tests.append(test)
59 for test in tests:
60 self.addTest(test)
[all …]
/external/python/cpython3/Lib/unittest/
Dsuite.py17 """A simple test suite that doesn't provide class or module shared fixtures.
39 for test in self:
40 if test:
41 cases += test.countTestCases()
44 def addTest(self, test): argument
46 if not callable(test):
47 raise TypeError("{} is not callable".format(repr(test)))
48 if isinstance(test, type) and issubclass(test,
52 self._tests.append(test)
57 for test in tests:
[all …]
/external/cronet/net/dns/
Dhost_resolver_internal_result_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
23 #include "third_party/abseil-cpp/absl/types/optional.h"
32 TEST(HostResolverInternalResultTest, DeserializeMalformedValue) { in TEST() function
44 TEST(HostResolverInternalResultTest, DataResult) { in TEST() function
45 auto result = std::make_unique<HostResolverInternalDataResult>( in TEST() local
46 "domain.test", DnsQueryType::AAAA, base::TimeTicks(), base::Time(), in TEST()
50 std::vector<HostPortPair>{HostPortPair("anotherdomain.test", 112)}); in TEST()
52 EXPECT_EQ(result->domain_name(), "domain.test"); in TEST()
53 EXPECT_EQ(result->query_type(), DnsQueryType::AAAA); in TEST()
54 EXPECT_EQ(result->type(), HostResolverInternalResult::Type::kData); in TEST()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DRandomUtilsTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
30 import org.junit.jupiter.api.Test;
40 private static final double DELTA = 1e-5;
42 @Test
52 @Test
54 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextBytes(-1)); in testNextBytesNegative()
57 @Test
59 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextInt(-1, 1)); in testNextIntNegative()
62 @Test
64 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextLong(-1, 1)); in testNextLongNegative()
[all …]
/external/cronet/testing/flake_suppressor_common/
Ddata_types_unittest.py3 # Use of this source code is governed by a BSD-style license that can be
14 def testAppliesToResultNonResult(self) -> None:
15 """Tests that AppliesToResult properly fails when given a non-Result."""
16 e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
17 fake_result = typing.cast(data_types.Result, None)
21 def testAppliesToResultApplies(self) -> None:
24 e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
25 r = data_types.Result('suite', 'test', ('win', 'nvidia'), 'id')
28 r = data_types.Result('suite', 'test', ('win', 'nvidia'), 'id', 'FAIL')
31 r = data_types.Result('suite',
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_result.py5 from test.support import warnings_helper, captured_stdout, captured_stderr
17 result = ['A traceback']
19 result.append('locals')
20 return result
23 unittest.result.traceback = traceback
38 self.result = ''
45 self.result += self.buffer
49 return self.result
63 result = unittest.TestResult()
65 self.assertTrue(result.wasSuccessful())
[all …]
/external/pigweed/pw_unit_test/public/pw_unit_test/internal/
Dtest_record_trie.h7 // https://www.apache.org/licenses/LICENSE-2.0
26 // Version of the JSON Test Result Format. Format can be found at
30 /// A class that records test results as a trie, or prefix tree, and is capable
32 /// hierarchical format to reduce duplication of test suite names.
35 /// Constructor that initializes the root test record trie node.
38 root_->prefix = "test_results"; in TestRecordTrie()
40 failing_results_root_->prefix = "test_results"; in TestRecordTrie()
43 /// Destructor that deletes all the allocated memory for the test record trie.
49 /// Adds a test result into the trie, creating new trie nodes if needed.
50 /// If the test case's result is a failure, record it in the failing-results
[all …]
/external/rust/crates/ring/tests/
Decdsa_verify_asn1_tests.txt1 # Test vectors for short values of s.
4 Curve = P-256
9 Result = P (0 )
12 Curve = P-256
17 Result = P (0 )
20 Curve = P-256
25 Result = P (0 )
28 Curve = P-384
33 Result = P (0 )
36 Curve = P-384
[all …]
/external/guava/guava-tests/test/com/google/common/graph/
DTraverserTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
33 import org.junit.Test;
44 * b ---- a ---- d
47 * e ---- c ---- f
68 * Same as {@link #DIAMOND_GRAPH}, but with an extra c->a edge and some self edges:
78 * {@code <>} indicates a self-loop
83 /** A directed graph with a single cycle: a -> b -> c -> d -> a. */
88 * Same as {@link #CYCLE_GRAPH}, but with an extra a->c edge.
91 * |--------------|
93 * a -> b -> c -> d
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DTraverserTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
33 import org.junit.Test;
44 * b ---- a ---- d
47 * e ---- c ---- f
68 * Same as {@link #DIAMOND_GRAPH}, but with an extra c->a edge and some self edges:
78 * {@code <>} indicates a self-loop
83 /** A directed graph with a single cycle: a -> b -> c -> d -> a. */
88 * Same as {@link #CYCLE_GRAPH}, but with an extra a->c edge.
91 * |--------------|
93 * a -> b -> c -> d
[all …]
/external/rust/crates/googletest/tests/
Dunordered_elements_are_matcher_test.rs7 // http://www.apache.org/licenses/LICENSE-2.0
20 #[test]
21 fn unordered_elements_are_matches_empty_vector() -> Result<()> { in unordered_elements_are_matches_empty_vector()
26 #[test]
27 fn unordered_elements_are_matches_empty_vector_with_trailing_comma() -> Result<()> { in unordered_elements_are_matches_empty_vector_with_trailing_comma()
32 #[test]
33 fn unordered_elements_are_matches_vector() -> Result<()> { in unordered_elements_are_matches_vector()
38 #[test]
39 fn unordered_elements_are_omitted() -> Result<()> { in unordered_elements_are_omitted()
44 #[test]
[all …]
/external/llvm-libc/test/src/string/
Dstrncmp_test.cpp1 //===-- Unittests for strncmp ---------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "test/UnitTest/Test.h"
15 TEST(LlvmLibcStrNCmpTest, EmptyStringsShouldReturnZeroWithSufficientLength) { in TEST() function
18 int result = LIBC_NAMESPACE::strncmp(s1, s2, 1); in TEST() local
19 ASSERT_EQ(result, 0); in TEST()
22 result = LIBC_NAMESPACE::strncmp(s2, s1, 1); in TEST()
23 ASSERT_EQ(result, 0); in TEST()
26 TEST(LlvmLibcStrNCmpTest, in TEST() function
[all …]
/external/python/mobly/mobly/
Drecords.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """This module has classes for test result collection, and test result output."""
41 """The type of parent in a chain of executions of the same test."""
48 """Decorator specifying the unique identifier (UID) of a test case.
50 The UID will be recorded in the test's record when executed by Mobly.
52 If you use any other decorator for the test method, you may want to use
53 this as the outer-most one.
59 uid: string, the uid for the decorated test function.
76 """Constants used to identify the type of entries in test summary file.
78 Test summary file contains multiple yaml documents. In order to parse this
[all …]

12345678910>>...48