SimpleParameterProvider parameterProvider = new SimpleParameterProvider();
parameterProvider.setParameter( "type", "html" ); //$NON-NLS-1$ //$NON-NLS-2$
OutputStream outputStream = getOutputStream( "TemplateTest.testTemplate3", ".svg" ); //$NON-NLS-1$ //$NON-NLS-2$
SimpleOutputHandler outputHandler = new SimpleOutputHandler( outputStream, true );
StandaloneSession session =
new StandaloneSession( Messages.getInstance().getString( "BaseTest.DEBUG_JUNIT_SESSION" ) ); //$NON-NLS-1$
IRuntimeContext context =
run( "/test/template/europemap.xaction", null, false, parameterProvider, outputHandler, session ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
assertEquals(
Messages.getInstance().getString( "BaseTest.USER_RUNNING_ACTION_SEQUENCE" ), IRuntimeContext.RUNTIME_STATUS_SUCCESS, context.getStatus() ); //$NON-NLS-1$