Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
texTestReport.cpp File Reference

implementation of the Tex test report generation More...

#include "shambase/string.hpp"
#include "shambackends/sycl.hpp"
#include "shamrock/version.hpp"
#include "shamsys/NodeInstance.hpp"
#include "shamtest/details/TestResult.hpp"
#include "texTestReport.hpp"
#include <algorithm>
#include <sstream>
#include <string>
#include <vector>
+ Include dependency graph for texTestReport.cpp:

Go to the source code of this file.

Namespaces

namespace  shamtest
 namespace containing stuff related to the test library
 
namespace  shamtest::details
 implementation details of the test library
 

Functions

void shamtest::details::add_unittest_section (std::stringstream &output, std::vector< TestResult > &results)
 Add the unittest section to the Tex report.
 
void shamtest::details::add_tex_output_section (std::stringstream &output, std::vector< TestResult > &results)
 Add tex outputs from the tests to the report.
 
void shamtest::details::add_queue_section (std::stringstream &output, sycl::queue &q)
 Document details about the SYCL queues status in the report.
 
void shamtest::details::add_config_section (std::stringstream &output)
 Document details about the Shamrock status in the report.
 
std::string shamtest::details::make_test_report_tex (std::vector< TestResult > &results, bool mark_fail)
 Make the tex report.
 

Variables

std::string tex_template
 Tex report template to be used.
 
std::string tex_template_end
 Footer of the document.
 

Detailed Description

implementation of the Tex test report generation

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file texTestReport.cpp.

Variable Documentation

◆ tex_template

std::string tex_template

Tex report template to be used.

Definition at line 30 of file texTestReport.cpp.

◆ tex_template_end

std::string tex_template_end
Initial value:
= R"(
\end{document}
)"

Footer of the document.

Definition at line 94 of file texTestReport.cpp.