[fix] Fixed OpenRocketSaverTest: minimum file version is now 108
This commit is contained in:
parent
9398331f02
commit
4a874b6ba9
@ -189,42 +189,14 @@ public class OpenRocketSaverTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////
|
|
||||||
// Tests for File Version 1.6 //
|
|
||||||
////////////////////////////////
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testFileVersion106_withAppearance() {
|
|
||||||
OpenRocketDocument rocketDoc = TestRockets.makeTestRocket_v106_withAppearance();
|
|
||||||
assertEquals(106, getCalculatedFileVersion(rocketDoc));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testFileVersion106_withMotorMountIgnitionConfig() {
|
|
||||||
OpenRocketDocument rocketDoc = TestRockets.makeTestRocket_v106_withMotorMountIgnitionConfig();
|
|
||||||
assertEquals(106, getCalculatedFileVersion(rocketDoc));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testFileVersion106_withRecoveryDeviceDeploymentConfig() {
|
|
||||||
OpenRocketDocument rocketDoc = TestRockets.makeTestRocket_v106_withRecoveryDeviceDeploymentConfig();
|
|
||||||
assertEquals(106, getCalculatedFileVersion(rocketDoc));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testFileVersion106_withStageDeploymentConfig() {
|
|
||||||
OpenRocketDocument rocketDoc = TestRockets.makeTestRocket_v106_withStageSeparationConfig();
|
|
||||||
assertEquals(106, getCalculatedFileVersion(rocketDoc));
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
// Tests for File Version 1.7 //
|
// Tests for File Version 1.7 //
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testFileVersion107_withSimulationExtension() {
|
public void testFileVersion108_withSimulationExtension() {
|
||||||
OpenRocketDocument rocketDoc = TestRockets.makeTestRocket_v107_withSimulationExtension(SIMULATION_EXTENSION_SCRIPT);
|
OpenRocketDocument rocketDoc = TestRockets.makeTestRocket_v107_withSimulationExtension(SIMULATION_EXTENSION_SCRIPT);
|
||||||
assertEquals(107, getCalculatedFileVersion(rocketDoc));
|
assertEquals(108, getCalculatedFileVersion(rocketDoc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user