@Override @Nonnull protected EditableImage createEditableImage() { assert !EventQueue.isDispatchThread(); return testImageFactory.createGrangerRainbow(getWidth(), getHeight(), profileName); } }
@Test(dataProvider="profileNames") public void must_create_a_valid_Granger_rainbow (final @Nonnull String profileName) throws Exception { final EditableImage image = fixture.createGrangerRainbow(1024, 768, profileName); image.execute2(new ConvertToBufferedImageOp()).execute(new WriteOp("TIFF", "/tmp/grangersynth " + profileName + ".tif")); // FIXME: assertion }