Searched refs:CheckConversion (Results 1 – 3 of 3) sorted by relevance
271 def CheckConversion(self, data_old, data_expected): member in TestSchemaUpgrade302 self.CheckConversion(EMPTY_TEST_SCHEMA_V3, EMPTY_TEST_SCHEMA_V3)303 self.CheckConversion(TEST_SCHEMA_V3, TEST_SCHEMA_V3)304 self.CheckConversion(BUFFER_TEST_V3, BUFFER_TEST_V3)313 self.CheckConversion(EMPTY_TEST_SCHEMA_V1, EMPTY_TEST_SCHEMA_V3)314 self.CheckConversion(FULL_TEST_SCHEMA_V1, FULL_TEST_SCHEMA_V3)318 self.CheckConversion(BUFFER_TEST_V2, BUFFER_TEST_V3)
70 template <typename T> static void CheckConversion(T val) { in CheckConversion() function88 CheckConversion<int>(0x87654321); in TEST()89 CheckConversion<unsigned int>(0x87654321u); in TEST()90 CheckConversion<long>(0x87654321l); in TEST()91 CheckConversion<unsigned long>(0x87654321ul); in TEST()92 CheckConversion<long long>(0x8765432112345678ll); in TEST()93 CheckConversion<unsigned long long>(0x8765432112345678ull); in TEST()94 CheckConversion<float>(42.25f); in TEST()95 CheckConversion<double>(42.25); in TEST()96 CheckConversion<long double>(42.25L); in TEST()
674 TEST(StringPiece16Test, CheckConversion) { in TEST() argument