|
Monero
|
Functions | |
| _FindAllMatches (regex, s) | |
| _GenericDiagnoser (short_name, long_name, diagnoses, msg) | |
| _NeedToReturnReferenceDiagnoser (msg) | |
| _NeedToReturnSomethingDiagnoser (msg) | |
| _NeedToReturnNothingDiagnoser (msg) | |
| _IncompleteByReferenceArgumentDiagnoser (msg) | |
| _OverloadedFunctionMatcherDiagnoser (msg) | |
| _OverloadedFunctionActionDiagnoser (msg) | |
| _OverloadedMethodActionDiagnoser (msg) | |
| _MockObjectPointerDiagnoser (msg) | |
| _NeedToUseSymbolDiagnoser (msg) | |
| _NeedToUseReturnNullDiagnoser (msg) | |
| _TypeInTemplatedBaseDiagnoser (msg) | |
| _WrongMockMethodMacroDiagnoser (msg) | |
| _WrongParenPositionDiagnoser (msg) | |
| Diagnose (msg) | |
| main () | |
Variables | |
| str | __author__ = 'wan@google.com (Zhanyong Wan)' |
| str | _VERSION = '1.0.3' |
| str | _EMAIL = 'googlemock@googlegroups.com' |
| list | _COMMON_GMOCK_SYMBOLS |
| str | _GCC_FILE_LINE_RE = r'(?P<file>.*):(?P<line>\d+):(\d+:)?\s+' |
| str | _CLANG_FILE_LINE_RE = r'(?P<file>.*):(?P<line>\d+):(?P<column>\d+):\s+' |
| tuple | _CLANG_NON_GMOCK_FILE_LINE_RE |
| list | _DIAGNOSERS |
Converts compiler's errors in code using Google Mock to plain English.
|
protected |
Generates all matches of regex in string s.
|
protected |
Diagnoses the given disease by pattern matching.
Can provide different diagnoses for different patterns.
Args:
short_name: Short name of the disease.
long_name: Long name of the disease.
diagnoses: A list of pairs (regex, pattern for formatting the diagnosis
for matching regex).
msg: Compiler's error messages.
Yields:
Tuples of the form
(short name of disease, long name of disease, diagnosis).
|
protected |
Diagnoses the IBRA disease, given the error messages by the compiler.
|
protected |
Diagnoses the MOP disease, given the error messages by the compiler.
|
protected |
Diagnoses the NRN disease, given the error messages by the compiler.
|
protected |
Diagnoses the NRR disease, given the error messages by the compiler.
|
protected |
Diagnoses the NRS disease, given the error messages by the compiler.
|
protected |
Diagnoses the NRNULL disease, given the error messages by the compiler.
|
protected |
Diagnoses the NUS disease, given the error messages by the compiler.
|
protected |
Diagnoses the OFA disease, given the error messages by the compiler.
|
protected |
Diagnoses the OFM disease, given the error messages by the compiler.
|
protected |
Diagnoses the OMA disease, given the error messages by the compiler.
|
protected |
Diagnoses the TTB disease, given the error messages by the compiler.
|
protected |
Diagnoses the WMM disease, given the error messages by the compiler.
|
protected |
Diagnoses the WPP disease, given the error messages by the compiler.
| gmock_doctor.Diagnose | ( | msg | ) |
Generates all possible diagnoses given the compiler error message.
| gmock_doctor.main | ( | void | ) |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |