Home
last modified time | relevance | path

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

12

/external/angle/src/tests/gl_tests/
DVertexAttributeTest.cpp173 expectedData(expectedDataIn) in TestData()
182 const GLfloat *expectedData; member
209 glVertexAttribPointer(mExpectedAttrib, typeSize, GL_FLOAT, GL_FALSE, 0, test.expectedData); in setupTest()
400 std::array<GLfloat, kVertexCount> &expectedData) in InitTestData() argument
405 expectedData[count] = inputData[count]; in InitTestData()
420 std::array<GLfloat, kVertexCount> expectedData; in TEST_P() local
423 expectedData[i] = inputData[i]; in TEST_P()
427 expectedData.data()); in TEST_P()
435 std::array<GLfloat, kVertexCount> expectedData; in TEST_P() local
438 expectedData[i] = Normalize(inputData[i]); in TEST_P()
[all …]
DGetImageTest.cpp156 std::vector<GLColor> expectedData = {GLColor::red, GLColor::blue, GLColor::green, in TEST_P() local
162 GLTexture tex = InitTextureWithSize(kSmallSize, expectedData.data()); in TEST_P()
175 EXPECT_EQ(expectedData, actualData); in TEST_P()
184 const std::array<std::array<GLColor, kSmallSize * kSmallSize>, kCubeFaces.size()> expectedData = in TEST_P() local
200 GL_UNSIGNED_BYTE, expectedData[faceIndex].data()); in TEST_P()
214 EXPECT_EQ(expectedData[faceIndex], actualData); in TEST_P()
224 std::vector<GLColor> expectedData = {GLColor::red, GLColor::blue, GLColor::green, in TEST_P() local
237 GLTexture tex = InitTextureWithSize(kSmallSize, expectedData.data()); in TEST_P()
250 EXPECT_EQ(expectedData, actualData); in TEST_P()
DSwizzleTest.cpp422 GLColor expectedData(data.R, data.R, data.R, data.R); in TEST_P() local
423 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedData); in TEST_P()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayStencilAttachments.cpp831 glw::GLubyte expectedData[] = { 0, 0, 0, 0 }; in readPixelsAndCompareWithExpectedResult() local
839 expectedData[0] = 0; in readPixelsAndCompareWithExpectedResult()
840 expectedData[1] = 255; in readPixelsAndCompareWithExpectedResult()
841 expectedData[2] = 255; in readPixelsAndCompareWithExpectedResult()
842 expectedData[3] = 0; in readPixelsAndCompareWithExpectedResult()
846 expectedData[0] = 255; in readPixelsAndCompareWithExpectedResult()
847 expectedData[1] = 0; in readPixelsAndCompareWithExpectedResult()
848 expectedData[2] = 0; in readPixelsAndCompareWithExpectedResult()
849 expectedData[3] = 255; in readPixelsAndCompareWithExpectedResult()
859 if (data[0] != expectedData[0] || data[1] != expectedData[1] || data[2] != expectedData[2] || in readPixelsAndCompareWithExpectedResult()
[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/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSourceTest.java166 DataSource dataSource, DataSpec dataSpec, byte[] expectedData) throws IOException { in assertDataSourceContent() argument
169 assertThat(length).isEqualTo(expectedData.length); in assertDataSourceContent()
171 assertThat(readData).isEqualTo(expectedData); in assertDataSourceContent()
/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/guava/android/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/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.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.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.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.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/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.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/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java32 String input, boolean isInputValid, ByteBuffer expectedData, int expectedHandlesCount) { in checkInputParser() argument
36 Assert.assertEquals(expectedData, data.getData()); in checkInputParser()
/external/protobuf/objectivec/Tests/
DGPBUtilitiesTests.m124 NSData *expectedData =
126 NSString *expected = [[NSString alloc] initWithData:expectedData
164 NSData *expectedData =
166 NSString *expected = [[NSString alloc] initWithData:expectedData
186 NSData *expectedData =
188 NSString *expected = [[NSString alloc] initWithData:expectedData
/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java103 byte[] expectedData = Arrays.copyOfRange(completeData, offset, in assertData()
105 TestUtil.assertDataSourceContent(dataSource, dataSpec, expectedData, !pipeMode); in assertData()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DSeekableInMemoryByteChannelTest.java122 …ByteBuffer expectedData = ByteBuffer.allocate(testData.length + 5).put(testData, 0, 5).put(testDat… in shouldWriteDataProperlyAfterPositionSet() local
129 assertArrayEquals(expectedData.array(), Arrays.copyOf(c.array(), (int) c.size())); in shouldWriteDataProperlyAfterPositionSet()
/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/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp450 unsigned char expectedData[m_texture_components]; in iterate() local
452 getReferenceColor(nLayer, expectedData, m_texture_components); in iterate()
455 …if (!comparePixels(m_width, m_height, m_texture_components, buffer, expectedData, nTexture, nLayer… in iterate()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestUtil.java256 DataSource dataSource, DataSpec dataSpec, byte[] expectedData, boolean expectKnownLength) in assertDataSourceContent() argument
260 assertThat(length).isEqualTo(expectKnownLength ? expectedData.length : C.LENGTH_UNSET); in assertDataSourceContent()
262 assertThat(readData).isEqualTo(expectedData); in assertDataSourceContent()
/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-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

12