Working on running the JUnit tests.

This commit is contained in:
Greg Burd 2019-06-26 13:27:13 -04:00
parent 6c2be56a72
commit 417d2108ab
812 changed files with 52 additions and 5 deletions

28
AUTHORS Normal file
View file

@ -0,0 +1,28 @@
* Stasis
* greg@burd.me [current maintainer]
* Bekeley DB Java Edition:
* Sleepycat:
* linda.q.lee@oracle.com
* mark.hayes@oracle.com
* charles lamb
* margo seltzer
* keith@bostic.com
* greg@burd.me
* Oracle:
* linda.q.lee@oracle.com
* charles lamb
* mark.hayes@oracle.com
* adam.qian@oracle.com
* mark.hayes@oracle.com
* dwayne.chung@oracle.com
* dave.rubin@oracle.com
* sam.haradhvala@oracle.com
* linda.q.lee@oracle.com
* tim.blackman@oracle.com
* markos.zaharioudakis@oracle.com
* junyi.xie@oracle.com
* margo seltzer
* keith bostic
NOTE: Any omissions are purely accidental, please write to greg@burd.me and I'll add you to this list.

View file

@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/stasis_io/stasis.svg?branch=master)](https://travis-ci.org/stasis_io/stasis)
[![Build status](https://ci.appveyor.com/api/projects/status/7gha7cxm5lw8fsc3)](https://ci.appveyor.com/project/stasis/stasis/branch/master)
[![Join the chat at https://gitter.im/stasis_io/stasis](https://badges.gitter.im/stasis_io/stasis.svg)](https://gitter.im/stasis/stasis?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Latest version](https://index.scala-lang.org/stasis_io/stasis/scalafmt-core/latest.svg?color=orange)](https://index.scala-lang.org/stasis/stasis/stasis-core)
[![Latest version](https://index.scala-lang.org/stasis_io/stasis/stasis-core/latest.svg?color=orange)](https://index.scala-lang.org/stasis/stasis/stasis-core)
### [User documentation][docs]
Head over to [the user docs][docs] for instructions on how to install stasis.

View file

@ -41,6 +41,8 @@ inThisBuild(
)
)
testOptions in Test := Seq(Tests.Argument(TestFrameworks.JUnit, "-a", "-q", "-v"))
skip in publish := true
commands += Command.command("ci-test") { s =>
@ -68,8 +70,7 @@ lazy val core = project
buildInfoObject := "BuildInfo",
libraryDependencies ++= List(
scalatest.value % Test,
scalametaTestkit % Test
)
scalametaTestkit % Test)
)
.enablePlugins(BuildInfoPlugin)
@ -79,7 +80,7 @@ lazy val persist = project
moduleName := "stasis-persist",
assemblyJarName.in(assembly) := "stasis-persist.jar",
)
.dependsOn(core)
.dependsOn(core, rep)
lazy val rep = project
.in(file("stasis-rep"))
@ -89,6 +90,20 @@ lazy val rep = project
)
.dependsOn(core)
lazy val test = project
.in(file("stasis-test"))
.settings(
moduleName := "stasis-test",
assemblyJarName.in(assembly) := "stasis-test.jar",
crossPaths := false,
libraryDependencies ++= List(
"org.scalatest" %% "scalatest" % "2.2.2" % Test,
"junit" % "junit" % "4.12" % Test,
"com.novocode" % "junit-interface" % "0.11" % Test //exclude("junit", "junit-dep")
)
)
.dependsOn(core, persist, rep)
val V = "\\d+\\.\\d+\\.\\d+"
val ReleaseCandidate = s"($V-RC\\d+).*".r
val Milestone = s"($V-M\\d+).*".r

View file

@ -11,7 +11,7 @@ addSbtPlugin("org.scalameta" % "sbt-mdoc" % "1.2.7")
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.6.0-RC4")
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.2.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "2.0.0-RC2-3") //coursier.util.Properties.version)
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3") //coursier.util.Properties.version) // "2.0.0-RC2-3"
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.4")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.5.0")

View file

@ -222,6 +222,7 @@ public abstract class StoredCollection<E> extends StoredContainer
* be closed, the method name {@code iterator} is confusing since standard
* Java iterators do not need to be closed.
*/
@Deprecated
public StoredIterator<E> iterator(boolean writeAllowed) {
return storedIterator(writeAllowed);

View file

@ -68,6 +68,7 @@ public class StoreConfig implements Cloneable {
*
* @deprecated As of JE 4.0.13, replaced by {@link StoreConfig#clone()}.
*/
@Deprecated
public StoreConfig cloneConfig() {
try {
return (StoreConfig) super.clone();

View file

@ -46,6 +46,7 @@ public class EvolveConfig implements Cloneable {
* @deprecated As of JE 4.0.13, replaced by {@link
* EvolveConfig#clone()}.
*/
@Deprecated
public EvolveConfig cloneConfig() {
try {
return (EvolveConfig) super.clone();

View file

@ -384,6 +384,7 @@ public abstract class EntityModel {
* @deprecated use {@link #resolveClass} instead. This method does not
* use the environment's ClassLoader property.
*/
@Deprecated
public static Class classForName(String className)
throws ClassNotFoundException {

Some files were not shown because too many files have changed in this diff Show more