![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include <iostream>#include "phoenix_assert.h"#include "phoenix_check.h"#include "string_system.h"
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| bool | checkOptionCompletion (const std::string &program, const std::string &partialOption, const std::string &prevCursorOption, const std::string &cursorOption, const std::string &expectedResult) |
| Check the option completion of a program. More... | |
| int | main (int argc, char **argv) |
| void | testCompletion () |
| Test the completion of the option. More... | |
| bool checkOptionCompletion | ( | const std::string & | program, |
| const std::string & | partialOption, | ||
| const std::string & | prevCursorOption, | ||
| const std::string & | cursorOption, | ||
| const std::string & | expectedResult | ||
| ) |
Check the option completion of a program.
| program | : program to be tested |
| partialOption | : partial typed option |
| cursorOption | : option of the cursor |
| prevCursorOption | : previous cursor option |
| expectedResult | : expected completion result |
Definition at line 21 of file main.cpp.
References phoenix_check(), and phoenix_popen().
Referenced by testCompletion().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 43 of file main.cpp.
References testCompletion().
Here is the call graph for this function:| void testCompletion | ( | ) |
Test the completion of the option.
Definition at line 32 of file main.cpp.
References checkOptionCompletion(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: