Class RT


  • @Deprecated
    public final class RT
    extends java.lang.Object
    Deprecated.
    Use IAgent instead.
    Compatibility layer for the EMMA runtime which allows to trigger dumps through EMMA APIs. Note that even this class emulates an EMMA API the files written are in JaCoCo execution data format.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void dumpCoverageData​(java.io.File outFile, boolean stopDataCollection)
      Deprecated.
      Writes the current execution data to the given file in JaCoCo execution data format.
      static void dumpCoverageData​(java.io.File outFile, boolean merge, boolean stopDataCollection)
      Deprecated.
      Writes the current execution data to the given file in JaCoCo execution data format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • dumpCoverageData

        public static void dumpCoverageData​(java.io.File outFile,
                                            boolean merge,
                                            boolean stopDataCollection)
                                     throws java.io.IOException
        Deprecated.
        Writes the current execution data to the given file in JaCoCo execution data format.
        Parameters:
        outFile - file to write execution data to
        merge - if true, execution data is appended to an existing file
        stopDataCollection - ignored
        Throws:
        java.io.IOException - in case of problems with the file output
      • dumpCoverageData

        public static void dumpCoverageData​(java.io.File outFile,
                                            boolean stopDataCollection)
                                     throws java.io.IOException
        Deprecated.
        Writes the current execution data to the given file in JaCoCo execution data format. If the file already exists new data is appended.
        Parameters:
        outFile - file to write execution data to
        stopDataCollection - ignored
        Throws:
        java.io.IOException - in case of problems with the file output