src/base/android/android_image_reader_compat_unittest.cc
TEST_F(AndroidImageReaderTest, CompareImageReaderInstance) {
  AndroidImageReader& a1 = AndroidImageReader::GetInstance();
  AndroidImageReader& a2 = AndroidImageReader::GetInstance();
  ASSERT_EQ(&a1, &a2);
}
// There should be only 1 instance of AndroidImageReader im memory. Hence 2
// instances should have same memory address.
There should be only 1 instance of AndroidImageReader im memory. Hence 2
instances should have same memory address.
There should be only 1 instance of AndroidImageReader im memory . Hence 2 instances should have same memory address .
TEST_F(AndroidImageReaderTest, CompareImageReaderInstance) {
  AndroidImageReader& a1 = AndroidImageReader::GetInstance();
  AndroidImageReader& a2 = AndroidImageReader::GetInstance();
  ASSERT_EQ(&a1, &a2);
}
TEST_F ( AndroidImageReaderTest , CompareImageReaderInstance ) { AndroidImageReader & a1 = AndroidImageReader :: GetInstance ( ) ; AndroidImageReader & a2 = AndroidImageReader :: GetInstance ( ) ; ASSERT_EQ ( & a1 , & a2 ) ; }
There should be only 1 instance of AndroidImageReader im memory.
There should be only 1 instance of AndroidImageReader im memory .