/frameworks/base/tools/aapt/tests/ |
AaptConfig_test.cpp | 27 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { 34 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { 35 return TestParse(String8(input), config); 39 EXPECT_FALSE(TestParse("en-sw600dp-ldrtl")); 40 EXPECT_FALSE(TestParse("land-en")); 41 EXPECT_FALSE(TestParse("hdpi-320dpi")); 45 EXPECT_FALSE(TestParse("en-sw600dp-ILLEGAL")); 49 EXPECT_FALSE(TestParse("en-sw600dp-land-")); 54 EXPECT_TRUE(TestParse("", &config)); 57 EXPECT_TRUE(TestParse("fr-land", &config)) [all...] |
AaptGroupEntry_test.cpp | 26 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const String8& dirName, 34 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const char* input, 36 return TestParse(entry, String8(input), outType); 42 EXPECT_TRUE(TestParse(entry, "menu", &type)); 49 EXPECT_TRUE(TestParse(entry, "anim", &type)); 52 EXPECT_TRUE(TestParse(entry, "animator", &type));
|
/frameworks/base/tools/aapt2/ |
ConfigDescription_test.cpp | 30 static ::testing::AssertionResult TestParse( 39 EXPECT_FALSE(TestParse("en-sw600dp-ldrtl")); 40 EXPECT_FALSE(TestParse("land-en")); 41 EXPECT_FALSE(TestParse("hdpi-320dpi")); 45 EXPECT_FALSE(TestParse("en-sw600dp-ILLEGAL")); 49 EXPECT_FALSE(TestParse("en-sw600dp-land-")); 54 EXPECT_TRUE(TestParse("", &config)); 57 EXPECT_TRUE(TestParse("fr-land", &config)); 61 TestParse("mcc310-pl-sw720dp-normal-long-port-night-" 71 EXPECT_TRUE(TestParse("en-rUS", &config)) [all...] |
ResourceParser_test.cpp | 65 ::testing::AssertionResult TestParse(const StringPiece& str) { 66 return TestParse(str, ConfigDescription{}); 69 ::testing::AssertionResult TestParse(const StringPiece& str, const ConfigDescription& config) { 92 ASSERT_TRUE(TestParse(R"(<string name="foo"> " hey there " </string>)")); 99 ASSERT_TRUE(TestParse(R"(<string name="bar">Isn\'t it cool?</string>)")); 104 ASSERT_TRUE(TestParse(R"(<string name="baz">"Isn't it cool?"</string>)")); 111 ASSERT_TRUE(TestParse(R"(<string name="foo">\?123</string>)")); 118 ASSERT_TRUE(TestParse(R"(<string name="bar">This isn\?t a bad string</string>)")); 125 ASSERT_FALSE(TestParse(R"(<string name="foo">%d %s</string>)")); 126 ASSERT_TRUE(TestParse(R"(<string name="foo">%1$d %2$s</string>)")) [all...] |
/external/icu/icu4c/source/test/intltest/ |
itrbnfp.cpp | 42 TESTCASE(0, TestParse); 55 IntlTestRBNFParse::TestParse() {
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
parser_test.go | 25 func TestParse(t *testing.T) {
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
parser_test.go | 25 func TestParse(t *testing.T) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RBNFParseTest.java | 27 public void TestParse() {
|
/prebuilts/go/darwin-x86/src/flag/ |
flag_test.go | 152 func testParse(f *FlagSet, t *testing.T) { 218 func TestParse(t *testing.T) { 220 testParse(CommandLine, t) 224 testParse(NewFlagSet("test", ContinueOnError), t)
|
/prebuilts/go/darwin-x86/src/go/parser/ |
parser_test.go | 24 func TestParse(t *testing.T) {
|
/prebuilts/go/darwin-x86/src/text/template/parse/ |
parse_test.go | 297 func testParse(doCopy bool, t *testing.T) { 328 func TestParse(t *testing.T) { 329 testParse(false, t) 332 // Same as TestParse, but we copy the node first 334 testParse(true, t)
|
/prebuilts/go/linux-x86/src/flag/ |
flag_test.go | 152 func testParse(f *FlagSet, t *testing.T) { 218 func TestParse(t *testing.T) { 220 testParse(CommandLine, t) 224 testParse(NewFlagSet("test", ContinueOnError), t)
|
/prebuilts/go/linux-x86/src/go/parser/ |
parser_test.go | 24 func TestParse(t *testing.T) {
|
/prebuilts/go/linux-x86/src/text/template/parse/ |
parse_test.go | 297 func testParse(doCopy bool, t *testing.T) { 328 func TestParse(t *testing.T) { 329 testParse(false, t) 332 // Same as TestParse, but we copy the node first 334 testParse(true, t)
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RBNFParseTest.java | 24 public void TestParse() {
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/profile/ |
profile_test.go | 31 func TestParse(t *testing.T) {
|
/prebuilts/go/darwin-x86/src/mime/multipart/ |
multipart_test.go | 771 func TestParse(t *testing.T) {
|
/prebuilts/go/darwin-x86/src/text/template/ |
multi_test.go | 341 func TestParse(t *testing.T) {
|
/prebuilts/go/darwin-x86/src/time/ |
format_test.go | 185 func TestParse(t *testing.T) {
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/ |
profile_test.go | 31 func TestParse(t *testing.T) {
|
/prebuilts/go/linux-x86/src/mime/multipart/ |
multipart_test.go | 771 func TestParse(t *testing.T) {
|
/prebuilts/go/linux-x86/src/text/template/ |
multi_test.go | 341 func TestParse(t *testing.T) {
|
/prebuilts/go/linux-x86/src/time/ |
format_test.go | 185 func TestParse(t *testing.T) {
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
driver_test.go | 41 func TestParse(t *testing.T) { [all...] |
/prebuilts/go/darwin-x86/src/net/url/ |
url_test.go | 632 func TestParse(t *testing.T) { [all...] |