Celero
Classes | Public Member Functions | Static Public Member Functions | List of all members
celero::JUnit Class Reference

#include <JUnit.h>

Classes

struct  Impl
 

Public Member Functions

void setFileName (const std::string &x)
 Specify a file name for a results output file. More...
 
void add (std::shared_ptr< celero::ExperimentResult > x)
 Add a new result to the JUnit output XML. More...
 
void save ()
 Save the JUnit (XUnit) formatted file to the given file name.
 

Static Public Member Functions

static JUnitInstance ()
 Singleton.
 

Detailed Description

Author
John Farrier

Member Function Documentation

◆ add()

void JUnit::add ( std::shared_ptr< celero::ExperimentResult x)

Add a new result to the JUnit output XML.

This should re-save on every new result so that the output can be monitored externally.

◆ setFileName()

void JUnit::setFileName ( const std::string &  x)

Specify a file name for a results output file.

Parameters
xThe name of the output file in which to store Celero's results.

The documentation for this class was generated from the following files: