mirror of
https://github.com/google/googletest.git
synced 2024-12-27 18:31:21 +08:00
Merge branch 'master' into mingw64-appveyour
This commit is contained in:
commit
8282229d4f
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,3 +8,5 @@ bazel-genfiles
|
||||
bazel-googletest
|
||||
bazel-out
|
||||
bazel-testlogs
|
||||
# python
|
||||
*.pyc
|
2
googletest/.gitignore
vendored
2
googletest/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
# python
|
||||
*.pyc
|
@ -1034,7 +1034,7 @@ namespace bar {
|
||||
TEST(CoolTest, DoSomething) {
|
||||
SUCCEED();
|
||||
}
|
||||
} // namespace foo
|
||||
} // namespace bar
|
||||
```
|
||||
|
||||
However, the following code is **not allowed** and will produce a runtime error from Google Test because the test methods are using different test fixture classes with the same test case name.
|
||||
@ -1052,7 +1052,7 @@ class CoolTest : public ::testing::Test {}; // Fixture: bar::CoolTest
|
||||
TEST_F(CoolTest, DoSomething) {
|
||||
SUCCEED();
|
||||
}
|
||||
} // namespace foo
|
||||
} // namespace bar
|
||||
```
|
||||
|
||||
## How do I build Google Testing Framework with Xcode 4? ##
|
||||
|
Loading…
x
Reference in New Issue
Block a user