Home
last modified time | relevance | path

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

/system/tools/xsdc/tests/
Dtests.cpp40 StringTypes stringTypes = *type.getFirstStringTypes(); in TEST_F() local
46 EXPECT_EQ(stringTypes.getString(), "abcd"); in TEST_F()
47 EXPECT_EQ(stringTypes.getToken(), "abcd"); in TEST_F()
48 EXPECT_EQ(stringTypes.getNormalizedString(), "abcd"); in TEST_F()
49 EXPECT_EQ(stringTypes.getLanguage(), "abcd"); in TEST_F()
50 EXPECT_EQ(stringTypes.getEntity(), "abcd"); in TEST_F()
51 EXPECT_EQ(stringTypes.getEntities()[0], "a"); in TEST_F()
52 EXPECT_EQ(stringTypes.getEntities()[1], "b"); in TEST_F()
53 EXPECT_EQ(stringTypes.getEntities()[2], "c"); in TEST_F()
54 EXPECT_EQ(stringTypes.getEntities()[3], "d"); in TEST_F()
[all …]
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java123 predefined.types.StringTypes stringTypes = type.getStringTypes(); in testPredefinedTypes() local
125 assertThat(stringTypes.getString(), is("abcd")); in testPredefinedTypes()
126 assertThat(stringTypes.getToken(), is("abcd")); in testPredefinedTypes()
127 assertThat(stringTypes.getNormalizedString(), is("abcd")); in testPredefinedTypes()
128 assertThat(stringTypes.getLanguage(), is("abcd")); in testPredefinedTypes()
129 assertThat(stringTypes.getEntity(), is("abcd")); in testPredefinedTypes()
130 assertThat(stringTypes.getEntities(), is(Arrays.asList("a", "b", "c", "d"))); in testPredefinedTypes()
131 assertThat(stringTypes.getId(), is("abcd")); in testPredefinedTypes()
132 assertThat(stringTypes.getName(), is("abcd")); in testPredefinedTypes()
133 assertThat(stringTypes.getNcname(), is("abcd")); in testPredefinedTypes()
[all …]
/system/tools/xsdc/tests/resources/predefined_types/
Dpredefined_types.xsd2 <xs:complexType name="stringTypes">
104 <xs:element name="stringTypes" type="stringTypes"/>