Home
last modified time | relevance | path

Searched refs:test_obj (Results 1 – 3 of 3) sorted by relevance

/system/chre/apps/wifi_offload/test/
Dflatbuffersserialization_test.cc45 TypeParam test_obj; in TYPED_TEST() local
46 init(test_obj, this->random_gen_); in TYPED_TEST()
48 size_t required_buff_size = Serialize(test_obj, nullptr, 0); in TYPED_TEST()
51 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST()
59 TypeParam test_obj; in TYPED_TEST() local
60 init(test_obj, this->random_gen_); in TYPED_TEST()
62 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST()
67 EXPECT_EQ(test_obj, deserialized_obj); in TYPED_TEST()
71 TypeParam test_obj; in TYPED_TEST() local
72 init(test_obj, this->random_gen_); in TYPED_TEST()
[all …]
Doffloadtypes_test.cc49 TestType test_obj; in SerializationThenDeserializationCreatesEqualValue() local
50 init(test_obj, random_gen_); in SerializationThenDeserializationCreatesEqualValue()
51 builder.Finish(test_obj.Serialize(&builder)); in SerializationThenDeserializationCreatesEqualValue()
67 EXPECT_EQ(test_obj, deserialized_obj); in SerializationThenDeserializationCreatesEqualValue()
/system/update_engine/update_manager/
Dgeneric_variables_unittest.cc120 CopyConstructorTestClass test_obj; in TEST_F() local
121 ASSERT_FALSE(test_obj.copied_); in TEST_F()
122 test_obj.val_ = 5; in TEST_F()
125 base::Bind(test_func, &test_obj); in TEST_F()
130 EXPECT_EQ(6, test_obj.val_); // Check that the function was called. in TEST_F()