Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DAssetManager2_test.cpp475 ResTable_config expected_config; in TEST_F() local
476 memset(&expected_config, 0, sizeof(expected_config)); in TEST_F()
477 expected_config.language[0] = 's'; in TEST_F()
478 expected_config.language[1] = 'v'; in TEST_F()
479 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
481 expected_config.language[0] = 'd'; in TEST_F()
482 expected_config.language[1] = 'e'; in TEST_F()
483 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
485 expected_config.language[0] = 'f'; in TEST_F()
486 expected_config.language[1] = 'r'; in TEST_F()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp87 const ConfigDescription& expected_config, in Exists() argument
92 table->setParameters(&expected_config); in Exists()
142 if (expected_config != config) { in Exists()
143 return ::testing::AssertionFailure() << "expected config '" << expected_config in Exists()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp420 const ConfigDescription expected_config = test::ParseConfigOrDie(config_str); in ExpectConfigSerializes() local
422 SerializeConfig(expected_config, &pb_config); in ExpectConfigSerializes()
428 EXPECT_EQ(expected_config, actual_config); in ExpectConfigSerializes()