< prev index next >
test/javax/xml/jaxp/functional/org/w3c/dom/ptests/TextTest.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -28,10 +28,11 @@
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
+import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import org.w3c.dom.CharacterData;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@@ -39,10 +40,11 @@
import org.xml.sax.SAXException;
/*
* @summary Test for Text implementation returned by Document.createTextNode(String)
*/
+@Listeners({jaxp.library.FilePolicy.class})
public class TextTest extends AbstractCharacterDataTest {
/*
* Verify splitText method works as the spec.
*/
@Test
< prev index next >