Changeset 18985 in josm for trunk/test/unit/org
- Timestamp:
- 2024-02-14T18:11:54+01:00 (10 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookOsxTest.java
r18853 r18985 35 35 @Test 36 36 void testStartupHook() { 37 hook.startupHook((a, b, c, d) -> System.out.println("java callback"), u -> System.out.println("webstart callback")); 37 hook.startupHook((a, b, c, d) -> System.out.println("java callback"), u -> System.out.println("webstart callback"), 38 (a, b, c) -> System.out.println("sanity check callback")); 38 39 } 39 40 -
trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java
r18893 r18985 47 47 final PlatformHook.JavaExpirationCallback javaCallback = (a, b, c, d) -> System.out.println("java callback"); 48 48 final PlatformHook.WebStartMigrationCallback webstartCallback = u -> System.out.println("webstart callback"); 49 assertDoesNotThrow(() -> hook.startupHook(javaCallback, webstartCallback)); 49 final PlatformHook.SanityCheckCallback sanityCheckCallback = (a, b, c) -> System.out.println("sanity check callback"); 50 assertDoesNotThrow(() -> hook.startupHook(javaCallback, webstartCallback, sanityCheckCallback)); 50 51 } 51 52
Note:
See TracChangeset
for help on using the changeset viewer.