Home | History | Annotate | Download | only in tests

Lines Matching refs:testObj

29 static void TestAlignment(T* testObj, skiatest::Reporter* reporter) {
32 size_t bytesWrittenToMemory = testObj->writeToMemory(dataWritten);
34 size_t bytesReadFromMemory = testObj->readFromMemory(dataWritten, bytesWrittenToMemory);
140 static void TestObjectSerializationNoAlign(T* testObj, skiatest::Reporter* reporter) {
142 SerializationUtils<T>::Write(writer, testObj);
171 static void TestObjectSerialization(T* testObj, skiatest::Reporter* reporter) {
172 TestObjectSerializationNoAlign<T, false>(testObj, reporter);
173 TestAlignment(testObj, reporter);
177 static T* TestFlattenableSerialization(T* testObj, bool shouldSucceed,
180 SerializationUtils<T>::Write(writer, testObj);