Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp61 ResTable_config expectedBest = buildDensityConfig(ResTable_config::DENSITY_HIGH); in TEST() local
62 configs.add(expectedBest); in TEST()
63 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
65 expectedBest = buildDensityConfig(ResTable_config::DENSITY_XXHIGH); in TEST()
66 configs.add(expectedBest); in TEST()
67 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
69 expectedBest = buildDensityConfig(int(ResTable_config::DENSITY_XXHIGH) - 20); in TEST()
70 configs.add(expectedBest); in TEST()
71 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
74 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
[all …]