OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 Copyright © 2001-2004 World Wide Web Consortium, | 3 Copyright © 2001-2004 World Wide Web Consortium, |
4 (Massachusetts Institute of Technology, European Research Consortium | 4 (Massachusetts Institute of Technology, European Research Consortium |
5 for Informatics and Mathematics, Keio University). All | 5 for Informatics and Mathematics, Keio University). All |
6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the | 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the |
7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even | 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
9 | 9 |
10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 throw ex; | 124 throw ex; |
125 } | 125 } |
126 } else { | 126 } else { |
127 throw ex; | 127 throw ex; |
128 } | 128 } |
129 } | 129 } |
130 replacedDocType = doc.doctype; | 130 replacedDocType = doc.doctype; |
131 | 131 |
132 newSysID = replacedDocType.systemId; | 132 newSysID = replacedDocType.systemId; |
133 | 133 |
134 assertNull("newSysIdNull",newSysID); | 134 assertEquals("newSysIdNull", "null", newSysID); |
135 | 135 |
136 } | 136 } |
137 | 137 |
138 | 138 |
139 | 139 |
140 | 140 |
141 function runTest() { | 141 function runTest() { |
142 documentgetdoctype01(); | 142 documentgetdoctype01(); |
143 } | 143 } |
OLD | NEW |