mirror of
https://github.com/google/googletest.git
synced 2024-12-28 19:15:24 +08:00
Removes commas from last items in enums (a C++ standard compliance fix).
This commit is contained in:
parent
52277c919e
commit
ab29bb6fcd
@ -254,7 +254,7 @@ class UntypedOnCallSpecBase {
|
||||
// syntax checking relies on it.
|
||||
kNone,
|
||||
kWith,
|
||||
kWillByDefault,
|
||||
kWillByDefault
|
||||
};
|
||||
|
||||
// Asserts that the ON_CALL() statement has a certain property.
|
||||
@ -357,7 +357,7 @@ class OnCallSpec : public UntypedOnCallSpecBase {
|
||||
enum CallReaction {
|
||||
ALLOW,
|
||||
WARN,
|
||||
FAIL,
|
||||
FAIL
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
@ -715,7 +715,7 @@ class ExpectationBase {
|
||||
kAfter,
|
||||
kWillOnce,
|
||||
kWillRepeatedly,
|
||||
kRetiresOnSaturation,
|
||||
kRetiresOnSaturation
|
||||
};
|
||||
|
||||
typedef std::vector<const void*> UntypedActions;
|
||||
|
@ -305,7 +305,7 @@ inline void Expect(bool condition, const char* file, int line) {
|
||||
// Severity level of a log.
|
||||
enum LogSeverity {
|
||||
INFO = 0,
|
||||
WARNING = 1,
|
||||
WARNING = 1
|
||||
};
|
||||
|
||||
// Valid values for the --gmock_verbose flag.
|
||||
|
Loading…
x
Reference in New Issue
Block a user