refactor: rename package name to 'org.autojs.autojs'

This commit is contained in:
hyb1996
2018-05-25 13:19:53 +08:00
parent b81db30f3f
commit 7839bc6813
244 changed files with 787 additions and 843 deletions

View File

@@ -0,0 +1,21 @@
package org.autojs.autojs.statics;
import org.junit.Test;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
* Created by Stardust on 2017/5/13.
*/
public class RhinoE4XTest {
@Test
public void testAttributeName() {
Context context = Context.enter();
Scriptable scriptable = context.initStandardObjects();
context.setOptimizationLevel(-1);
Object o = context.evaluateString(scriptable, "XML.ignoreProcessingInstructions = true; (<xml id=\"foo\"></xml>).attributes()[0].name()", "<e4x>", 1, null);
System.out.println(o);
}
}