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.cpp455 ResTable_config expected_config; in TEST_F() local
456 memset(&expected_config, 0, sizeof(expected_config)); in TEST_F()
457 expected_config.language[0] = 's'; in TEST_F()
458 expected_config.language[1] = 'v'; in TEST_F()
459 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
461 expected_config.language[0] = 'd'; in TEST_F()
462 expected_config.language[1] = 'e'; in TEST_F()
463 EXPECT_TRUE(IsConfigurationPresent(configurations, expected_config)); in TEST_F()
465 expected_config.language[0] = 'f'; in TEST_F()
466 expected_config.language[1] = 'r'; in TEST_F()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp85 const ConfigDescription& expected_config, in Exists() argument
90 table->setParameters(&expected_config); in Exists()
140 if (expected_config != config) { in Exists()
141 return ::testing::AssertionFailure() << "expected config '" << expected_config in Exists()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp371 const ConfigDescription expected_config = test::ParseConfigOrDie(config_str); in ExpectConfigSerializes() local
373 SerializeConfig(expected_config, &pb_config); in ExpectConfigSerializes()
379 EXPECT_EQ(expected_config, actual_config); in ExpectConfigSerializes()