IRuntimeContext context =
run( "/test/platform/ContentOutputTest.xaction", parameterProvider, testName, CO_TEST_EXTN ); //$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$
IActionParameter rtn = context.getOutputParameter( "content" ); //$NON-NLS-1$
assertNotNull( rtn );
InputStream is = this.getInputStreamFromOutput( testName, CO_TEST_EXTN );
assertNotNull( is ); // Did the test execute properly...
String lookingFor = "This is sample output from the content-output component."; //$NON-NLS-1$
String wasRead = FileHelper.getStringFromInputStream( is );