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.cpp586 ResTable_config expected_config; in TEST_F() local
587 memset(&expected_config, 0, sizeof(expected_config)); in TEST_F()
588 expected_config.language[0] = 's'; in TEST_F()
589 expected_config.language[1] = 'v'; in TEST_F()
590 EXPECT_TRUE(IsConfigurationPresent(*configurations, expected_config)); in TEST_F()
592 expected_config.language[0] = 'd'; in TEST_F()
593 expected_config.language[1] = 'e'; in TEST_F()
594 EXPECT_TRUE(IsConfigurationPresent(*configurations, expected_config)); in TEST_F()
596 expected_config.language[0] = 'f'; in TEST_F()
597 expected_config.language[1] = 'r'; in TEST_F()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp89 const ConfigDescription& expected_config, in Exists() argument
94 table->setParameters(&expected_config); in Exists()
144 if (expected_config != config) { in Exists()
145 return ::testing::AssertionFailure() << "expected config '" << expected_config in Exists()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp496 const ConfigDescription expected_config = test::ParseConfigOrDie(config_str); in ExpectConfigSerializes() local
498 SerializeConfig(expected_config, &pb_config); in ExpectConfigSerializes()
504 EXPECT_EQ(expected_config, actual_config); in ExpectConfigSerializes()