Disable FModel tests

This commit is contained in:
jendave
2012-02-21 16:47:38 +00:00
parent b3b0426f6f
commit 1c71b1aff7

View File

@@ -13,6 +13,7 @@ import forge.properties.ForgePreferences;
/** /**
* Tests FModel. * Tests FModel.
*/ */
@Test(enabled = false)
public class FModelTest { public class FModelTest {
private FModel model; private FModel model;
@@ -50,7 +51,7 @@ public class FModelTest {
* @throws FileNotFoundException * @throws FileNotFoundException
* if something is really wrong * if something is really wrong
*/ */
@Test @Test(enabled = false)
public final void test_ctor_close_ctor() throws FileNotFoundException { public final void test_ctor_close_ctor() throws FileNotFoundException {
// by // by
// Braids // Braids
@@ -73,7 +74,7 @@ public class FModelTest {
* @throws FileNotFoundException * @throws FileNotFoundException
* if something is really wrong * if something is really wrong
*/ */
@Test @Test(enabled = false)
public final void test_getVersion() throws FileNotFoundException { public final void test_getVersion() throws FileNotFoundException {
final String version = this.model.getBuildInfo().getVersion(); final String version = this.model.getBuildInfo().getVersion();
@@ -86,7 +87,7 @@ public class FModelTest {
* @throws FileNotFoundException * @throws FileNotFoundException
* if something is really wrong * if something is really wrong
*/ */
@Test @Test(enabled = false)
public final void test_getBuildID() throws FileNotFoundException { public final void test_getBuildID() throws FileNotFoundException {
// by // by
// Braids // Braids
@@ -104,7 +105,7 @@ public class FModelTest {
* @throws FileNotFoundException * @throws FileNotFoundException
* indirectly * indirectly
*/ */
@Test @Test(enabled = false)
public final void test_getPreferences() throws FileNotFoundException { public final void test_getPreferences() throws FileNotFoundException {
final ForgePreferences prefs = this.model.getPreferences(); final ForgePreferences prefs = this.model.getPreferences();
Assert.assertNotNull(prefs, "prefs instance is not null"); Assert.assertNotNull(prefs, "prefs instance is not null");
@@ -113,7 +114,7 @@ public class FModelTest {
/** /**
* Test resetGameState and getGameState. * Test resetGameState and getGameState.
*/ */
@Test @Test(enabled = false)
public final void test_resetGameState_getGameState() { public final void test_resetGameState_getGameState() {
Singletons.setModel(this.model); Singletons.setModel(this.model);
Assert.assertNull(this.model.getGameState(), "game state has not yet been initialized"); Assert.assertNull(this.model.getGameState(), "game state has not yet been initialized");