ImageFixture just needs the names of the image files:
The method imagesForImageFixture() in class GridFixtureUnderTest is as follows:
fitlibrary.specify.GridFixtureUnderTest |
images for image fixture | ||||
The method imagesForImageFixture() in class GridFixtureUnderTest is as follows:
...
public Fixture imagesForImageFixture() {
return new ImageFixture(new String[][] {
{ "gameImages/wall.jpg",
"gameImages/space.jpg",
"gameImages/box.jpg",
"gameImages/space.jpg",
"gameImages/wall.jpg" }});
}
- Copyright (c) 2004, 2005 Rick Mugridge, Rimu Research.
- Released under the terms of the GNU General Public License version 2 or later.
Add Child Page to ImageFixture