/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | NodeIsSupported.java | 90 boolean success; in testIsSupported1() 103 success = element.isSupported(featureXML, version); in testIsSupported1() 104 assertTrue("nodeissupported01_XML1", success); in testIsSupported1() 105 success = element.isSupported(featureXML, version1); in testIsSupported1() 106 assertTrue("nodeissupported01_XML2", success); in testIsSupported1() 110 success = element.isSupported(featureCore, version); in testIsSupported1() 111 assertTrue("nodeissupported01_Core1", success); in testIsSupported1() 112 success = element.isSupported(featureCore, version1); in testIsSupported1() 113 success = element.isSupported(featureCore, version2); in testIsSupported1() 114 assertTrue("nodeissupported01_Core3", success); in testIsSupported1() [all …]
|
D | NodeSetPrefix.java | 132 boolean success = false; in testSetPrefix3() 136 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix3() 138 assertTrue("throw_NAMESPACE_ERR", success); in testSetPrefix3() 184 boolean success = false; in testSetPrefix5() 188 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix5() 190 assertTrue("throw_NAMESPACE_ERR", success); in testSetPrefix5() 202 boolean success = false; in testSetPrefix6() 206 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix6() 208 assertTrue("throw_NAMESPACE_ERR", success); in testSetPrefix6() 219 boolean success = false; in testSetPrefix7() [all …]
|
D | DOMImplementationHasFeature.java | 81 boolean success; in testHasFeature1() 94 success = domImpl.hasFeature(featureXML, version); in testHasFeature1() 95 assertTrue("domimplementationhasfeature01_XML_1", success); in testHasFeature1() 96 success = domImpl.hasFeature(featureXML, version1); in testHasFeature1() 97 assertTrue("domimplementationhasfeature01_XML_2", success); in testHasFeature1() 101 success = domImpl.hasFeature(featureCore, version); in testHasFeature1() 102 assertTrue("domimplementationhasfeature01_Core_1", success); in testHasFeature1() 103 success = domImpl.hasFeature(featureCore, version1); in testHasFeature1() 104 success = domImpl.hasFeature(featureCore, version2); in testHasFeature1() 105 assertTrue("domimplementationhasfeature01_Core_3", success); in testHasFeature1() [all …]
|
D | Prefix.java | 134 boolean success = false; in testGetPrefix5() 138 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix5() 140 assertTrue("throw_NAMESPACE_ERR", success); in testGetPrefix5() 152 boolean success = false; in _testGetPrefix6() 156 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testGetPrefix6() 158 assertTrue("throw_INVALID_CHARACTER_ERR", success); in _testGetPrefix6() 170 boolean success = false; in testGetPrefix7() 174 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix7() 176 assertTrue("throw_NAMESPACE_ERR", success); in testGetPrefix7() 224 boolean success = false; in _testGetPrefix9() [all …]
|
D | ElementSetAttributeNS.java | 138 boolean success = false; in testSetAttributeNS4() 143 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testSetAttributeNS4() 145 assertTrue("elementsetattributens04", success); in testSetAttributeNS4() 159 boolean success = false; in testSetAttributeNS5() 163 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS5() 165 assertTrue("elementsetattributens05", success); in testSetAttributeNS5() 176 boolean success = false; in testSetAttributeNS8() 181 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS8() 183 assertTrue("elementsetattributens08_Err1", success); in testSetAttributeNS8() 187 boolean success = false; in testSetAttributeNS8() [all …]
|
D | CreateAttributeNS.java | 70 boolean success = false; in testCreateAttributeNS1() 74 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS1() 76 assertTrue("throw_NAMESPACE_ERR", success); in testCreateAttributeNS1() 88 boolean success = false; in testCreateAttributeNS2() 92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS2() 94 assertTrue("throw_NAMESPACE_ERR", success); in testCreateAttributeNS2() 135 boolean success = false; in testCreateAttributeNS3() 139 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateAttributeNS3() 141 assertTrue("throw_INVALID_CHARACTER_ERR", success); in testCreateAttributeNS3() 153 boolean success = false; in testCreateAttributeNS4() [all …]
|
D | CreateElementNS.java | 88 boolean success = false; in testCreateElementNS1() 92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS1() 94 assertTrue("throw_NAMESPACE_ERR", success); in testCreateElementNS1() 106 boolean success = false; in testCreateElementNS2() 110 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS2() 112 assertTrue("throw_NAMESPACE_ERR", success); in testCreateElementNS2() 154 boolean success = false; in testCreateElementNS3() 158 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateElementNS3() 160 assertTrue("throw_INVALID_CHARACTER_ERR", success); in testCreateElementNS3() 172 boolean success = false; in testCreateElementNS4() [all …]
|
D | NamedNodeMapSetNamedItemNS.java | 149 boolean success = false; in testSetNamedItemNS3() 153 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetNamedItemNS3() 155 assertTrue("throw_WRONG_DOCUMENT_ERR", success); in testSetNamedItemNS3() 180 boolean success = false; in testSetNamedItemNS4() 184 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetNamedItemNS4() 186 assertTrue("throw_WRONG_DOCUMENT_ERR", success); in testSetNamedItemNS4() 245 boolean success = false; in testSetNamedItemNS6() 249 success = (ex.code == DOMException.INUSE_ATTRIBUTE_ERR); in testSetNamedItemNS6() 251 assertTrue("namednodemapsetnameditemns06", success); in testSetNamedItemNS6() 271 boolean success = false; in testSetNamedItemNS7() [all …]
|
D | DocumentImportNode.java | 198 boolean success = false; in testImportNode6() 202 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in testImportNode6() 204 assertTrue("throw_NOT_SUPPORTED_ERR", success); in testImportNode6() 215 boolean success = false; in testImportNode7() 219 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in testImportNode7() 221 assertTrue("throw_NOT_SUPPORTED_ERR", success); in testImportNode7() 236 boolean success = false; in testImportNode8() 240 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in testImportNode8() 242 assertTrue("throw_NOT_SUPPORTED_ERR", success); in testImportNode8() 249 boolean success; in testImportNode9() [all …]
|
D | CreateDocument.java | 94 boolean success = false; in testCreateDocument1() 98 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument1() 100 assertTrue("throw_NAMESPACE_ERR", success); in testCreateDocument1() 115 boolean success = false; in testCreateDocument2() 119 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument2() 121 assertTrue("throw_NAMESPACE_ERR", success); in testCreateDocument2() 210 boolean success = false; in testCreateDocument5() 214 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateDocument5() 216 assertTrue("throw_INVALID_CHARACTER_ERR", success); in testCreateDocument5() 231 boolean success = false; in testCreateDocument6() [all …]
|
D | DocumentCreateElementNS.java | 88 boolean success = false; in testCreateElementNS2() 92 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateElementNS2() 94 assertTrue("documentcreateelementNS02", success); in testCreateElementNS2() 106 boolean success = false; in testCreateElementNS5() 110 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS5() 112 assertTrue("documentcreateelementNS05", success); in testCreateElementNS5() 130 boolean success = false; in testCreateElementNS6() 134 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS6() 136 assertTrue("documentcreateelementNS06", success); in testCreateElementNS6()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | nodeissupported01.java | 74 boolean success; in runTest() 87 success = element.isSupported(featureXML, version); in runTest() 88 assertTrue("nodeissupported01_XML1", success); in runTest() 89 success = element.isSupported(featureXML, version1); in runTest() 90 assertTrue("nodeissupported01_XML2", success); in runTest() 94 success = element.isSupported(featureCore, version); in runTest() 95 assertTrue("nodeissupported01_Core1", success); in runTest() 96 success = element.isSupported(featureCore, version1); in runTest() 97 success = element.isSupported(featureCore, version2); in runTest() 98 assertTrue("nodeissupported01_Core3", success); in runTest()
|
D | nodeissupported02.java | 74 boolean success; in runTest() 87 success = attribute.isSupported(featureXML, version); in runTest() 88 assertTrue("nodeissupported02_XML1", success); in runTest() 89 success = attribute.isSupported(featureXML, version1); in runTest() 90 assertTrue("nodeissupported02_XML2", success); in runTest() 94 success = attribute.isSupported(featureCore, version); in runTest() 95 assertTrue("nodeissupported02_Core1", success); in runTest() 96 success = attribute.isSupported(featureCore, version1); in runTest() 97 success = attribute.isSupported(featureCore, version2); in runTest() 98 assertTrue("nodeissupported02_Core3", success); in runTest()
|
D | domimplementationhasfeature01.java | 74 boolean success; in runTest() 87 success = domImpl.hasFeature(featureXML, version); in runTest() 88 assertTrue("domimplementationhasfeature01_XML_1", success); in runTest() 89 success = domImpl.hasFeature(featureXML, version1); in runTest() 90 assertTrue("domimplementationhasfeature01_XML_2", success); in runTest() 94 success = domImpl.hasFeature(featureCore, version); in runTest() 95 assertTrue("domimplementationhasfeature01_Core_1", success); in runTest() 96 success = domImpl.hasFeature(featureCore, version1); in runTest() 97 success = domImpl.hasFeature(featureCore, version2); in runTest() 98 assertTrue("domimplementationhasfeature01_Core_3", success); in runTest()
|
D | elementsetattributens08.java | 75 boolean success = false; in runTest() 79 success = (ex.code == DOMException.NAMESPACE_ERR); in runTest() 81 assertTrue("elementsetattributens08_Err1", success); in runTest() 85 boolean success = false; in runTest() 89 success = (ex.code == DOMException.NAMESPACE_ERR); in runTest() 91 assertTrue("elementsetattributens08_Err2", success); in runTest()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | BlockingQueueTest.java | 74 } catch (NullPointerException success) {} in testOfferNull() 85 } catch (NullPointerException success) {} in testAddNull() 97 } catch (NullPointerException success) {} in testTimedOfferNull() 109 } catch (NullPointerException success) {} 120 } catch (NullPointerException success) {} 132 } catch (NullPointerException success) {} 143 } catch (NullPointerException success) {} 154 } catch (NullPointerException success) {} 165 } catch (IllegalArgumentException success) {} 176 } catch (NullPointerException success) {} [all …]
|
D | AbstractQueueTest.java | 68 } catch (IllegalStateException success) {} in testAddF() 79 } catch (NullPointerException success) {} in testAddNPE() 98 } catch (NoSuchElementException success) {} in testRemoveF() 117 } catch (NoSuchElementException success) {} in testElementF() 128 } catch (NullPointerException success) {} in testAddAll1() 139 } catch (IllegalArgumentException success) {} in testAddAllSelf() 151 } catch (NullPointerException success) {} in testAddAll2() 166 } catch (NullPointerException success) {} in testAddAll3() 180 } catch (IllegalStateException success) {} in testAddAll4()
|
D | ForkJoinPool8Test.java | 86 } catch (InterruptedException success) { in checkNotDone() 93 } catch (InterruptedException success) { in checkNotDone() 100 } catch (TimeoutException success) { in checkNotDone() 133 } catch (CancellationException success) { in checkCancelled() 139 } catch (CancellationException success) { in checkCancelled() 145 } catch (CancellationException success) { in checkCancelled() 169 } catch (ExecutionException success) { in checkCompletedAbnormally() 170 assertSame(t.getClass(), success.getCause().getClass()); in checkCompletedAbnormally() 176 } catch (ExecutionException success) { in checkCompletedAbnormally() 177 assertSame(t.getClass(), success.getCause().getClass()); in checkCompletedAbnormally() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | BlockingQueueTest.java | 98 } catch (NullPointerException success) {} in testOfferNull() 109 } catch (NullPointerException success) {} in testAddNull() 121 } catch (NullPointerException success) {} in testTimedOfferNull() 133 } catch (NullPointerException success) {} 144 } catch (NullPointerException success) {} 156 } catch (NullPointerException success) {} 167 } catch (NullPointerException success) {} 178 } catch (NullPointerException success) {} 189 } catch (IllegalArgumentException success) {} 200 } catch (NullPointerException success) {} [all …]
|
D | AbstractQueueTest.java | 91 } catch (IllegalStateException success) {} in testAddF() 102 } catch (NullPointerException success) {} in testAddNPE() 121 } catch (NoSuchElementException success) {} in testRemoveF() 140 } catch (NoSuchElementException success) {} in testElementF() 151 } catch (NullPointerException success) {} in testAddAll1() 162 } catch (IllegalArgumentException success) {} in testAddAllSelf() 174 } catch (NullPointerException success) {} in testAddAll2() 189 } catch (NullPointerException success) {} in testAddAll3() 203 } catch (IllegalStateException success) {} in testAddAll4()
|
D | ForkJoinPool8Test.java | 110 } catch (InterruptedException success) { in checkNotDone() 117 } catch (InterruptedException success) { in checkNotDone() 124 } catch (TimeoutException success) { in checkNotDone() 157 } catch (CancellationException success) { in checkCancelled() 163 } catch (CancellationException success) { in checkCancelled() 169 } catch (CancellationException success) { in checkCancelled() 193 } catch (ExecutionException success) { in checkCompletedAbnormally() 194 assertSame(t.getClass(), success.getCause().getClass()); in checkCompletedAbnormally() 200 } catch (ExecutionException success) { in checkCompletedAbnormally() 201 assertSame(t.getClass(), success.getCause().getClass()); in checkCompletedAbnormally() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | documentinvalidcharacterexceptioncreateentref1.java | 70 boolean success = false; in runTest() 74 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest() 76 assertTrue("throw_NOT_SUPPORTED_ERR", success); in runTest() 81 boolean success = false; in runTest() 85 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest() 87 assertTrue("throw_INVALID_CHARACTER_ERR", success); in runTest()
|
D | documentinvalidcharacterexceptioncreatepi1.java | 70 boolean success = false; in runTest() 74 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest() 76 assertTrue("throw_NOT_SUPPORTED_ERR", success); in runTest() 81 boolean success = false; in runTest() 85 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest() 87 assertTrue("throw_INVALID_CHARACTER_ERR", success); in runTest()
|
D | documentinvalidcharacterexceptioncreateentref.java | 73 boolean success = false; in runTest() 77 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest() 79 assertTrue("throw_NOT_SUPPORTED_ERR", success); in runTest() 84 boolean success = false; in runTest() 88 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest() 90 assertTrue("throw_INVALID_CHARACTER_ERR", success); in runTest()
|
D | documentinvalidcharacterexceptioncreatepi.java | 73 boolean success = false; in runTest() 77 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); in runTest() 79 assertTrue("throw_NOT_SUPPORTED_ERR", success); in runTest() 84 boolean success = false; in runTest() 88 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in runTest() 90 assertTrue("throw_INVALID_CHARACTER_ERR", success); in runTest()
|