Merge pull request #1236 from aninf-wo/hethi/issue-1087-fix-advancedguide
fix SetUp/TearDownTestCase() in AdvancedGuide
This commit is contained in:
commit
5d431c650f
@ -1623,8 +1623,8 @@ printf("We are in test %s of test case %s.\n",
|
|||||||
```
|
```
|
||||||
|
|
||||||
`current_test_info()` returns a null pointer if no test is running. In
|
`current_test_info()` returns a null pointer if no test is running. In
|
||||||
particular, you cannot find the test case name in `TestCaseSetUp()`,
|
particular, you cannot find the test case name in `SetUpTestCase()`,
|
||||||
`TestCaseTearDown()` (where you know the test case name implicitly), or
|
`TearDownTestCase()` (where you know the test case name implicitly), or
|
||||||
functions called from them.
|
functions called from them.
|
||||||
|
|
||||||
_Availability:_ Linux, Windows, Mac.
|
_Availability:_ Linux, Windows, Mac.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user