We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc40c2b commit ca6ba1bCopy full SHA for ca6ba1b
src/test/java/org/htmlunit/GlobalTest.java
@@ -0,0 +1,22 @@
1
+package org.htmlunit;
2
+
3
+import org.htmlunit.corejs.javascript.Context;
4
+import org.htmlunit.corejs.javascript.ContextFactory;
5
+import org.htmlunit.corejs.javascript.tools.shell.Global;
6
+import org.junit.jupiter.api.Test;
7
8
+/**
9
+ * @author Ronald Brill
10
+ */
11
+public class GlobalTest {
12
13
+ /**
14
+ * @throws Exception if the test fails
15
16
+ @Test
17
+ public void test() throws Exception {
18
+ try (Context ctx = ContextFactory.getGlobal().enterContext()) {
19
+ new Global(ctx);
20
+ };
21
+ }
22
+}
0 commit comments