Skip to content

Commit

Permalink
see #24163 - fix tests
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19338 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
stoecker committed Feb 25, 2025
1 parent a209587 commit e732708
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void testUpdateOnlySelectedPlugin() throws Exception {
assertEquals(1, jopsMocker.getInvocationLog().size());
invocationLogEntry = jopsMocker.getInvocationLog().get(0);
assertEquals(JOptionPane.OK_OPTION, (int) invocationLogEntry[0]);
assertEquals("Warning", invocationLogEntry[2]);
assertEquals("Information", invocationLogEntry[2]);

// dummy_plugin jar is still the updated version
TestUtils.assertFileContentsEqual(this.referenceDummyJarNew, this.targetDummyJar);
Expand Down Expand Up @@ -722,7 +722,7 @@ private void loadPlugins(
assertEquals(1, jopsMocker.getInvocationLog().size());
Object[] invocationLogEntry = jopsMocker.getInvocationLog().get(0);
assertEquals(JOptionPane.OK_OPTION, (int) invocationLogEntry[0]);
assertEquals("Warning", invocationLogEntry[2]);
assertEquals("Information", invocationLogEntry[2]);

assertTrue(haMocker.getInvocationLog().isEmpty());

Expand Down

0 comments on commit e732708

Please sign in to comment.