@@ -751,7 +751,7 @@ TEST(DoDefaultDeathTest, DiesIfUsedInCompositeAction) {
|
||||
}
|
||||
|
||||
// Tests that DoDefault() returns the default value set by
|
||||
// DefaultValue<T>::Set() when it's not overriden by an ON_CALL().
|
||||
// DefaultValue<T>::Set() when it's not overridden by an ON_CALL().
|
||||
TEST(DoDefaultTest, ReturnsUserSpecifiedPerTypeDefaultValueWhenThereIsOne) {
|
||||
DefaultValue<int>::Set(1);
|
||||
MockClass mock;
|
||||
|
||||
@@ -915,7 +915,7 @@ TEST(TypedEqTest, CanDescribeSelf) {
|
||||
// Type<T>::IsTypeOf(v) compiles iff the type of value v is T, where T
|
||||
// is a "bare" type (i.e. not in the form of const U or U&). If v's
|
||||
// type is not T, the compiler will generate a message about
|
||||
// "undefined referece".
|
||||
// "undefined reference".
|
||||
template <typename T>
|
||||
struct Type {
|
||||
static bool IsTypeOf(const T& /* v */) { return true; }
|
||||
@@ -1424,7 +1424,7 @@ TEST(PairTest, MatchesCorrectly) {
|
||||
EXPECT_THAT(p, Pair(25, "foo"));
|
||||
EXPECT_THAT(p, Pair(Ge(20), HasSubstr("o")));
|
||||
|
||||
// 'first' doesnt' match, but 'second' matches.
|
||||
// 'first' does not match, but 'second' matches.
|
||||
EXPECT_THAT(p, Not(Pair(42, "foo")));
|
||||
EXPECT_THAT(p, Not(Pair(Lt(25), "foo")));
|
||||
|
||||
@@ -4263,7 +4263,7 @@ TYPED_TEST(ContainerEqTest, DuplicateDifference) {
|
||||
#endif // GTEST_HAS_TYPED_TEST
|
||||
|
||||
// Tests that mutliple missing values are reported.
|
||||
// Using just vector here, so order is predicatble.
|
||||
// Using just vector here, so order is predictable.
|
||||
TEST(ContainerEqExtraTest, MultipleValuesMissing) {
|
||||
static const int vals[] = {1, 1, 2, 3, 5, 8};
|
||||
static const int test_vals[] = {2, 1, 5};
|
||||
@@ -4276,7 +4276,7 @@ TEST(ContainerEqExtraTest, MultipleValuesMissing) {
|
||||
}
|
||||
|
||||
// Tests that added values are reported.
|
||||
// Using just vector here, so order is predicatble.
|
||||
// Using just vector here, so order is predictable.
|
||||
TEST(ContainerEqExtraTest, MultipleValuesAdded) {
|
||||
static const int vals[] = {1, 1, 2, 3, 5, 8};
|
||||
static const int test_vals[] = {1, 2, 92, 3, 5, 8, 46};
|
||||
|
||||
Reference in New Issue
Block a user