Skip to content

Commit

Permalink
add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
RoRoche committed May 4, 2020
1 parent 8714714 commit b105752
Showing 1 changed file with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,38 @@ class ClsFilteredTest : TestsSuite(
"empty origin and filtered classes returns empty list",
ClsIsEmptyAssertion(
classes = ClsFiltered(
origin = Classes.Simple(emptyList()),
ignored = Classes.Simple(listOf(ClsFilteredTest::class.java))
origin = Classes.Simple(
emptyList()
),
ignored = Classes.Simple(
listOf(ClsFilteredTest::class.java)
)
)
)
),
TestCase(
"empty origin and empty filtered classes returns empty list",
ClsIsEmptyAssertion(
classes = ClsFiltered(
origin = Classes.Simple(emptyList()),
ignored = Classes.Simple(emptyList())
origin = Classes.Simple(
emptyList()
),
ignored = Classes.Simple(
emptyList()
)
)
)
),
TestCase(
"origin and empty filtered classes returns empty list",
ClsIsEmptyAssertion(
classes = ClsFiltered(
origin = Classes.Simple(listOf(ClsFilteredTest::class.java)),
ignored = Classes.Simple(emptyList())
origin = Classes.Simple(
listOf(ClsFilteredTest::class.java)
),
ignored = Classes.Simple(
emptyList()
)
)
)
)
Expand Down

0 comments on commit b105752

Please sign in to comment.