GridTestPrintStream function ( ) { if ( testErr == null ) testErr = new GridTestPrintStream ( sysErr ) ; if ( errCnt == 0 ) System . setErr ( testErr ) ; errCnt ++ ; return testErr ; }
acquires output stream for logging errors in tests . concode_field_sep GridTestPrintStream testErr concode_elem_sep PrintStream sysErr concode_elem_sep GridTestPrintStream testOut concode_elem_sep long errCnt concode_elem_sep PrintStream sysOut concode_elem_sep long outCnt concode_field_sep GridTestPrintStream acquireOut concode_elem_sep PrintStream getStdOut concode_elem_sep void releaseOut concode_elem_sep void releaseErr concode_elem_sep PrintStream getStdErr