Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsReading from console view
https://www.eclipse.org/forums/index.php/mv/msg/30187/97862/#msg_97862
Originally posted by: eitanush.gmail.com
Hi,
I am building a regression test environments using the TPTP AGR.
I try to read standard output from the console, but can't find the way to
do that (I added a verification hook, but fail to read the contents of the
console).
I am testing the final product itself and not from the development
environment.
How can I read the contents of the console?
Thanks.]]>2007-05-06T12:54:10-00:00Re: Reading from console view
https://www.eclipse.org/forums/index.php/mv/msg/30187/98019/#msg_98019
The TPTP test runners (for example, AGR runner) capture standard out
content, convert it to a message event and send it back to the executing
workbench for persistence in the test log. You can outride this by setting
your own PrintStream for standard out using
java.lang.System#setOut(java.io.PrintStream) and standard error using
java.lang.System#setErr(java.io.PrintStream).
Paul
"Anat Levi" <eitanush@gmail.com> wrote in message
news:9fa9ce713c81d1cfea6f2bc37b5d9d8c$1@www.eclipse.org...
> Hi,
> I am building a regression test environments using the TPTP AGR. I try to
> read standard output from the console, but can't find the way to do that
> (I added a verification hook, but fail to read the contents of the
> console). I am testing the final product itself and not from the
> development environment.
> How can I read the contents of the console?
> Thanks.
>]]>Paul Slauenwhite2007-05-07T11:28:16-00:00