/external/mesa3d/.gitlab-ci/ |
D | traces-radeonsi.yml | 6 expectations: 10 expectations: 14 expectations: 18 expectations: 22 expectations: 26 expectations: 30 expectations: 34 expectations: 38 expectations: 42 expectations: [all …]
|
D | traces-freedreno.yml | 6 expectations: 10 expectations: 14 expectations: 18 expectations: 22 expectations: 26 expectations: 30 expectations: 34 expectations: 40 expectations: 46 expectations: [all …]
|
D | traces-llvmpipe.yml | 6 expectations: 10 expectations: 14 expectations: 18 expectations: 22 expectations: 26 expectations: 30 expectations: 34 expectations: 38 expectations: 42 expectations: [all …]
|
D | traces-panfrost.yml | 6 expectations: 12 expectations: 18 expectations: 24 expectations: 30 expectations: 36 expectations: 42 expectations: 46 expectations: 52 expectations: 58 expectations: [all …]
|
D | traces-virgl.yml | 6 expectations: 10 expectations: 14 expectations: 18 expectations: 22 expectations: 26 expectations: 30 expectations:
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | expectations_parser_unittest.py | 38 for i in range(len(parser.expectations)): 39 self.assertEqual(parser.expectations[i], expected_outcome[i]) 73 for i in range(len(parser.expectations)): 74 self.assertEqual(parser.expectations[i], expected_outcome[i]) 88 for i in range(len(parser.expectations)): 89 self.assertEqual(parser.expectations[i], expected_outcome[i]) 98 for i in range(len(parser.expectations)): 99 self.assertEqual(parser.expectations[i], expected_outcome[i]) 108 for i in range(len(parser.expectations)): 109 self.assertEqual(parser.expectations[i], expected_outcome[i]) [all …]
|
D | expectations_parser.py | 18 """Constructor for expectations. 60 """Parse expectations data in TA/DA format. 65 Takes raw expectations data as a string read from the TA/DA expectation file 95 # Expectations must be after all tags are declared. 118 'Condition %s not found in expectations tag data. Line %d' 123 def expectations(self): member in TestExpectationParser
|
/external/skia/tests/ |
D | YUVTest.cpp | 94 SkYUVAInfo expectations = setExpectations({128, 128}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() local 95 codec_yuv(r, "images/color_wheel.jpg", &expectations); in DEF_TEST() 98 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() 99 codec_yuv(r, "images/mandrill_512_q075.jpg", &expectations); in DEF_TEST() 102 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k444); in DEF_TEST() 103 codec_yuv(r, "images/mandrill_h1v1.jpg", &expectations); in DEF_TEST() 106 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k422); in DEF_TEST() 107 codec_yuv(r, "images/mandrill_h2v1.jpg", &expectations); in DEF_TEST() 110 expectations = setExpectations({439, 154}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() 111 codec_yuv(r, "images/cropped_mandrill.jpg", &expectations); in DEF_TEST() [all …]
|
/external/mesa3d/.gitlab-ci/tracie/tests/ |
D | test.py | 91 def check_results_yaml_content(filename, expectations): argument 93 Checks the content of the filename with the list of expectations 98 expectations (list): A list with the content to find in the file 102 the expectations, False otherwise. 105 for e in expectations: 115 expectations = [ 119 assert check_results_yaml_content(RESULTS_YAML, expectations) 129 expectations = [ 134 assert check_results_yaml_content(RESULTS_YAML, expectations) 141 expectations: [all …]
|
/external/angle/src/tests/compiler_tests/ |
D | UnrollFlatten_test.cpp | 52 FAIL() << "Couldn't find '" << pattern << "' after expectations '" in expect() 64 << "' after expectations '" << mExpectationList in expect() 119 const char *expectations[] = {"fun(", "if", "fun2(", "for", "if", in TEST_F() local 121 expect(expectations, ArraySize(expectations)); in TEST_F() 158 const char *expectations[] = {"fun(", "texture2D(", "fun2(", "LOOP", "for", "if", in TEST_F() local 160 expect(expectations, ArraySize(expectations)); in TEST_F() 196 const char *expectations[] = { in TEST_F() local 199 expect(expectations, ArraySize(expectations)); in TEST_F() 226 const char *expectations[] = {"main(", "LOOP", "Lod0("}; in TEST_F() local 227 expect(expectations, ArraySize(expectations)); in TEST_F()
|
/external/skqp/bench/ |
D | check_bench_regressions.py | 108 def read_expectations(expectations, filename): argument 109 """Reads expectations data from file and put in expectations dict.""" 118 if bench_entry in expectations: 122 expectations[bench_entry] = (float(elements[LB_IDX]), 126 def check_expectations(lines, expectations, key_suffix): argument 129 For each input line in lines, checks the expectations dictionary to see if 134 expectations: dictionary returned by read_expectations(). 157 if bench_platform_key not in expectations: 160 this_min, this_max, this_expected = expectations[bench_platform_key] 194 """Parses command line and checks bench expectations."""
|
/external/skia/bench/ |
D | check_bench_regressions.py | 112 def read_expectations(expectations, filename): argument 113 """Reads expectations data from file and put in expectations dict.""" 122 if bench_entry in expectations: 126 expectations[bench_entry] = (float(elements[LB_IDX]), 130 def check_expectations(lines, expectations, key_suffix): argument 133 For each input line in lines, checks the expectations dictionary to see if 138 expectations: dictionary returned by read_expectations(). 161 if bench_platform_key not in expectations: 164 this_min, this_max, this_expected = expectations[bench_platform_key] 198 """Parses command line and checks bench expectations."""
|
/external/skqp/tools/ |
D | jsondiff.py | 11 Gathers diffs between 2 JSON expectations files, or between actual and 72 2. All expectations are of type JSONKEY_HASHTYPE_BITMAP_64BITMD5. 77 Any tests for which we have no expectations will be left out of the 156 old = expectations within oldfile 157 new = expectations within newfile 168 old = expectations within oldjson 169 new = expectations within newjson 186 help='Path to JSON file whose expectations to display on ' + 191 help='Path to JSON file whose expectations to display on ' +
|
/external/skia/tools/ |
D | jsondiff.py | 11 Gathers diffs between 2 JSON expectations files, or between actual and 72 2. All expectations are of type JSONKEY_HASHTYPE_BITMAP_64BITMD5. 77 Any tests for which we have no expectations will be left out of the 156 old = expectations within oldfile 157 new = expectations within newfile 168 old = expectations within oldjson 169 new = expectations within newjson 186 help='Path to JSON file whose expectations to display on ' + 191 help='Path to JSON file whose expectations to display on ' +
|
/external/googletest/googlemock/src/ |
D | gmock-spec-builders.cc | 68 // mockers, and all expectations. 116 ::std::vector<ExpectationBase*> expectations(1, this); in RetireAllPreRequisites() 117 while (!expectations.empty()) { in RetireAllPreRequisites() 118 ExpectationBase* exp = expectations.back(); in RetireAllPreRequisites() 119 expectations.pop_back(); in RetireAllPreRequisites() 127 expectations.push_back(next); in RetireAllPreRequisites() 138 ::std::vector<const ExpectationBase*> expectations(1, this); in AllPrerequisitesAreSatisfied() 139 while (!expectations.empty()) { in AllPrerequisitesAreSatisfied() 140 const ExpectationBase* exp = expectations.back(); in AllPrerequisitesAreSatisfied() 141 expectations.pop_back(); in AllPrerequisitesAreSatisfied() [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 87 private static final Map<String, Map<String, byte[]>> EXPECTATIONS field in MessageDigestTest 91 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in putExpectation() local 92 if (expectations == null) { in putExpectation() 93 expectations = new HashMap<String, byte[]>(); in putExpectation() 94 EXPECTATIONS.put(algorithm, expectations); in putExpectation() 96 expectations.put(inputName, expected); in putExpectation() 100 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in getExpectations() local 101 if (expectations == null) { in getExpectations() 102 throw new Exception("No expectations for MessageDigest." + algorithm); in getExpectations() 104 return expectations; in getExpectations()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 90 private static final Map<String, Map<String, byte[]>> EXPECTATIONS field in MessageDigestTest 94 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in putExpectation() local 95 if (expectations == null) { in putExpectation() 96 expectations = new HashMap<String, byte[]>(); in putExpectation() 97 EXPECTATIONS.put(algorithm, expectations); in putExpectation() 99 expectations.put(inputName, expected); in putExpectation() 103 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in getExpectations() local 104 if (expectations == null) { in getExpectations() 105 throw new Exception("No expectations for MessageDigest." + algorithm); in getExpectations() 107 return expectations; in getExpectations()
|
/external/googletest/docs/ |
D | gmock_for_dummies.md | 19 * **Mocks** are objects pre-programmed with *expectations*, which form a 35 2. next, you create some mock objects and specify its expectations and behavior 38 violation to the expectations as soon as it arises. 215 3. Specify your expectations on them (How many times will a method be called? 221 expectations on it have been satisfied. 264 **Important note:** gMock requires expectations to be set **before** the mock 278 ## Setting Expectations 280 The key to using a mock object successfully is to set the *right expectations* 281 on it. If you set the expectations too strict, your test will fail as the result 339 it makes expectations easily identifiable (either by `grep` or by a human [all …]
|
D | gmock_faq.md | 82 ### I can't figure out why gMock thinks my expectations are not satisfied. What should I do? 86 trace, you'll gain insights on why the expectations you set are not met. 101 intercepts these messages and finds that they don't match any expectations, it 104 You can learn to ignore the errors, or you can rewrite your expectations to make 128 arguments, the state of relevant expectations, and etc) to help the user debug. 130 state of relevant expectations. 170 ### The "newer expectations override older ones" rule makes writing expectations awkward. Why does … 178 // 2 the second time. However, I have to write the expectations in the 191 By default, expectations don't have to be matched in *any* particular order. If 197 expectations in sequence: [all …]
|
D | gmock_cheat_sheet.md | 102 4. Set your expectations on the mock objects (How will they be called? What 107 expectations on it have been satisfied. 124 // ... other expectations ... 186 ## Setting Expectations {#ExpectCall} 188 `EXPECT_CALL()` sets **expectations** on a mock method (How will it be called? 196 .After(expectations) * 358 By default, the expectations can be matched in *any* order. If some or all 359 expectations must be matched in a given order, there are two ways to specify it. 398 When you have a long chain of sequential expectations, it's easier to specify 422 To put many expectations in a sequence conveniently: [all …]
|
/external/easymock/src/org/easymock/ |
D | IMocksControl.java | 42 * Removes all expectations for the mock objects of this control. 47 * Removes all expectations for the mock objects of this control and turn 53 * Removes all expectations for the mock objects of this control and turn 59 * Removes all expectations for the mock objects of this control and turn 70 * Verifies that all expectations were met.
|
/external/vogar/src/vogar/ |
D | ExpectationStore.java | 37 * <li>Outcome expectations name an outcome (or its prefix, such as 40 * <li>Failure expectations include a pattern that may match the output of any 41 * outcome. These expectations are useful for hiding failures caused by 124 log.verbose("loading expectations file " + expectationsFile); in parse() 138 log.verbose("loaded " + count + " expectations from " + expectationsFile); in parse() 188 log.warn("Unhandled name in expectations file: " + name); in readExpectation() 212 throw new IllegalArgumentException("Duplicate expectations for " + name); in readExpectation() 258 * Sets the bugIsOpen status on all expectations by querying an external bug 280 // update our expectations with that set in loadBugStatuses()
|
/external/perfetto/src/trace_processor/ |
D | trace_sorter_unittest.cc | 194 std::map<int64_t /*ts*/, std::vector<uint32_t /*cpu*/>> expectations; in TEST_F() local 197 .WillRepeatedly(Invoke([&expectations](uint32_t cpu, int64_t timestamp, in TEST_F() 199 EXPECT_EQ(expectations.begin()->first, timestamp); in TEST_F() 200 auto& cpus = expectations.begin()->second; in TEST_F() 210 expectations.erase(expectations.begin()); in TEST_F() 219 expectations[ts].push_back(cpu); in TEST_F() 227 EXPECT_TRUE(expectations.empty()); in TEST_F()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | PeerConnectionEndToEndTest.java | 447 // Return a set of expectations that haven't been satisfied yet, possibly 448 // empty if no such expectations exist. 513 // - avoid serializing expectations explicitly; the test is not as robust in waitForAllExpectationsToBeSatisfied() 514 // as it could be because it must place expectations between wait in waitForAllExpectationsToBeSatisfied() 1142 // Wait until we satisfy all expectations in the setup. in testSurfaceIceCandidatesWhenIceTransportTypeChanged() 1397 ObserverExpectations expectations = new ObserverExpectations("PC under test"); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() local 1398 PeerConnection pcUnderTest = factory.createPeerConnection(iceServers, expectations); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1417 expectations.expectSignalingChange(SignalingState.HAVE_REMOTE_OFFER); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1418 expectations.expectAddStream("stream"); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1422 MediaStream remoteStream = expectations.gotRemoteStreams.iterator().next(); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() [all …]
|
/external/skia/tools/skpbench/ |
D | _hardware.py | 86 def check_all(expectations, stringvalues): argument 87 if len(stringvalues) != len(expectations): 90 (len(expectations), '\n'.join(stringvalues))) 92 for value, expected in zip(stringvalues, expectations):
|