* Test method for 'org.locationtech.udig.project.internal.render.impl.RenderExecutorImpl.render(Envelope)'
*/
@Ignore
@Test
public void testRenderEnvelope() throws Exception {
RenderExecutor ex=map.getRenderManagerInternal().getRenderExecutor();
BufferedImage image = ex.getContext().getImage();
testImage(image,true, -1,-1,-1,-1);
int minx=30;
int miny=0;
int maxx=300;
int maxy=120;
ex.setRenderBounds(new Envelope(minx, maxx, miny, maxy));
ex.render();
Platform.getJobManager().join(map.getRenderManager(), new NullProgressMonitor());
BufferedImage image2 = ex.getContext().getImage();
assertEquals( image, image2 );
RenderExecutor executor = ((CompositeRendererImpl) ex.getRenderer()).getRenderExecutors().iterator().next();
BufferedImage rendererImage=executor.getContext().getImage();
showImage( "testRenderEnvelope", image ); //$NON-NLS-1$
testImage(image, false, minx, 512-maxy,maxx,512-miny );
assertTrue(image==ex.getContext().getImage());
Graphics2D graphics = rendererImage.createGraphics();