Lines Matching full:bytearray
282 ByteArray byteArray;
285 ByteArray orig_byteArray = byteArray;
286 ByteArrayAccessor accessor(new PropertyAccessor<ByteArray>(&byteArray));
287 EXPECT_EQ(byteArray, accessor->Get(&error));
289 ByteArray expected_byteArray({ 0x01, 0x7F, 0x80, 0xFF });
303 byteArray = ByteArray({ 0xFF, 0x7F, 0x80, 0x00 });
304 EXPECT_EQ(byteArray, accessor->Get(&error));
308 ByteArrayAccessor accessor(new ConstPropertyAccessor<ByteArray>(&byteArray));
309 EXPECT_EQ(byteArray, accessor->Get(&error));
311 ByteArray expected_byteArray({ 0x01, 0x7F, 0x80, 0xFF });
315 EXPECT_EQ(byteArray, accessor->Get(&error));
317 byteArray = ByteArray({ 0xFF, 0x7F, 0x80, 0x00 });
318 EXPECT_EQ(byteArray, accessor->Get(&error));
322 ByteArrayAccessor accessor(new ConstPropertyAccessor<ByteArray>(&byteArray));
328 ByteArrayAccessor accessor(new WriteOnlyPropertyAccessor<ByteArray>(&byteArray));
335 ByteArray expected_byteArray({ 0x01, 0x7F, 0x80, 0xFF });
336 WriteOnlyPropertyAccessor<ByteArray> accessor(&byteArray);
348 EXPECT_EQ(ByteArray(), accessor.Get(&error));
351 byteArray = ByteArray({ 0xFF, 0x7F, 0x80, 0x00 });
352 EXPECT_EQ(ByteArray({ 0xFF, 0x7F, 0x80, 0x00 }), *accessor.property_);
356 ByteArray orig_byteArray = byteArray = ByteArray({ 0x00, 0x7F, 0x80, 0xFF });
357 WriteOnlyPropertyAccessor<ByteArray> accessor(&byteArray);
359 EXPECT_TRUE(accessor.Set(ByteArray({ 0xFF, 0x7F, 0x80, 0x00 }), &error));