#include <file_test.h>
Definition at line 90 of file file_test.h.
◆ ReadResult
| Enumerator |
|---|
| kReadSuccess | |
| kReadEOF | |
| kReadError | |
Definition at line 92 of file file_test.h.
◆ FileTest() [1/2]
◆ ~FileTest()
◆ FileTest() [2/2]
◆ ClearInstructions()
| void FileTest::ClearInstructions |
( |
| ) |
|
|
private |
◆ ClearTest()
| void FileTest::ClearTest |
( |
| ) |
|
|
private |
◆ ConvertToBytes()
| bool FileTest::ConvertToBytes |
( |
std::vector< uint8_t > * |
out, |
|
|
const std::string & |
value |
|
) |
| |
|
private |
◆ CurrentTestToString()
| const std::string & FileTest::CurrentTestToString |
( |
| ) |
const |
◆ GetAttribute()
| bool FileTest::GetAttribute |
( |
std::string * |
out_value, |
|
|
const std::string & |
key |
|
) |
| |
◆ GetAttributeOrDie()
| const std::string & FileTest::GetAttributeOrDie |
( |
const std::string & |
key | ) |
|
◆ GetBytes()
| bool FileTest::GetBytes |
( |
std::vector< uint8_t > * |
out, |
|
|
const std::string & |
key |
|
) |
| |
◆ GetInstruction()
| bool FileTest::GetInstruction |
( |
std::string * |
out_value, |
|
|
const std::string & |
key |
|
) |
| |
◆ GetInstructionBytes()
| bool FileTest::GetInstructionBytes |
( |
std::vector< uint8_t > * |
out, |
|
|
const std::string & |
key |
|
) |
| |
◆ GetInstructionOrDie()
| const std::string & FileTest::GetInstructionOrDie |
( |
const std::string & |
key | ) |
|
◆ GetParameter()
| const std::string & FileTest::GetParameter |
( |
| ) |
|
◆ GetType()
| const std::string & FileTest::GetType |
( |
| ) |
|
◆ HasAttribute()
| bool FileTest::HasAttribute |
( |
const std::string & |
key | ) |
|
◆ HasInstruction()
| bool FileTest::HasInstruction |
( |
const std::string & |
key | ) |
|
◆ IgnoreAllUnusedInstructions()
| void FileTest::IgnoreAllUnusedInstructions |
( |
| ) |
|
◆ IgnoreAttribute()
| void FileTest::IgnoreAttribute |
( |
const std::string & |
key | ) |
|
|
inline |
◆ IgnoreInstruction()
| void FileTest::IgnoreInstruction |
( |
const std::string & |
key | ) |
|
|
inline |
◆ InjectInstruction()
| void FileTest::InjectInstruction |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
◆ IsAtNewInstructionBlock()
| bool FileTest::IsAtNewInstructionBlock |
( |
| ) |
const |
◆ OnInstructionUsed()
| void FileTest::OnInstructionUsed |
( |
const std::string & |
key | ) |
|
|
private |
◆ OnKeyUsed()
| void FileTest::OnKeyUsed |
( |
const std::string & |
key | ) |
|
|
private |
◆ operator=()
◆ PrintLine()
| void FileTest::PrintLine |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ ReadNext()
◆ SkipCurrent()
| void FileTest::SkipCurrent |
( |
| ) |
|
◆ start_line()
| void unsigned FileTest::start_line |
( |
| ) |
const |
|
inline |
◆ attribute_count_
| std::map<std::string, size_t> FileTest::attribute_count_ |
|
private |
◆ attributes_
| std::map<std::string, std::string> FileTest::attributes_ |
|
private |
◆ comment_callback_
◆ current_test_
| std::string FileTest::current_test_ |
|
private |
◆ instructions_
| std::map<std::string, std::string> FileTest::instructions_ |
|
private |
◆ is_at_new_instruction_block_
| bool FileTest::is_at_new_instruction_block_ = false |
|
private |
◆ is_kas_test_
◆ line_
| unsigned FileTest::line_ = 0 |
|
private |
◆ parameter_
| std::string FileTest::parameter_ |
|
private |
◆ reader_
◆ seen_non_comment_
◆ start_line_
| unsigned FileTest::start_line_ = 0 |
|
private |
◆ type_
| std::string FileTest::type_ |
|
private |
◆ unused_attributes_
| std::set<std::string> FileTest::unused_attributes_ |
|
private |
◆ unused_instructions_
| std::set<std::string> FileTest::unused_instructions_ |
|
private |
The documentation for this class was generated from the following files: