gem5  v20.1.0.0
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(), EXPECT_EQ, and ObjectMatch::getExpressions().

◆ TEST() [2/10]

TEST ( MatchTest  ,
MultipleExpressionsMatch   
)

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

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

◆ TEST() [3/10]

TEST ( MatchTest  ,
MultipleExpressionsMismatch   
)

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

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

◆ TEST() [4/10]

TEST ( MatchTest  ,
SetExpression   
)

◆ TEST() [5/10]

TEST ( MatchTest  ,
SetExpressionVector   
)

◆ TEST() [6/10]

TEST ( MatchTest  ,
SimpleMatch   
)

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

References EXPECT_TRUE, and ObjectMatch::match().

◆ TEST() [7/10]

TEST ( MatchTest  ,
SimpleMismatch   
)

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

References EXPECT_FALSE, and ObjectMatch::match().

◆ TEST() [8/10]

TEST ( MatchTest  ,
TokensEmptyNoMatch   
)

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

References EXPECT_FALSE, and ObjectMatch::match().

◆ TEST() [9/10]

TEST ( MatchTest  ,
WildCardMatch   
)

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

References EXPECT_TRUE, and ObjectMatch::match().

◆ TEST() [10/10]

TEST ( MatchTest  ,
WildCardMismatch   
)

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

References EXPECT_FALSE, and ObjectMatch::match().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17