| 
    KiCad PCB EDA Suite
    
   | 
 
Test suite for ALTIUM_RULE_TOKENIZER. More...
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew/pcb_io/altium/altium_rule_transformer.h>Go to the source code of this file.
Classes | |
| struct | ALTIUM_RULE_TRANSFORMER_FIXTURE | 
| struct | ALTIUM_RULE_TOKENIZER_INPUT_OUTPUT | 
Functions | |
| BOOST_AUTO_TEST_CASE (AltiumRuleTokenizerEmptyInput) | |
| Declares the struct as the Boost test fixture.   | |
| BOOST_AUTO_TEST_CASE (AltiumRuleTokenizerOnlySpaces) | |
| BOOST_AUTO_TEST_CASE (AltiumRuleTokenizerSingleCharIdentifier) | |
| BOOST_AUTO_TEST_CASE (AltiumRuleTokenizerParameterizedTest) | |
| Test conversation from wxString to Altium tokens.   | |
Variables | |
| static const std::vector< ALTIUM_RULE_TOKENIZER_INPUT_OUTPUT > | altium_rule_tokens_property | 
| A list of valid test strings and the expected results.   | |
Test suite for ALTIUM_RULE_TOKENIZER.
Definition in file test_altium_rule_transformer.cpp.
| BOOST_AUTO_TEST_CASE | ( | AltiumRuleTokenizerEmptyInput | ) | 
Declares the struct as the Boost test fixture.
Definition at line 45 of file test_altium_rule_transformer.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), END_OF_EXPR, ALTIUM_RULE_TOKEN::kind, ALTIUM_RULE_TOKENIZER::Next(), next(), ALTIUM_RULE_TOKENIZER::Peek(), and ALTIUM_RULE_TOKEN::pos.
| BOOST_AUTO_TEST_CASE | ( | AltiumRuleTokenizerOnlySpaces | ) | 
Definition at line 62 of file test_altium_rule_transformer.cpp.
References BOOST_CHECK_EQUAL(), END_OF_EXPR, ALTIUM_RULE_TOKEN::kind, ALTIUM_RULE_TOKENIZER::Next(), next(), ALTIUM_RULE_TOKENIZER::Peek(), and ALTIUM_RULE_TOKEN::pos.
| BOOST_AUTO_TEST_CASE | ( | AltiumRuleTokenizerParameterizedTest | ) | 
Test conversation from wxString to Altium tokens.
Definition at line 367 of file test_altium_rule_transformer.cpp.
References altium_rule_tokens_property, BOOST_CHECK_EQUAL(), BOOST_TEST_CONTEXT(), expected, ALTIUM_RULE_TOKEN::fValue, ALTIUM_RULE_TOKEN::iValue, ALTIUM_RULE_TOKEN::kind, ALTIUM_RULE_TOKENIZER::Next(), ALTIUM_RULE_TOKEN::pos, and ALTIUM_RULE_TOKEN::sValue.
| BOOST_AUTO_TEST_CASE | ( | AltiumRuleTokenizerSingleCharIdentifier | ) | 
Definition at line 79 of file test_altium_rule_transformer.cpp.
References BOOST_CHECK_EQUAL(), END_OF_EXPR, IDENT, ALTIUM_RULE_TOKEN::kind, ALTIUM_RULE_TOKENIZER::Next(), next(), ALTIUM_RULE_TOKENIZER::Peek(), and ALTIUM_RULE_TOKEN::pos.
      
  | 
  static | 
A list of valid test strings and the expected results.
Definition at line 107 of file test_altium_rule_transformer.cpp.
Referenced by BOOST_AUTO_TEST_CASE().