use of com.b3dgs.lionengine.graphic.FactoryGraphicMock in project lionengine by b3dgs.
the class SetupTest method setUp.
/**
* Prepare test.
*/
@BeforeClass
public static void setUp() {
Medias.setLoadFromJar(SetupTest.class);
Graphics.setFactoryGraphic(new FactoryGraphicMock());
}
use of com.b3dgs.lionengine.graphic.FactoryGraphicMock in project lionengine by b3dgs.
the class WorldTest method setUp.
/**
* Prepare test.
*/
@BeforeClass
public static void setUp() {
Medias.setLoadFromJar(WorldTest.class);
Graphics.setFactoryGraphic(new FactoryGraphicMock());
}
use of com.b3dgs.lionengine.graphic.FactoryGraphicMock in project lionengine by b3dgs.
the class CollidableModelTest method setUp.
/**
* Prepare test.
*/
@BeforeClass
public static void setUp() {
Graphics.setFactoryGraphic(new FactoryGraphicMock());
Medias.setResourcesDirectory(System.getProperty("java.io.tmpdir"));
config = UtilSetup.createConfig();
}
use of com.b3dgs.lionengine.graphic.FactoryGraphicMock in project lionengine by b3dgs.
the class ComponentCollisionTest method setUp.
/**
* Prepare test.
*/
@BeforeClass
public static void setUp() {
Graphics.setFactoryGraphic(new FactoryGraphicMock());
Medias.setResourcesDirectory(System.getProperty("java.io.tmpdir"));
config = UtilSetup.createConfig();
}
use of com.b3dgs.lionengine.graphic.FactoryGraphicMock in project lionengine by b3dgs.
the class SpriteTiledTest method setUp.
/**
* Prepare test.
*/
@BeforeClass
public static void setUp() {
Graphics.setFactoryGraphic(new FactoryGraphicMock());
Medias.setLoadFromJar(SpriteTiledTest.class);
media = Medias.create("image.png");
}
Aggregations