From 49fe9a3cfb110003b81ee4ca79eb447442ee38a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Thu, 5 Dec 2024 13:58:47 +0200 Subject: [PATCH] Fix running tests against 2024-12 --- .../java/org/eclipse/tycho/extras/pde/TestListDependencies.java | 2 +- .../tycho/test/surefire/ExplodedTestDependenciesTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tycho-extras/tycho-extras-its/src/test/java/org/eclipse/tycho/extras/pde/TestListDependencies.java b/tycho-extras/tycho-extras-its/src/test/java/org/eclipse/tycho/extras/pde/TestListDependencies.java index a65b1d45cf..7e50f1c5aa 100644 --- a/tycho-extras/tycho-extras-its/src/test/java/org/eclipse/tycho/extras/pde/TestListDependencies.java +++ b/tycho-extras/tycho-extras-its/src/test/java/org/eclipse/tycho/extras/pde/TestListDependencies.java @@ -46,7 +46,7 @@ public void testDependencyWithNestedJar() throws Exception { try (BufferedReader reader = Files.newBufferedReader(file.toPath())) { File dependency = new File(reader.readLine()); assertTrue(dependency.exists()); - assertEquals("org.junit-4.13.2.v20230809-1000.jar", dependency.getName()); + assertEquals("org.junit-4.13.2.v20240929-1000.jar", dependency.getName()); } } } diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/surefire/ExplodedTestDependenciesTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/surefire/ExplodedTestDependenciesTest.java index f5c69ca9cf..02196a436f 100644 --- a/tycho-its/src/test/java/org/eclipse/tycho/test/surefire/ExplodedTestDependenciesTest.java +++ b/tycho-its/src/test/java/org/eclipse/tycho/test/surefire/ExplodedTestDependenciesTest.java @@ -31,7 +31,7 @@ public void testLocalMavenRepository() throws Exception { // TODO this is only an indirect test; it should test that the bundles nested // jars are accessible as file URLs File antHome = new File(v01.getBasedir(), - "tycho340.test/target/work/plugins/org.apache.ant_1.10.14.v20230922-1200"); + "tycho340.test/target/work/plugins/org.apache.ant_1.10.15.v20240901-1000"); Assert.assertTrue(antHome.isDirectory()); }