OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::intern::test Namespace Reference

Functions

std::string linesToString (const std::list< std::string > &_lines, const std::string &_linePrefix)
 
void testBranchesOrder (const ot::VersionGraphCfg::BranchesList &_branches, const std::list< std::string > &_expectedBranches)
 
void testBranchesEqual (const ot::VersionGraphCfg::BranchesList &_branches, const std::list< std::list< std::string > > &_expectedVersions)
 
void fillTestVersionGraph (ot::VersionGraphCfg &_graph)
 Create default branches: Index Name Versions 0 1 - 10 1 7.1 7.1.1 - 7.1.3 2 3.1 3.1.1 - 3.1.5 3 3.1.3.1 3.1.3.1.1 - 3.1.3.1.6 4 1.1 1.1.1 - 1.1.2 5 1.2 1.2.1 - 1.2.9.
 

Function Documentation

◆ fillTestVersionGraph()

void ot::intern::test::fillTestVersionGraph ( ot::VersionGraphCfg & _graph)

Create default branches: Index Name Versions 0 1 - 10 1 7.1 7.1.1 - 7.1.3 2 3.1 3.1.1 - 3.1.5 3 3.1.3.1 3.1.3.1.1 - 3.1.3.1.6 4 1.1 1.1.1 - 1.1.2 5 1.2 1.2.1 - 1.2.9.

◆ linesToString()

std::string ot::intern::test::linesToString ( const std::list< std::string > & _lines,
const std::string & _linePrefix )

◆ testBranchesEqual()

void ot::intern::test::testBranchesEqual ( const ot::VersionGraphCfg::BranchesList & _branches,
const std::list< std::list< std::string > > & _expectedVersions )

◆ testBranchesOrder()

void ot::intern::test::testBranchesOrder ( const ot::VersionGraphCfg::BranchesList & _branches,
const std::list< std::string > & _expectedBranches )