Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IXmlUnitTest Class Referenceabstract

Interface of a unit test service providing a test report in the form of an XML node. More...

#include <arcane/core/IUnitTest.h>

Inheritance diagram for Arcane::IXmlUnitTest:
Collaboration diagram for Arcane::IXmlUnitTest:

Public Member Functions

virtual void buildInitializeTest ()
virtual void initializeTest ()=0
virtual bool executeTest (XmlNode &report)=0
 Executes the test and fills the provided XML node parameter.
virtual void finalizeTest ()=0

Detailed Description

Interface of a unit test service providing a test report in the form of an XML node.

Definition at line 63 of file IUnitTest.h.

Member Function Documentation

◆ buildInitializeTest()

virtual void Arcane::IXmlUnitTest::buildInitializeTest ( )
inlinevirtual

Definition at line 71 of file IUnitTest.h.

◆ executeTest()

virtual bool Arcane::IXmlUnitTest::executeTest ( XmlNode & report)
pure virtual

Executes the test and fills the provided XML node parameter.

Returns false for the code to stop in error, true otherwise (useful for having an error in CMake tests...).

Implemented in Arcane::UnitTestServiceAdapter< T >.

◆ finalizeTest()

virtual void Arcane::IXmlUnitTest::finalizeTest ( )
pure virtual

◆ initializeTest()

virtual void Arcane::IXmlUnitTest::initializeTest ( )
pure virtual

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