Skip to content

Commit f81165f

Browse files
committed
Refactored WordSpec into org.scalatest.wordspec package.
1 parent 45e755f commit f81165f

18 files changed

+5128
-4933
lines changed

project/GenScalaTestJS.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ object GenScalaTestJS {
222222
copyDir("scalatest/src/main/scala/org/scalatest/flatspec", "org/scalatest/flatspec", targetDir, List.empty) ++
223223
copyDir("scalatest/src/main/scala/org/scalatest/prop", "org/scalatest/prop", targetDir, List.empty) ++
224224
copyDir("scalatest/src/main/scala/org/scalatest/propspec", "org/scalatest/propspec", targetDir, List.empty) ++
225+
copyDir("scalatest/src/main/scala/org/scalatest/wordspec", "org/scalatest/wordspec", targetDir, List.empty) ++
225226
copyDir("scalatest/src/main/scala/org/scalatest/concurrent", "org/scalatest/concurrent", targetDir,
226227
List(
227228
"Waiters.scala", // skipeed because doesn't really make sense on js's single-thread environment.

project/GenScalaTestNative.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ object GenScalaTestNative {
221221
copyDir("scalatest/src/main/scala/org/scalatest/propspec", "org/scalatest/propspec", targetDir,
222222
asyncs("scalatest/src/main/scala/org/scalatest/propspec")
223223
) ++
224+
copyDir("scalatest/src/main/scala/org/scalatest/wordspec", "org/scalatest/wordspec", targetDir,
225+
asyncs("scalatest/src/main/scala/org/scalatest/wordspec")
226+
) ++
224227
copyDir("scalatest/src/main/scala/org/scalatest/concurrent", "org/scalatest/concurrent", targetDir,
225228
List(
226229
"Waiters.scala", // skipeed because doesn't really make sense on js's single-thread environment.

project/scalatest.scala

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,8 @@ object ScalatestBuild {
810810
"org.scalatest.time",
811811
"org.scalatest.tools",
812812
"org.scalatest.verb",
813-
"org.scalatest.words"
813+
"org.scalatest.words",
814+
"org.scalatest.wordspec"
814815
),
815816
OsgiKeys.importPackage := Seq(
816817
"org.scalatest.*",
@@ -918,7 +919,8 @@ object ScalatestBuild {
918919
"org.scalatest.time",
919920
"org.scalatest.tools",
920921
"org.scalatest.verb",
921-
"org.scalatest.words"
922+
"org.scalatest.words",
923+
"org.scalatest.wordspec"
922924
),
923925
OsgiKeys.importPackage := Seq(
924926
"org.scalatest.*",
@@ -1014,7 +1016,8 @@ object ScalatestBuild {
10141016
"org.scalatest.time",
10151017
"org.scalatest.tools",
10161018
"org.scalatest.verb",
1017-
"org.scalatest.words"
1019+
"org.scalatest.words",
1020+
"org.scalatest.wordspec"
10181021
),
10191022
OsgiKeys.importPackage := Seq(
10201023
"org.scalatest.*",
@@ -1164,7 +1167,8 @@ object ScalatestBuild {
11641167
"org.scalatest.time",
11651168
"org.scalatest.tools",
11661169
"org.scalatest.verb",
1167-
"org.scalatest.words"
1170+
"org.scalatest.words",
1171+
"org.scalatest.wordspec"
11681172
),
11691173
OsgiKeys.importPackage := Seq(
11701174
"org.scalatest.*",
@@ -1279,6 +1283,7 @@ object ScalatestBuild {
12791283
"org.scalatest.tools",
12801284
"org.scalatest.verb",
12811285
"org.scalatest.words",
1286+
"org.scalatest.wordspec",
12821287
"org.scalactic",
12831288
"org.scalactic.anyvals",
12841289
"org.scalactic.exceptions",
@@ -1351,6 +1356,7 @@ object ScalatestBuild {
13511356
"org.scalatest.tools",
13521357
"org.scalatest.verb",
13531358
"org.scalatest.words",
1359+
"org.scalatest.wordspec",
13541360
"org.scalactic",
13551361
"org.scalactic.anyvals",
13561362
"org.scalactic.exceptions",
@@ -1422,6 +1428,7 @@ object ScalatestBuild {
14221428
"org.scalatest.tools",
14231429
"org.scalatest.verb",
14241430
"org.scalatest.words",
1431+
"org.scalatest.wordspec",
14251432
"org.scalactic",
14261433
"org.scalactic.anyvals",
14271434
"org.scalactic.exceptions",

0 commit comments

Comments
 (0)