Lines Matching full:basic
27 #include "data/basic/R.h"
30 namespace basic = com::android::basic;
37 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
74 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
80 EXPECT_TRUE(IsStringEqual(table, basic::R::string::test1, "test1"));
85 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
91 String16 defPackage("com.android.basic");
97 ASSERT_EQ(basic::R::string::test1, resID);
102 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
109 ASSERT_EQ(NO_ERROR, theme.applyStyle(basic::R::style::Theme1));
113 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags);
118 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags);
121 ASSERT_EQ(basic::R::integer::number1, val.data);
126 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
133 ASSERT_EQ(NO_ERROR, theme.applyStyle(basic::R::style::Theme2));
137 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags);
142 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags);
145 ASSERT_EQ(basic::R::integer::number1, val.data);
174 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
182 table.getResource(basic::R::integer::number2, &val, MAY_NOT_BE_BAG);
185 ASSERT_EQ(basic::R::array::integerArray1, val.data);
190 EXPECT_EQ(basic::R::array::integerArray1, val.data);
195 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
203 table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
208 ssize_t count = table.lockBag(basic::R::array::integerArray1, &entry);
217 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
221 count = table.lockBag(basic::R::array::integerArray1, &entry);
228 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
236 table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
249 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
268 ASSERT_LT(table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG),
351 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",
366 sharedTable.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
384 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
391 sharedTable.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
399 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk",