File tree Expand file tree Collapse file tree 4 files changed +11
-176
lines changed
src/test/scala/com/lightbend/paradox/apidoc Expand file tree Collapse file tree 4 files changed +11
-176
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ name := "sbt-paradox-apidoc"
10
10
addSbtPlugin(Library .sbtParadox)
11
11
libraryDependencies ++= Seq (
12
12
Library .classgraph,
13
- Library .jtidy % Test ,
14
- Library .scalatest % Test
13
+ Library .scalatest % Test ,
14
+ Library .paradoxTestkit % Test
15
15
)
16
16
17
17
licenses += (" Apache-2.0" , url(" https://www.apache.org/licenses/LICENSE-2.0" ))
Original file line number Diff line number Diff line change 1
1
import sbt ._
2
2
3
3
object Library {
4
- val classgraph = " io.github.classgraph" % " classgraph" % " 4.8.77"
5
- val jtidy = " net.sf.jtidy " % " jtidy " % " r938 "
6
- val sbtParadox = " com.lightbend.paradox " % " sbt-paradox " % " 0.6.9 "
7
- val scalatest = " org.scalatest " %% " scalatest " % " 3.1.1 "
4
+ val classgraph = " io.github.classgraph" % " classgraph" % " 4.8.77"
5
+ val sbtParadox = " com.lightbend.paradox " % " sbt-paradox " % " 0.8.0 "
6
+ val scalatest = " org.scalatest " %% " scalatest " % " 3.1.1 "
7
+ val paradoxTestkit = " com.lightbend.paradox " %% " testkit " % " 0.8.0 "
8
8
}
Original file line number Diff line number Diff line change @@ -19,9 +19,12 @@ package com.lightbend.paradox.apidoc
19
19
import java .io .IOException
20
20
21
21
import com .lightbend .paradox .ParadoxException
22
- import com .lightbend .paradox .markdown .Writer
22
+ import com .lightbend .paradox .markdown .{ MarkdownTestkit , Writer }
23
23
24
- class ApidocDirectiveSpec extends MarkdownBaseSpec {
24
+ import org .scalatest .matchers .should .Matchers
25
+ import org .scalatest .flatspec .AnyFlatSpecLike
26
+
27
+ class ApidocDirectiveSpec extends MarkdownTestkit with Matchers with AnyFlatSpecLike {
25
28
val rootPackage = " akka"
26
29
27
30
val allClasses = Array (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments