Home
last modified time | relevance | path

Searched refs:expectedData (Results 1 – 23 of 23) sorted by relevance

/external/libmojo/mojo/public/js/
Dvalidation_unittests.js43 function checkData(data, expectedData, input) { argument
44 if (data.byteLength != expectedData.byteLength) {
46 "expected length: " + expectedData.byteLength;
51 if (data.getUint8(i) != expectedData.getUint8(i)) {
61 var expectedData = new buffer.Buffer(12);
62 expectedData.setFloat32(0, +.3e9);
63 expectedData.setFloat64(4, -10.03);
64 checkData(msg.buffer, expectedData, input);
71 var expectedData = new buffer.Buffer(17);
72 expectedData.setUint8(0, 0x10);
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java375 final byte[] expectedData = new byte[Http2.INITIAL_MAX_FRAME_SIZE]; in maxLengthDataFrame()
376 Arrays.fill(expectedData, (byte) 2); in maxLengthDataFrame()
378 writeMedium(frame, expectedData.length); in maxLengthDataFrame()
382 frame.write(expectedData); in maxLengthDataFrame()
385 assertEquals(frame, sendDataFrame(new Buffer().write(expectedData))); in maxLengthDataFrame()
403 byte[] expectedData = new byte[Http2.INITIAL_MAX_FRAME_SIZE]; in compressedDataFrameWhenSettingDisabled()
404 Arrays.fill(expectedData, (byte) 2); in compressedDataFrameWhenSettingDisabled()
405 Buffer zipped = gzip(expectedData); in compressedDataFrameWhenSettingDisabled()
425 byte[] expectedData = new byte[dataLength]; in readPaddedDataFrame()
426 Arrays.fill(expectedData, (byte) 2); in readPaddedDataFrame()
[all …]
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DMockFutureListener.java60 public void assertSuccess(Object expectedData) throws Throwable { in assertSuccess() argument
65 Assert.assertEquals(expectedData, future.get()); in assertSuccess()
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTestCase.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
208 * @param expectedData - the expected data
210 protected assertSessionDataWithEndOfLine(String expectedData) {
211 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTestCase.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
208 * @param expectedData - the expected data
210 protected assertSessionDataWithEndOfLine(String expectedData) {
211 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
208 * @param expectedData - the expected data
210 protected assertSessionDataWithEndOfLine(String expectedData) {
211 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTestCase.groovy197 * @param expectedData - the expected data
199 protected assertSessionData(String expectedData) {
202 assert actual == expectedData
207 * @param expectedData - the expected data
209 protected assertSessionDataWithEndOfLine(String expectedData) {
210 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTestCase.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
208 * @param expectedData - the expected data
210 protected assertSessionDataWithEndOfLine(String expectedData) {
211 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
208 * @param expectedData - the expected data
210 protected assertSessionDataWithEndOfLine(String expectedData) {
211 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTestCase.groovy197 * @param expectedData - the expected data
199 protected assertSessionData(String expectedData) {
202 assert actual == expectedData
207 * @param expectedData - the expected data
209 protected assertSessionDataWithEndOfLine(String expectedData) {
210 assertSessionData(expectedData + endOfLine())
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
208 * @param expectedData - the expected data
210 protected assertSessionDataWithEndOfLine(String expectedData) {
211 assertSessionData(expectedData + endOfLine())
/external/protobuf/objectivec/Tests/
DGPBUtilitiesTests.m123 NSData *expectedData =
125 NSString *expected = [[NSString alloc] initWithData:expectedData
163 NSData *expectedData =
165 NSString *expected = [[NSString alloc] initWithData:expectedData
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java23 String input, boolean isInputValid, ByteBuffer expectedData, int expectedHandlesCount) { in checkInputParser() argument
27 assertEquals(expectedData, data.getData()); in checkInputParser()
/external/skia/tests/
DIntTextureTest.cpp232 std::unique_ptr<uint32_t[]> expectedData(new uint32_t[kS * kS]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
240 expectedData.get()[i] = ((0xFF * a) << 24) | ((0xFF * b) << 16) | in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
277 check_pixels(reporter, kS, kS, expectedData.get(), actualData.get(), filter.fName); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy160 * @param expectedData - the expected data
162 protected assertSessionData(String expectedData) {
165 assert actual == expectedData
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy194 * @param expectedData - the expected data
196 protected assertSessionData(String expectedData) {
199 assert actual == expectedData
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/command/
DAbstractFakeCommandHandlerTest.groovy198 * @param expectedData - the expected data
200 protected assertSessionData(String expectedData) {
203 assert actual == expectedData
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp1114 std::ostringstream expectedData; in iterate() local
1129 expectedData << "... "; in iterate()
1139 expectedData << (i > 0 ? ", " : "") << (deUint32)expected.data[byteNdx]; in iterate()
1145 expectedData << "..."; in iterate()
1149 … log << TestLog::Message << "Expected data: (" << expectedData.str() << ")" << TestLog::EndMessage; in iterate()
DvktSynchronizationWin32KeyedMutexTests.cpp1677 std::ostringstream expectedData; in iterate() local
1692 expectedData << "... "; in iterate()
1702 expectedData << (i > 0 ? ", " : "") << (deUint32)expected.data[byteNdx]; in iterate()
1708 expectedData << "..."; in iterate()
1712 … log << TestLog::Message << "Expected data: (" << expectedData.str() << ")" << TestLog::EndMessage; in iterate()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java4037 String expectedData; field in TransliteratorTest.NormTranslitTask
4040 NormTranslitTask(Transliterator translit, String testData, String expectedData) { in NormTranslitTask() argument
4043 this.expectedData = expectedData; in NormTranslitTask()
4049 StringBuffer expectedBuf = new StringBuffer(expectedData); in run()
4060 expectedBuf.append(expectedData); in run()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java4036 String expectedData; field in TransliteratorTest.NormTranslitTask
4039 NormTranslitTask(Transliterator translit, String testData, String expectedData) { in NormTranslitTask() argument
4042 this.expectedData = expectedData; in NormTranslitTask()
4048 StringBuffer expectedBuf = new StringBuffer(expectedData); in run()
4059 expectedBuf.append(expectedData); in run()