Home
last modified time | relevance | path

Searched refs:add (Results 1 – 25 of 886) sorted by relevance

12345678910>>...36

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_documentgetelementsbytagnametotallength.java64 expectedNames.add("html"); in runTest()
65 expectedNames.add("head"); in runTest()
66 expectedNames.add("meta"); in runTest()
67 expectedNames.add("title"); in runTest()
68 expectedNames.add("script"); in runTest()
69 expectedNames.add("script"); in runTest()
70 expectedNames.add("script"); in runTest()
71 expectedNames.add("body"); in runTest()
72 expectedNames.add("p"); in runTest()
73 expectedNames.add("em"); in runTest()
[all …]
Dnodeclonenodetrue.java78 expectedWhitespace.add("#text"); in runTest()
79 expectedWhitespace.add("employeeId"); in runTest()
80 expectedWhitespace.add("#text"); in runTest()
81 expectedWhitespace.add("name"); in runTest()
82 expectedWhitespace.add("#text"); in runTest()
83 expectedWhitespace.add("position"); in runTest()
84 expectedWhitespace.add("#text"); in runTest()
85 expectedWhitespace.add("salary"); in runTest()
86 expectedWhitespace.add("#text"); in runTest()
87 expectedWhitespace.add("gender"); in runTest()
[all …]
Dnodelisttraverselist.java73 expectedWhitespace.add("#text"); in runTest()
74 expectedWhitespace.add("employeeId"); in runTest()
75 expectedWhitespace.add("#text"); in runTest()
76 expectedWhitespace.add("name"); in runTest()
77 expectedWhitespace.add("#text"); in runTest()
78 expectedWhitespace.add("position"); in runTest()
79 expectedWhitespace.add("#text"); in runTest()
80 expectedWhitespace.add("salary"); in runTest()
81 expectedWhitespace.add("#text"); in runTest()
82 expectedWhitespace.add("gender"); in runTest()
[all …]
Dnodeinsertbefore.java76 expectedWithWhitespace.add("#text"); in runTest()
77 expectedWithWhitespace.add("employeeId"); in runTest()
78 expectedWithWhitespace.add("#text"); in runTest()
79 expectedWithWhitespace.add("name"); in runTest()
80 expectedWithWhitespace.add("#text"); in runTest()
81 expectedWithWhitespace.add("position"); in runTest()
82 expectedWithWhitespace.add("#text"); in runTest()
83 expectedWithWhitespace.add("newChild"); in runTest()
84 expectedWithWhitespace.add("salary"); in runTest()
85 expectedWithWhitespace.add("#text"); in runTest()
[all …]
Dnodeinsertbeforenewchildexists.java77 expectedWhitespace.add("#text"); in runTest()
78 expectedWhitespace.add("#text"); in runTest()
79 expectedWhitespace.add("name"); in runTest()
80 expectedWhitespace.add("#text"); in runTest()
81 expectedWhitespace.add("position"); in runTest()
82 expectedWhitespace.add("#text"); in runTest()
83 expectedWhitespace.add("salary"); in runTest()
84 expectedWhitespace.add("#text"); in runTest()
85 expectedWhitespace.add("gender"); in runTest()
86 expectedWhitespace.add("#text"); in runTest()
[all …]
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DcreateAttributeNS03.java74 illegalQNames.add("person:{"); in runTest()
75 illegalQNames.add("person:}"); in runTest()
76 illegalQNames.add("person:~"); in runTest()
77 illegalQNames.add("person:'"); in runTest()
78 illegalQNames.add("person:!"); in runTest()
79 illegalQNames.add("person:@"); in runTest()
80 illegalQNames.add("person:#"); in runTest()
81 illegalQNames.add("person:$"); in runTest()
82 illegalQNames.add("person:%"); in runTest()
83 illegalQNames.add("person:^"); in runTest()
[all …]
DcreateElementNS03.java76 illegalQNames.add("person:{"); in runTest()
77 illegalQNames.add("person:}"); in runTest()
78 illegalQNames.add("person:~"); in runTest()
79 illegalQNames.add("person:'"); in runTest()
80 illegalQNames.add("person:!"); in runTest()
81 illegalQNames.add("person:@"); in runTest()
82 illegalQNames.add("person:#"); in runTest()
83 illegalQNames.add("person:$"); in runTest()
84 illegalQNames.add("person:%"); in runTest()
85 illegalQNames.add("person:^"); in runTest()
[all …]
DcreateDocumentType02.java77 illegalQNames.add("edi:{"); in runTest()
78 illegalQNames.add("edi:}"); in runTest()
79 illegalQNames.add("edi:~"); in runTest()
80 illegalQNames.add("edi:'"); in runTest()
81 illegalQNames.add("edi:!"); in runTest()
82 illegalQNames.add("edi:@"); in runTest()
83 illegalQNames.add("edi:#"); in runTest()
84 illegalQNames.add("edi:$"); in runTest()
85 illegalQNames.add("edi:%"); in runTest()
86 illegalQNames.add("edi:^"); in runTest()
[all …]
DcreateDocument05.java78 illegalQNames.add("namespaceURI:{"); in runTest()
79 illegalQNames.add("namespaceURI:}"); in runTest()
80 illegalQNames.add("namespaceURI:~"); in runTest()
81 illegalQNames.add("namespaceURI:'"); in runTest()
82 illegalQNames.add("namespaceURI:!"); in runTest()
83 illegalQNames.add("namespaceURI:@"); in runTest()
84 illegalQNames.add("namespaceURI:#"); in runTest()
85 illegalQNames.add("namespaceURI:$"); in runTest()
86 illegalQNames.add("namespaceURI:%"); in runTest()
87 illegalQNames.add("namespaceURI:^"); in runTest()
[all …]
DisSupported12.java74 features.add("Core"); in runTest()
75 features.add("XML"); in runTest()
76 features.add("HTML"); in runTest()
77 features.add("Views"); in runTest()
78 features.add("StyleSheets"); in runTest()
79 features.add("CSS"); in runTest()
80 features.add("CSS2"); in runTest()
81 features.add("Events"); in runTest()
82 features.add("UIEvents"); in runTest()
83 features.add("MouseEvents"); in runTest()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DConcurrentModTest.java40 al.add(one); in testGet()
41 al.add(two); in testGet()
42 al.add(three); in testGet()
43 al.add(four); in testGet()
84 al.add(one); in testSet()
85 al.add(two); in testSet()
86 al.add(three); in testSet()
87 al.add(four); in testSet()
114 al.add(one); in testAdd()
115 al.add(two); in testAdd()
[all …]
DAbstractListTest.java44 public void add(int i, Object o) { in add() method in AbstractListTest.SimpleList
45 this.arrayList.add(i, o); in add()
62 list.add(new Integer(3)); in test_hashCode()
63 list.add(new Integer(15)); in test_hashCode()
64 list.add(new Integer(5)); in test_hashCode()
65 list.add(new Integer(1)); in test_hashCode()
66 list.add(new Integer(7)); in test_hashCode()
82 list.add(new Object()); in test_iterator()
83 list.add(new Object()); in test_iterator()
96 list.add(new Integer(3)); in test_listIterator()
[all …]
DLinkedHashSetTest.java122 hs.add(new Integer(8)); in test_addLjava_lang_Object()
124 hs.add(new Integer(-9)); in test_addLjava_lang_Object()
165 s.add(null); in test_containsLjava_lang_Object()
199 s.add(null); in test_iterator()
215 s.add(null); in test_removeLjava_lang_Object()
239 v.add(new Float(3.14)); in test_retainAllLjava_util_Collection()
240 lhs.add(new Integer(1)); in test_retainAllLjava_util_Collection()
245 v.add(new Integer(1)); in test_retainAllLjava_util_Collection()
246 v.add(new Integer(2)); in test_retainAllLjava_util_Collection()
247 v.add(new Integer(3)); in test_retainAllLjava_util_Collection()
[all …]
DArrayListTest.java53 subList.add(new Integer(i)); in test_Constructor()
108 alist.add(50, o = new Object()); in test_addILjava_lang_Object()
114 alist.add(25, null); in test_addILjava_lang_Object()
119 alist.add(0, o = new Object()); in test_addILjava_lang_Object()
125 alist.add(0, null); in test_addILjava_lang_Object()
131 alist.add(-1, new Object()); in test_addILjava_lang_Object()
139 alist.add(-1, null); in test_addILjava_lang_Object()
147 alist.add(alist.size() + 1, new Object()); in test_addILjava_lang_Object()
155 alist.add(alist.size() + 1, null); in test_addILjava_lang_Object()
169 alist.add(size, o); in test_addILjava_lang_Object_2()
[all …]
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMImplementationCreateDocumentType.java84 publicIds.add("1234"); in testCreateDocumentType1()
85 publicIds.add("test"); in testCreateDocumentType1()
88 systemIds.add(""); in testCreateDocumentType1()
89 systemIds.add("test"); in testCreateDocumentType1()
118 qualifiedNames.add("_:_"); in testCreateDocumentType2()
119 qualifiedNames.add("_:h0"); in testCreateDocumentType2()
120 qualifiedNames.add("_:test"); in testCreateDocumentType2()
121 qualifiedNames.add("_:_."); in testCreateDocumentType2()
122 qualifiedNames.add("_:a-"); in testCreateDocumentType2()
123 qualifiedNames.add("l_:_"); in testCreateDocumentType2()
[all …]
DCreateDocumentType.java111 illegalQNames.add("edi:{"); in testCreateDocumentType2()
112 illegalQNames.add("edi:}"); in testCreateDocumentType2()
113 illegalQNames.add("edi:~"); in testCreateDocumentType2()
114 illegalQNames.add("edi:'"); in testCreateDocumentType2()
115 illegalQNames.add("edi:!"); in testCreateDocumentType2()
116 illegalQNames.add("edi:@"); in testCreateDocumentType2()
117 illegalQNames.add("edi:#"); in testCreateDocumentType2()
118 illegalQNames.add("edi:$"); in testCreateDocumentType2()
119 illegalQNames.add("edi:%"); in testCreateDocumentType2()
120 illegalQNames.add("edi:^"); in testCreateDocumentType2()
[all …]
DCreateAttributeNS.java103 illegalQNames.add("person:{"); in testCreateAttributeNS3()
104 illegalQNames.add("person:}"); in testCreateAttributeNS3()
105 illegalQNames.add("person:~"); in testCreateAttributeNS3()
106 illegalQNames.add("person:'"); in testCreateAttributeNS3()
107 illegalQNames.add("person:!"); in testCreateAttributeNS3()
108 illegalQNames.add("person:@"); in testCreateAttributeNS3()
109 illegalQNames.add("person:#"); in testCreateAttributeNS3()
110 illegalQNames.add("person:$"); in testCreateAttributeNS3()
111 illegalQNames.add("person:%"); in testCreateAttributeNS3()
112 illegalQNames.add("person:^"); in testCreateAttributeNS3()
[all …]
DCreateElementNS.java121 illegalQNames.add("person:{"); in testCreateElementNS3()
122 illegalQNames.add("person:}"); in testCreateElementNS3()
123 illegalQNames.add("person:~"); in testCreateElementNS3()
124 illegalQNames.add("person:'"); in testCreateElementNS3()
125 illegalQNames.add("person:!"); in testCreateElementNS3()
126 illegalQNames.add("person:@"); in testCreateElementNS3()
127 illegalQNames.add("person:#"); in testCreateElementNS3()
128 illegalQNames.add("person:$"); in testCreateElementNS3()
129 illegalQNames.add("person:%"); in testCreateElementNS3()
130 illegalQNames.add("person:^"); in testCreateElementNS3()
[all …]
DGetElementsByTagNameNS.java103 expectedResult.add("employee"); in testGetElementsByTagNameNS3()
104 expectedResult.add("employeeId"); in testGetElementsByTagNameNS3()
105 expectedResult.add("name"); in testGetElementsByTagNameNS3()
106 expectedResult.add("position"); in testGetElementsByTagNameNS3()
107 expectedResult.add("salary"); in testGetElementsByTagNameNS3()
108 expectedResult.add("gender"); in testGetElementsByTagNameNS3()
109 expectedResult.add("address"); in testGetElementsByTagNameNS3()
110 expectedResult.add("emp:employee"); in testGetElementsByTagNameNS3()
111 expectedResult.add("emp:employeeId"); in testGetElementsByTagNameNS3()
112 expectedResult.add("emp:position"); in testGetElementsByTagNameNS3()
[all …]
DCreateDocument.java177 illegalQNames.add("namespaceURI:{"); in testCreateDocument5()
178 illegalQNames.add("namespaceURI:}"); in testCreateDocument5()
179 illegalQNames.add("namespaceURI:~"); in testCreateDocument5()
180 illegalQNames.add("namespaceURI:'"); in testCreateDocument5()
181 illegalQNames.add("namespaceURI:!"); in testCreateDocument5()
182 illegalQNames.add("namespaceURI:@"); in testCreateDocument5()
183 illegalQNames.add("namespaceURI:#"); in testCreateDocument5()
184 illegalQNames.add("namespaceURI:$"); in testCreateDocument5()
185 illegalQNames.add("namespaceURI:%"); in testCreateDocument5()
186 illegalQNames.add("namespaceURI:^"); in testCreateDocument5()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java161 v.add(new FieldContainer(0, 4, Field.YEAR)); in getDateVector1()
162 v.add(new FieldContainer(4, 6, Field.MONTH)); in getDateVector1()
163 v.add(new FieldContainer(6, 8, Field.DAY_OF_MONTH)); in getDateVector1()
164 v.add(new FieldContainer(8, 10, Field.HOUR_OF_DAY0)); in getDateVector1()
165 v.add(new FieldContainer(10, 12, Field.MINUTE)); in getDateVector1()
166 v.add(new FieldContainer(12, 14, Field.SECOND)); in getDateVector1()
173 v.add(new FieldContainer(0, 2, Field.WEEK_OF_YEAR)); in getDateVector2()
174 v.add(new FieldContainer(3, 4, Field.WEEK_OF_MONTH)); in getDateVector2()
175 v.add(new FieldContainer(5, 7, Field.DAY_OF_MONTH)); in getDateVector2()
176 v.add(new FieldContainer(8, 17, Field.MONTH)); in getDateVector2()
[all …]
DSupport_MessageFormat.java91 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH)); in getMessageVector1()
92 v.add(new FieldContainer(3, 6, Field.ARGUMENT, 4)); in getMessageVector1()
93 v.add(new FieldContainer(6, 7, Field.ARGUMENT, 4)); in getMessageVector1()
94 v.add(new FieldContainer(7, 9, DateFormat.Field.DAY_OF_MONTH)); in getMessageVector1()
95 v.add(new FieldContainer(7, 9, Field.ARGUMENT, 4)); in getMessageVector1()
96 v.add(new FieldContainer(9, 11, Field.ARGUMENT, 4)); in getMessageVector1()
97 v.add(new FieldContainer(11, 15, DateFormat.Field.YEAR)); in getMessageVector1()
98 v.add(new FieldContainer(11, 15, Field.ARGUMENT, 4)); in getMessageVector1()
99 v.add(new FieldContainer(19, 20, DateFormat.Field.HOUR1)); in getMessageVector1()
100 v.add(new FieldContainer(19, 20, Field.ARGUMENT, 3)); in getMessageVector1()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java87 v.add(new FieldContainer(3, 6, Field.ARGUMENT, 4)); in getMessageVector1()
88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH)); in getMessageVector1()
89 v.add(new FieldContainer(6, 7, Field.ARGUMENT, 4)); in getMessageVector1()
90 v.add(new FieldContainer(7, 9, Field.ARGUMENT, 4)); in getMessageVector1()
91 v.add(new FieldContainer(7, 9, DateFormat.Field.DAY_OF_MONTH)); in getMessageVector1()
92 v.add(new FieldContainer(9, 11, Field.ARGUMENT, 4)); in getMessageVector1()
93 v.add(new FieldContainer(11, 15, Field.ARGUMENT, 4)); in getMessageVector1()
94 v.add(new FieldContainer(11, 15, DateFormat.Field.YEAR)); in getMessageVector1()
95 v.add(new FieldContainer(19, 20, Field.ARGUMENT, 3)); in getMessageVector1()
96 v.add(new FieldContainer(19, 20, DateFormat.Field.HOUR1)); in getMessageVector1()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxFileSystemTestData.java32 inputOutputTestCases.add(new TestData("d1", "d1")); in getPathInputOutputTestData()
33 inputOutputTestCases.add(new TestData("", "")); in getPathInputOutputTestData()
34 inputOutputTestCases.add(new TestData("/", "//")); in getPathInputOutputTestData()
35 inputOutputTestCases.add(new TestData("d1/d2/d3", "d1//d2/d3")); in getPathInputOutputTestData()
36 inputOutputTestCases.add(new TestData("d1/d2", "d1", "", "d2")); in getPathInputOutputTestData()
37 inputOutputTestCases.add(new TestData("foo", "", "foo")); in getPathInputOutputTestData()
41 inputOutputTestCases.add(new TestData("/foo/bar/gus", "/foo", "bar", "gus")); in getPathInputOutputTestData()
47 exceptionTestCases.add(new TestData(InvalidPathException.class, "'\u0000'")); in getPathExceptionTestData()
48 exceptionTestCases.add(new TestData(NullPointerException.class, null)); in getPathExceptionTestData()
56 inputOutputTestCases.add(new TestData("/d1", "file:///d1")); in getPath_URI_InputOutputTestData()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockHandler.java46 logger.add("characters", ch, start, length); in characters()
50 logger.add("endDocument"); in endDocument()
54 logger.add("endElement", name); in endElement()
58 logger.add("endElement", uri, localName, name); in endElement()
62 logger.add("endPrefixMapping", prefix); in endPrefixMapping()
66 logger.add("error", exception); in error()
70 logger.add("fatalError", exception); in fatalError()
74 logger.add("ignorableWhitespace", ch, start, length); in ignorableWhitespace()
78 logger.add("notationDecl", name, publicId, systemId); in notationDecl()
82 logger.add("processingInstruction", target, data); in processingInstruction()
[all …]

12345678910>>...36