Go to the source code of this file.
◆ TEST_1D
#define TEST_1D |
( |
|
FIXTURE, |
|
|
|
NAME, |
|
|
|
CASES |
|
) |
| |
Value: class FIXTURE##
_##
NAME##_DD :
public FIXTURE { \
protected: \
template <typename CaseType> \
void DoSingleCase(const CaseType& CASES##_case); \
TEST_F(FIXTURE##
_##NAME##_DD, NAME) { \
<< #CASES
" case #" <<
i <<
": " << CASES[
i]); \
DoSingleCase(CASES[
i]); \
} \
} \
\
template <typename CaseType> \
void FIXTURE##
_##
NAME##_DD::DoSingleCase(
const CaseType& CASES##_case)
Definition at line 78 of file tokenizer_unittest.cc.
◆ TEST_2D
#define TEST_2D |
( |
|
FIXTURE, |
|
|
|
NAME, |
|
|
|
CASES1, |
|
|
|
CASES2 |
|
) |
| |
Value: class FIXTURE##
_##
NAME##_DD :
public FIXTURE { \
protected: \
template <typename CaseType1, typename CaseType2> \
void DoSingleCase(const CaseType1& CASES1##_case, \
const CaseType2& CASES2##_case); \
TEST_F(FIXTURE##
_##NAME##_DD, NAME) { \
<< #CASES1
" case #" <<
i <<
": " << CASES1[
i] <<
", " \
<< #CASES2 " case #" << j << ": " << CASES2[j]); \
DoSingleCase(CASES1[
i], CASES2[j]); \
} \
} \
} \
\
template <typename CaseType1, typename CaseType2> \
void FIXTURE##
_##
NAME##_DD::DoSingleCase(
const CaseType1& CASES1##_case, \
const CaseType2& CASES2##_case)
Definition at line 96 of file tokenizer_unittest.cc.
◆ array_stream_
ArrayInputStream array_stream_ |
|
private |
◆ counter_
◆ detached_comments
const char* detached_comments[10] |
◆ errors
◆ input
◆ next_leading_comments
const char* next_leading_comments |
◆ output
Tokenizer::Token output[10] |
◆ prev_trailing_comments
const char* prev_trailing_comments |
◆ recoverable
◆ text_
◆ type
Tokenizer::TokenType type |