Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "xfa/fxfa/formcalc/cxfa_fmlexer.h"
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
Go to the source code of this file.
Functions | |
TEST (CXFA_FMLexerTest, NullString) | |
TEST (CXFA_FMLexerTest, EmptyString) | |
TEST (CXFA_FMLexerTest, Numbers) | |
TEST (CXFA_FMLexerTest, Strings) | |
TEST (CXFA_FMLexerTest, OperatorsAndKeywords) | |
TEST (CXFA_FMLexerTest, Comments) | |
TEST (CXFA_FMLexerTest, ValidIdentifiers) | |
TEST (CXFA_FMLexerTest, InvalidIdentifiers) | |
TEST (CXFA_FMLexerTest, Whitespace) | |
TEST (CXFA_FMLexerTest, NullData) | |
TEST | ( | CXFA_FMLexerTest | , |
Comments | ) |
Definition at line 191 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), TOKeof, TOKnumber, and TOKstring.
TEST | ( | CXFA_FMLexerTest | , |
EmptyString | ) |
Definition at line 19 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), and TOKeof.
TEST | ( | CXFA_FMLexerTest | , |
InvalidIdentifiers | ) |
Definition at line 253 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), and TOKreserver.
TEST | ( | CXFA_FMLexerTest | , |
NullData | ) |
Definition at line 305 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), TOKeof, TOKminus, and TOKnumber.
TEST | ( | CXFA_FMLexerTest | , |
NullString | ) |
Definition at line 11 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), and TOKeof.
TEST | ( | CXFA_FMLexerTest | , |
Numbers | ) |
Definition at line 26 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), TOKeof, TOKminus, and TOKnumber.
TEST | ( | CXFA_FMLexerTest | , |
OperatorsAndKeywords | ) |
Definition at line 119 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), TOKand, TOKbreak, TOKcomma, TOKcontinue, TOKdiv, TOKdo, TOKdot, TOKdotdot, TOKdotscream, TOKdotstar, TOKdownto, TOKelse, TOKelseif, TOKend, TOKendfor, TOKendfunc, TOKendif, TOKendwhile, TOKeq, TOKexit, TOKfor, TOKforeach, TOKfunc, TOKge, TOKgt, TOKif, TOKin, TOKinfinity, TOKksand, TOKkseq, TOKksge, TOKksgt, TOKksle, TOKkslt, TOKksne, TOKksnot, TOKksor, TOKlbracket, TOKle, TOKlparen, TOKlt, TOKminus, TOKmul, TOKnan, TOKne, TOKnull, TOKor, TOKplus, TOKrbracket, TOKreturn, TOKrparen, TOKstep, TOKthen, TOKthrow, TOKupto, TOKvar, and TOKwhile.
TEST | ( | CXFA_FMLexerTest | , |
Strings | ) |
Definition at line 82 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), TOKeof, and TOKstring.
TEST | ( | CXFA_FMLexerTest | , |
ValidIdentifiers | ) |
Definition at line 241 of file cxfa_fmlexer_unittest.cpp.
TEST | ( | CXFA_FMLexerTest | , |
Whitespace | ) |
Definition at line 283 of file cxfa_fmlexer_unittest.cpp.
References CXFA_FMLexer::Token::GetType(), CXFA_FMLexer::IsComplete(), CXFA_FMLexer::NextToken(), TOKeof, and TOKnumber.