lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.tests.LFTest.ExecutionLogger Class Reference

Inner class for capturing streams during execution of a test, capable of recording output streams up until the moment that a test is interrupted upon timing out. More...

Public Member Functions

void clear ()
Thread recordStdErr (Process process)
 Return a thread responsible for recording the error stream of the given process.
Thread recordStdOut (Process process)
 Return a thread responsible for recording the standard output stream of the given process.
String toString ()

Package Attributes

StringBuffer buffer = new StringBuffer()
 String buffer used to record the standard output and error streams from the input process.

Detailed Description

Inner class for capturing streams during execution of a test, capable of recording output streams up until the moment that a test is interrupted upon timing out.

Author
Marten Lohstroh

Member Function Documentation

◆ clear()

void org.lflang.tests.LFTest.ExecutionLogger.clear ( )

◆ recordStdErr()

Thread org.lflang.tests.LFTest.ExecutionLogger.recordStdErr ( Process process)

Return a thread responsible for recording the error stream of the given process.

A separate thread is used so that the activity can be preempted.

◆ recordStdOut()

Thread org.lflang.tests.LFTest.ExecutionLogger.recordStdOut ( Process process)

Return a thread responsible for recording the standard output stream of the given process.

A separate thread is used so that the activity can be preempted.

◆ toString()

String org.lflang.tests.LFTest.ExecutionLogger.toString ( )

Member Data Documentation

◆ buffer

StringBuffer org.lflang.tests.LFTest.ExecutionLogger.buffer = new StringBuffer()
package

String buffer used to record the standard output and error streams from the input process.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/testFixtures/java/org/lflang/tests/LFTest.java