GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node-java/test/javaObject.test.ts at master · joeferner/node-java Expand file tree/ Copy pathjavaObject.test.tsMore file actions 19 lines (16 loc) · 486 Bytes / Copy pathjavaObject.test.tsFile metadata and controls19 lines (16 loc) · 486 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 import { beforeEach, describe, expect, test } from "vitest"; import { getJava } from "../testHelpers"; import { Java, JavaObject } from "../java"; describe("Java Object", () => { let testObj: JavaObject; let java!: Java; beforeEach(async () => { java = await getJava(); testObj = java.newInstanceSync("Test"); }); test("field", () => { expect(testObj.nonstaticInt).toBe(42); testObj.nonstaticInt = 112; expect(testObj.nonstaticInt).toBe(112); }); }); |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |