mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
s
This commit is contained in:
1 parent
c59592e448
commit
13e02ecd2f
41 files changed
+352
-449
No files matched your search
+1
-1
@@ -26,7 +26,7 @@ import static org.junit.Assert.assertTrue;
|
||||
|
||||
public class ModdedPackInstallerTest {
|
||||
@Test
|
||||
public void managedBetaPacksIgnoreTheRequestedBranch() {
|
||||
public void managedPacksIgnoreTheRequestedBranch() {
|
||||
assertTrue(ModdedPackInstaller.acceptsBranch("overworld", null));
|
||||
assertTrue(ModdedPackInstaller.acceptsBranch("underworld", "feature/arbitrary"));
|
||||
}
|
||||
|
||||
-41
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
* Iris is a World Generator for Minecraft Servers
|
||||
* Copyright (c) 2026 Arcane Arts (Volmit Software)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package art.arcane.iris.modded;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class ModdedStartupPackSelectionTest {
|
||||
@Test
|
||||
public void managedBetaPacksAreAlwaysInstalledInStableOrder() {
|
||||
assertEquals(List.of("overworld", "underworld"), ModdedStartup.startupPacks("overworld"));
|
||||
assertEquals(List.of("overworld", "underworld"), ModdedStartup.startupPacks("underworld"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void configuredNonManagedDefaultIsInstalledAfterManagedBetaPacks() {
|
||||
assertEquals(
|
||||
List.of("overworld", "underworld", "custom"),
|
||||
ModdedStartup.startupPacks("custom")
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user