From 2e7f7c9671b442e90810093e0c7f907efc63e9c3 Mon Sep 17 00:00:00 2001 From: Matthias Faust Date: Tue, 10 Sep 2024 18:49:45 +0200 Subject: [PATCH] 3.5.2 --- resources/pinemhi/pinemhi.ini | 2 +- .../vPinball/PinUPSystem/PUPDatabase.db | Bin 352256 -> 352256 bytes .../Visual Pinball/Visual Pinball.xml | 6 +-- testsystem/vpin-studio.db | Bin 364544 -> 364544 bytes .../GithubReleaseFactoryTest.java | 45 +++++++++--------- .../mephisto/vpin/connectors/vps/VPSTest.java | 5 ++ vpin-studio-app/dependency-reduced-pom.xml | 2 +- 7 files changed, 32 insertions(+), 28 deletions(-) diff --git a/resources/pinemhi/pinemhi.ini b/resources/pinemhi/pinemhi.ini index 3d2574bf7..9f34f5bdd 100644 --- a/resources/pinemhi/pinemhi.ini +++ b/resources/pinemhi/pinemhi.ini @@ -1,5 +1,5 @@ [paths] -VP=C:/vPinball/visualpinball/VPinMAME/nvram/ +VP=C:/workspace/vpin-studio/vpin-studio-server/../testsystem/vPinball/VisualPinball/VPinMAME/nvram/ FP=C:\vPinball\Future Pinball\fpRAM [options] diff --git a/testsystem/vPinball/PinUPSystem/PUPDatabase.db b/testsystem/vPinball/PinUPSystem/PUPDatabase.db index ca2dcedc52623c83f7c8b2c33cf7874a81eccd3d..d5f1f8879981c6041675f989bb87db9e7fd37c83 100644 GIT binary patch delta 235 zcmZoTAlh(1bb>Ua+C&*=MzzL-)&$1Z1g6#m=GFw3tqH90F+P^Mh6W0T7FH(aRwkx; z=7xqwhNhOu7O951<_5_Yx+a#%M!FVBhUU5^X%;{^OC$3%OH(5QBNJT%WUXd;CI*(% z&K5+K18UfQE|!&tQ5{v>#K;n>QAX1l<5}I&4KXmE9vRPCFMwu-<@DG% GRtW&_OE*{m delta 236 zcmZoTAlh(1bb>Ua=tLQ3M$yKE)&$1Z1g6#m=GFw3tqH90F+S$H#s&&T23DqqRz~J} z78Zu7DVC-tMg}IjX(@)5x+W&ZDY_PEDVDm124=~r7OBSON#+Jd21X{j2FO}1^h}LR zrpLvxiceRHWt}aEDraVBzWrP*D-WYOs<^4KC03)1r!&U0x}zInU@<*1p0yrL*woSz GY%c(7kvHl9 diff --git a/testsystem/vPinball/pinballX/Databases/Visual Pinball/Visual Pinball.xml b/testsystem/vPinball/pinballX/Databases/Visual Pinball/Visual Pinball.xml index 196357708..8b51e3172 100644 --- a/testsystem/vPinball/pinballX/Databases/Visual Pinball/Visual Pinball.xml +++ b/testsystem/vPinball/pinballX/Databases/Visual Pinball/Visual Pinball.xml @@ -7,7 +7,7 @@ True True True - 2024-07-30 20:51:28 + 2024-09-10 18:47:46 Jaws @@ -17,7 +17,7 @@ True True True - 2024-07-30 20:51:28 + 2024-09-10 18:47:46 Twister (1996) @@ -28,6 +28,6 @@ True True Test Osterone - 2024-07-30 20:51:28 + 2024-09-10 18:47:46 \ No newline at end of file diff --git a/testsystem/vpin-studio.db b/testsystem/vpin-studio.db index bf889c63897bd097080c2df35b292ef25af45876..39e4235b61ea40a209c5cde84c04d5ffc6e73836 100644 GIT binary patch delta 715 zcmYk4&rcIU6vuaFwo9wQsV4SeIPn7$F#g| z37gy86qdEAzMsh-8KpvDe6%rmoz%b$iOad#@Vhwy&e3oCa&M$2kagg$<9t zZN97LWLQ{iu70Pqn264-LK+W_dNvH`kd-x^4RDRpp80y8DKuhC~6j_0+g1JV@1dsz#j{VO4 E0kgNgc>n+a delta 743 zcmYk4JxtVK7{~jzy@HyvNbm@`0|$-VDKETj-}c(X0fG<#ImjI!I^DHzTXj+d#TW^v z1FJ`FI1`r+f}6q-ZQ|r$oY2k1iMYApX5#15I}#Xv@AH2A|No~+pK_2W2Z>4&b*!g` zQO9=aDQ)i@o|>EJkTA%uz8R78oqb2xIlqPdU-Wa~vm0 zi8vHN&U5m%ydvj!PPKiD@9eM4q1A_khV-E{ZZ9v656u^@+`4hIz;5658lFp&sOeE4zW2b> zDkY=GR}ZS6RtH3A^r2qWmGi$EWMfqq~BAbfENB9wLOXr;u1`$8>KK9DZ}+# S$97eZ7;7bAtt4)iV&p%Uw8P*4 diff --git a/vpin-connector-github/src/test/java/de/mephisto/githubloader/GithubReleaseFactoryTest.java b/vpin-connector-github/src/test/java/de/mephisto/githubloader/GithubReleaseFactoryTest.java index 29e2984e5..0613598ec 100644 --- a/vpin-connector-github/src/test/java/de/mephisto/githubloader/GithubReleaseFactoryTest.java +++ b/vpin-connector-github/src/test/java/de/mephisto/githubloader/GithubReleaseFactoryTest.java @@ -55,18 +55,18 @@ public void testMameDownloadSimulated() throws Exception { assertNull(install.getStatus()); } -// @Test - public void testMameDiff() throws Exception { - GithubRelease githubRelease = GithubReleaseFactory.loadRelease("https://github.com/vpinball/pinmame/releases", Arrays.asList("win-", "VPinMAME"), Arrays.asList("linux", "sc-", "osx")); - assertNotNull(githubRelease); - ReleaseArtifact artifact = githubRelease.getArtifacts().get(0); - ReleaseArtifactActionLog install = artifact.diff(new File(TEST_FOLDER, artifact.getName()), new File(TEST_FOLDER), Arrays.asList("VPMAlias.txt"), Collections.emptyList(), "*.dll"); - assertNotNull(install); - assertFalse(install.getLogs().isEmpty()); - assertFalse(install.getDiffEntries().isEmpty()); - assertNull(install.getStatus()); - } +// public void testMameDiff() throws Exception { +// GithubRelease githubRelease = GithubReleaseFactory.loadRelease("https://github.com/vpinball/pinmame/releases", Arrays.asList("win-", "VPinMAME"), Arrays.asList("linux", "sc-", "osx")); +// assertNotNull(githubRelease); +// +// ReleaseArtifact artifact = githubRelease.getArtifacts().get(0); +// ReleaseArtifactActionLog install = artifact.diff(new File(TEST_FOLDER, artifact.getName()), new File(TEST_FOLDER), Arrays.asList("VPMAlias.txt"), Collections.emptyList(), "*.dll"); +// assertNotNull(install); +// assertFalse(install.getLogs().isEmpty()); +// assertFalse(install.getDiffEntries().isEmpty()); +// assertNull(install.getStatus()); +// } @Test @@ -109,18 +109,17 @@ public void testVpx2() throws Exception { } - @Test - public void testVpxDiff() throws Exception { - GithubRelease githubRelease = GithubReleaseFactory.loadRelease("https://github.com/vpinball/vpinball/releases", Collections.emptyList(), Arrays.asList("Debug")); - assertNotNull(githubRelease); - - ReleaseArtifact artifact = githubRelease.getArtifacts().get(0); - ReleaseArtifactActionLog install = artifact.diff(new File(TEST_FOLDER, artifact.getName()), new File(TEST_FOLDER), Arrays.asList("VPinballX64.exe", "VPinballX.exe", "VPinballX_GL.exe"), Collections.emptyList()); - assertNotNull(install); - assertNull(install.getStatus()); - assertFalse(install.getDiffEntries().isEmpty()); - - } +// @Test +// public void testVpxDiff() throws Exception { +// GithubRelease githubRelease = GithubReleaseFactory.loadRelease("https://github.com/vpinball/vpinball/releases", Collections.emptyList(), Arrays.asList("Debug")); +// assertNotNull(githubRelease); +// +// ReleaseArtifact artifact = githubRelease.getArtifacts().get(0); +// ReleaseArtifactActionLog install = artifact.diff(new File(TEST_FOLDER, artifact.getName()), new File(TEST_FOLDER), Arrays.asList("VPinballX64.exe", "VPinballX.exe", "VPinballX_GL.exe"), Collections.emptyList()); +// assertNotNull(install); +// assertNull(install.getStatus()); +// assertFalse(install.getDiffEntries().isEmpty()); +// } @Test public void testBackglass() throws Exception { diff --git a/vpin-connector-vps/src/test/java/de/mephisto/vpin/connectors/vps/VPSTest.java b/vpin-connector-vps/src/test/java/de/mephisto/vpin/connectors/vps/VPSTest.java index 5897bf394..adb5c2211 100644 --- a/vpin-connector-vps/src/test/java/de/mephisto/vpin/connectors/vps/VPSTest.java +++ b/vpin-connector-vps/src/test/java/de/mephisto/vpin/connectors/vps/VPSTest.java @@ -34,6 +34,11 @@ public void testCorruption() throws IOException { List tables = vps.getTables(); for (VpsTable table : tables) { + if(table == null || table.getB2sFiles() == null) { + System.out.println(table); + continue; + } + for (VpsBackglassFile b2sFile : table.getB2sFiles()) { if(b2sFile.getId() == null) { System.out.println(table.getName()); diff --git a/vpin-studio-app/dependency-reduced-pom.xml b/vpin-studio-app/dependency-reduced-pom.xml index 17eac55af..608e5e44d 100644 --- a/vpin-studio-app/dependency-reduced-pom.xml +++ b/vpin-studio-app/dependency-reduced-pom.xml @@ -3,7 +3,7 @@ studio de.mephisto.vpin - 3.4.1 + 3.5.2 4.0.0 vpin-studio-app