added more working DOM test cases for JS
This commit is contained in:
@@ -11,6 +11,7 @@ native public val Node.outerHTML: String
|
||||
get() = js.noImpl
|
||||
|
||||
/** Converts the node to an XML String */
|
||||
public fun Node.toXmlString(xmlDeclaration: Boolean = false): String {
|
||||
return this.outerHTML
|
||||
}
|
||||
public fun Node.toXmlString(): String = this.outerHTML
|
||||
|
||||
/** Converts the node to an XML String */
|
||||
public fun Node.toXmlString(xmlDeclaration: Boolean): String = this.outerHTML
|
||||
|
||||
@@ -24,8 +24,9 @@ public class StdLibTestToJSTest extends StdLibTestSupport {
|
||||
public void testGenerateTestCase() throws Exception {
|
||||
generateJavaScriptFiles(EcmaVersion.all(),
|
||||
"libraries/stdlib/test",
|
||||
//"dom/DomTest.kt",
|
||||
"dom/DomTest.kt",
|
||||
"js/MapTest.kt",
|
||||
"js/JsDomTest.kt",
|
||||
"ListTest.kt",
|
||||
"StringTest.kt");
|
||||
}
|
||||
|
||||
@@ -92,6 +92,7 @@ public abstract class Config {
|
||||
*/
|
||||
@NotNull
|
||||
public static final List<String> LIB_FILE_NAMES_DEPENDENT_ON_STDLIB = Arrays.asList(
|
||||
"/stdlib/dom.kt",
|
||||
"/stdlib/jutil.kt",
|
||||
"/stdlib/JUMaps.kt",
|
||||
"/stdlib/test.kt",
|
||||
|
||||
Reference in New Issue
Block a user