Home | History | Annotate | Download | only in tests

Lines Matching full:expectedbest

61     ResTable_config expectedBest = buildDensityConfig(ResTable_config::DENSITY_HIGH);
62 configs.add(expectedBest);
63 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
65 expectedBest = buildDensityConfig(ResTable_config::DENSITY_XXHIGH);
66 configs.add(expectedBest);
67 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
69 expectedBest = buildDensityConfig(int(ResTable_config::DENSITY_XXHIGH) - 20);
70 configs.add(expectedBest);
71 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
74 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
76 expectedBest = buildDensityConfig(ResTable_config::DENSITY_XHIGH);
77 configs.add(expectedBest);
78 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
80 expectedBest = buildDensityConfig(ResTable_config::DENSITY_ANY);
81 expectedBest.sdkVersion = 21;
82 configs.add(expectedBest);
83 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
94 ResTable_config expectedBest = buildDensityConfig(ResTable_config::DENSITY_MEDIUM);
95 configs.add(expectedBest);
96 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
98 expectedBest = buildDensityConfig(ResTable_config::DENSITY_ANY);
99 configs.add(expectedBest);
100 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));