mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Recent Tests] added test to ensure failed test is shown if no suite is associated with it
This commit is contained in:
@@ -91,6 +91,14 @@ class RecentTestsStepTest: LightIdeaTestCase() {
|
||||
assertThat(tests).hasSize(1)
|
||||
assertThat(tests[0].presentation).isEqualTo("JFSDTest.testItMakesMeSadToFixIt")
|
||||
}
|
||||
|
||||
|
||||
fun `test show test without suite`() {
|
||||
data.addTest("Test.sssss".test(), FAILED_INDEX, now, allTests)
|
||||
val testsToShow = data.getTestsToShow()
|
||||
assertThat(testsToShow).hasSize(1)
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user