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.cpp525 ResTable_config expected_config; in TEST_F() local
526 memset(&expected_config, 0, sizeof(expected_config)); in TEST_F()
527 expected_config.language[0] = 's'; in TEST_F()
528 expected_config.language[1] = 'v'; in TEST_F()
529 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
531 expected_config.language[0] = 'd'; in TEST_F()
532 expected_config.language[1] = 'e'; in TEST_F()
533 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
535 expected_config.language[0] = 'f'; in TEST_F()
536 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.cpp424 const ConfigDescription expected_config = test::ParseConfigOrDie(config_str); in ExpectConfigSerializes() local
426 SerializeConfig(expected_config, &pb_config); in ExpectConfigSerializes()
432 EXPECT_EQ(expected_config, actual_config); in ExpectConfigSerializes()