-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: add support for weaver cats effects
- Loading branch information
1 parent
0ea507c
commit 3204a2f
Showing
7 changed files
with
104 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...scala/scala/meta/internal/metals/testProvider/frameworks/WeaverCatsEffectTestFinder.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package scala.meta.internal.metals.testProvider.frameworks | ||
|
||
import scala.meta.internal.mtags.GlobalSymbolIndex | ||
import scala.meta.internal.mtags.Semanticdbs | ||
import scala.meta.internal.parsing.Trees | ||
|
||
class WeaverCatsEffectTestFinder( | ||
trees: Trees, | ||
symbolIndex: GlobalSymbolIndex, | ||
semanticdbs: Semanticdbs, | ||
) extends MunitTestFinder(trees, symbolIndex, semanticdbs) { | ||
override protected val baseParentClasses: Set[String] = | ||
Set("weaver/MutableFSuite#", "weaver/FunSuiteF#") | ||
override protected val testFunctionsNames: Set[String] = | ||
Set("test", "pureTest", "loggedTest") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters