rippled
Public Member Functions | Static Public Member Functions | Private Types | List of all members
beast::SemanticVersion_test Class Reference
Inheritance diagram for beast::SemanticVersion_test:
Inheritance graph
[legend]
Collaboration diagram for beast::SemanticVersion_test:
Collaboration graph
[legend]

Public Member Functions

void checkPass (std::string const &input, bool shouldPass=true)
 
void checkFail (std::string const &input)
 
void checkMeta (std::string const &input, bool shouldPass)
 
void checkMetaFail (std::string const &input)
 
void checkRelease (std::string const &input, bool shouldPass=true)
 
void check (std::string const &input, bool shouldPass=true)
 
void negcheck (std::string const &input)
 
void testParse ()
 
void checkValues (std::string const &input, int majorVersion, int minorVersion, int patchVersion, identifier_list const &preReleaseIdentifiers=identifier_list(), identifier_list const &metaData=identifier_list())
 
void testValues ()
 
void checkLessInternal (std::string const &lhs, std::string const &rhs)
 
void checkLess (std::string const &lhs, std::string const &rhs)
 
void testCompare ()
 
void run () override
 

Static Public Member Functions

static identifier_list ids ()
 
static identifier_list ids (std::string const &s1)
 
static identifier_list ids (std::string const &s1, std::string const &s2)
 
static identifier_list ids (std::string const &s1, std::string const &s2, std::string const &s3)
 

Private Types

using identifier_list = SemanticVersion::identifier_list
 

Detailed Description

Definition at line 23 of file SemanticVersion_test.cpp.

Member Typedef Documentation

◆ identifier_list

Definition at line 25 of file SemanticVersion_test.cpp.

Member Function Documentation

◆ checkPass()

void beast::SemanticVersion_test::checkPass ( std::string const &  input,
bool  shouldPass = true 
)

Definition at line 29 of file SemanticVersion_test.cpp.

◆ checkFail()

void beast::SemanticVersion_test::checkFail ( std::string const &  input)

Definition at line 45 of file SemanticVersion_test.cpp.

◆ checkMeta()

void beast::SemanticVersion_test::checkMeta ( std::string const &  input,
bool  shouldPass 
)

Definition at line 52 of file SemanticVersion_test.cpp.

◆ checkMetaFail()

void beast::SemanticVersion_test::checkMetaFail ( std::string const &  input)

Definition at line 70 of file SemanticVersion_test.cpp.

◆ checkRelease()

void beast::SemanticVersion_test::checkRelease ( std::string const &  input,
bool  shouldPass = true 
)

Definition at line 80 of file SemanticVersion_test.cpp.

◆ check()

void beast::SemanticVersion_test::check ( std::string const &  input,
bool  shouldPass = true 
)

Definition at line 104 of file SemanticVersion_test.cpp.

◆ negcheck()

void beast::SemanticVersion_test::negcheck ( std::string const &  input)

Definition at line 110 of file SemanticVersion_test.cpp.

◆ testParse()

void beast::SemanticVersion_test::testParse ( )

Definition at line 116 of file SemanticVersion_test.cpp.

◆ ids() [1/4]

static identifier_list beast::SemanticVersion_test::ids ( )
static

Definition at line 150 of file SemanticVersion_test.cpp.

◆ ids() [2/4]

static identifier_list beast::SemanticVersion_test::ids ( std::string const &  s1)
static

Definition at line 156 of file SemanticVersion_test.cpp.

◆ ids() [3/4]

static identifier_list beast::SemanticVersion_test::ids ( std::string const &  s1,
std::string const &  s2 
)
static

Definition at line 164 of file SemanticVersion_test.cpp.

◆ ids() [4/4]

static identifier_list beast::SemanticVersion_test::ids ( std::string const &  s1,
std::string const &  s2,
std::string const &  s3 
)
static

Definition at line 173 of file SemanticVersion_test.cpp.

◆ checkValues()

void beast::SemanticVersion_test::checkValues ( std::string const &  input,
int  majorVersion,
int  minorVersion,
int  patchVersion,
identifier_list const &  preReleaseIdentifiers = identifier_list(),
identifier_list const &  metaData = identifier_list() 
)

Definition at line 184 of file SemanticVersion_test.cpp.

◆ testValues()

void beast::SemanticVersion_test::testValues ( )

Definition at line 205 of file SemanticVersion_test.cpp.

◆ checkLessInternal()

void beast::SemanticVersion_test::checkLessInternal ( std::string const &  lhs,
std::string const &  rhs 
)

Definition at line 229 of file SemanticVersion_test.cpp.

◆ checkLess()

void beast::SemanticVersion_test::checkLess ( std::string const &  lhs,
std::string const &  rhs 
)

Definition at line 249 of file SemanticVersion_test.cpp.

◆ testCompare()

void beast::SemanticVersion_test::testCompare ( )

Definition at line 258 of file SemanticVersion_test.cpp.

◆ run()

void beast::SemanticVersion_test::run ( )
override

Definition at line 273 of file SemanticVersion_test.cpp.