You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the method names setUpFixturesBeforeClass(), setUpFixtures(), tearDownFixtures() and tearDownFixturesAfterClass() for fixture overloads with XTestCase, then visibility must be public to match the parent method signatures. The examples in the README file show protected visibility for setUpFixtures() and tearDownFixtures().
The text was updated successfully, but these errors were encountered:
This aligns the visibility of the methods in the `XTestCase` class with the minimum acceptable visibility to allow the methods to work.
This also ensures that the visibility used in the class now matches that of the code sample in the README.
| Native method name | Annotation | Minimum visibility |
|------------------------|----------------|--------------------|
| `setUpBeforeClass()` | `@beforeClass` | `public` |
| `setUp()` | `@before` | `protected` |
| `tearDown()` | `@after` | `protected` |
| `tearDownAfterClass()` | `@afterClass` | `public` |
Fixes#10
When using the method names
setUpFixturesBeforeClass()
,setUpFixtures()
,tearDownFixtures()
andtearDownFixturesAfterClass()
for fixture overloads withXTestCase
, then visibility must bepublic
to match the parent method signatures. The examples in the README file showprotected
visibility forsetUpFixtures()
andtearDownFixtures()
.The text was updated successfully, but these errors were encountered: