mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git tests: clear fields after other tasks in tear down
Otherwise the project can't be teared down correctly, and dumpToStdOut also doesn't work.
This commit is contained in:
@@ -73,9 +73,9 @@ abstract class VcsPlatformTest : PlatformTestCase() {
|
||||
override fun tearDown() {
|
||||
RunAll().append(ThrowableRunnable
|
||||
{ waitForPendingTasks() }).append(ThrowableRunnable
|
||||
{ clearFields(this) }).append(ThrowableRunnable
|
||||
{ runInEdtAndWait { super@VcsPlatformTest.tearDown() }}).append(ThrowableRunnable
|
||||
{ if (myAssertionsInTestDetected) TestLoggerFactory.dumpLogToStdout(myTestStartedIndicator) })
|
||||
{ if (myAssertionsInTestDetected) TestLoggerFactory.dumpLogToStdout(myTestStartedIndicator) }).append(ThrowableRunnable
|
||||
{ clearFields(this) })
|
||||
.run()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user