Lines Matching refs:expectedBest
62 ResTable_config expectedBest = in TEST() local
64 configs.add(expectedBest); in TEST()
65 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
67 expectedBest = buildDensityConfig(ResTable_config::DENSITY_XXHIGH); in TEST()
68 configs.add(expectedBest); in TEST()
69 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
71 expectedBest = buildDensityConfig(int(ResTable_config::DENSITY_XXHIGH) - 20); in TEST()
72 configs.add(expectedBest); in TEST()
73 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
76 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
79 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
81 expectedBest = buildDensityConfig(ResTable_config::DENSITY_XHIGH); in TEST()
82 configs.add(expectedBest); in TEST()
83 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
85 expectedBest = buildDensityConfig(ResTable_config::DENSITY_ANY); in TEST()
86 expectedBest.sdkVersion = 21; in TEST()
87 configs.add(expectedBest); in TEST()
88 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
99 ResTable_config expectedBest = in TEST() local
101 configs.add(expectedBest); in TEST()
102 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
104 expectedBest = buildDensityConfig(ResTable_config::DENSITY_ANY); in TEST()
105 configs.add(expectedBest); in TEST()
106 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()