gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
match.test.cc File Reference
#include <gtest/gtest.h>
#include "base/match.hh"

Go to the source code of this file.

Functions

 TEST (MatchTest, Add)
 
 TEST (MatchTest, SetExpression)
 
 TEST (MatchTest, SetExpressionVector)
 
 TEST (MatchTest, SimpleMatch)
 
 TEST (MatchTest, SimpleMismatch)
 
 TEST (MatchTest, MultipleExpressionsMatch)
 
 TEST (MatchTest, MultipleExpressionsMismatch)
 
 TEST (MatchTest, WildCardMatch)
 
 TEST (MatchTest, WildCardMismatch)
 
 TEST (MatchTest, TokensEmptyNoMatch)
 

Function Documentation

◆ TEST() [1/10]

TEST ( MatchTest  ,
Add   
)

Definition at line 33 of file match.test.cc.

References ObjectMatch::add(), and ObjectMatch::getExpressions().

◆ TEST() [2/10]

TEST ( MatchTest  ,
MultipleExpressionsMatch   
)

Definition at line 113 of file match.test.cc.

References ObjectMatch::match(), and ObjectMatch::setExpression().

◆ TEST() [3/10]

TEST ( MatchTest  ,
MultipleExpressionsMismatch   
)

Definition at line 125 of file match.test.cc.

References ObjectMatch::match(), and ObjectMatch::setExpression().

◆ TEST() [4/10]

TEST ( MatchTest  ,
SetExpression   
)

Definition at line 58 of file match.test.cc.

References ObjectMatch::getExpressions(), and ObjectMatch::setExpression().

◆ TEST() [5/10]

TEST ( MatchTest  ,
SetExpressionVector   
)

Definition at line 75 of file match.test.cc.

References ObjectMatch::getExpressions(), and ObjectMatch::setExpression().

◆ TEST() [6/10]

TEST ( MatchTest  ,
SimpleMatch   
)

Definition at line 101 of file match.test.cc.

References ObjectMatch::match().

◆ TEST() [7/10]

TEST ( MatchTest  ,
SimpleMismatch   
)

Definition at line 107 of file match.test.cc.

References ObjectMatch::match().

◆ TEST() [8/10]

TEST ( MatchTest  ,
TokensEmptyNoMatch   
)

Definition at line 157 of file match.test.cc.

References ObjectMatch::match().

◆ TEST() [9/10]

TEST ( MatchTest  ,
WildCardMatch   
)

Definition at line 137 of file match.test.cc.

References ObjectMatch::match().

◆ TEST() [10/10]

TEST ( MatchTest  ,
WildCardMismatch   
)

Definition at line 149 of file match.test.cc.

References ObjectMatch::match().


Generated on Tue Jun 22 2021 15:28:33 for gem5 by doxygen 1.8.17