Skip to content

Commit

Permalink
Remove junit dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Mar 25, 2019
1 parent f5b8c1b commit b7b8b93
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
29 changes: 14 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,19 @@ testFrameworks += new TestFramework("utest.runner.Framework")

libraryDependencies ++= {
Seq(
"junit" % "junit" % "4.10" % "test",
"org.apache.commons" % "commons-lang3" % "3.1",
"commons-io" % "commons-io" % "2.4",
"org.jdom" % "jdom" % "2.0.2",
"net.sourceforge.owlapi" % "owlapi-distribution" % "4.5.8",
"org.semanticweb.elk" % "elk-owlapi" % "0.4.3",
"com.blazegraph" % "bigdata-core" % "2.1.2",
"org.openrdf.sesame" % "sesame-rio" % "2.7.12",
"org.phenoscape" %% "scowl" % "1.3",
"org.phenoscape" %% "owlet" % "1.6",
"org.phenoscape" %% "phenoscape-kb-ingest" % "1.6.1",
"log4j" % "log4j" % "1.2.17",
"org.apache.directory.studio" % "org.apache.commons.codec" % "1.8",
"com.github.pathikrit" %% "better-files" % "3.4.0",
"com.lihaoyi" %% "utest" % "0.6.3" % Test
"org.apache.commons" % "commons-lang3" % "3.1",
"commons-io" % "commons-io" % "2.4",
"org.jdom" % "jdom" % "2.0.2",
"net.sourceforge.owlapi" % "owlapi-distribution" % "4.5.8",
"org.semanticweb.elk" % "elk-owlapi" % "0.4.3",
"com.blazegraph" % "bigdata-core" % "2.1.2",
"org.openrdf.sesame" % "sesame-rio" % "2.7.12",
"org.phenoscape" %% "scowl" % "1.3",
"org.phenoscape" %% "owlet" % "1.6",
"org.phenoscape" %% "phenoscape-kb-ingest" % "1.6.1",
"log4j" % "log4j" % "1.2.17",
"org.apache.directory.studio" % "org.apache.commons.codec" % "1.8",
"com.github.pathikrit" %% "better-files" % "3.4.0",
"com.lihaoyi" %% "utest" % "0.6.3" % Test
)
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package org.phenoscape.owl

import scala.collection.JavaConversions._

import utest._
import org.phenoscape.scowl._
import org.semanticweb.owlapi.apibinding.OWLManager
import utest._

import org.phenoscape.scowl._
import scala.collection.JavaConverters._


object NegationHierarchyAsserterTest extends TestSuite {
Expand Down Expand Up @@ -47,7 +46,7 @@ object NegationHierarchyAsserterTest extends TestSuite {

'afterAxioms - {

manager.addAxioms(ontology, NegationHierarchyAsserter.assertNegationHierarchy(ontology.getAxioms().toSet))
manager.addAxioms(ontology, NegationHierarchyAsserter.assertNegationHierarchy(ontology.getAxioms().asScala.toSet).asJava)

'test7 - {
assert(ontology.containsAxiom(Class(s"$base#NotA") SubClassOf Class(s"$base#NotB")))
Expand Down

0 comments on commit b7b8b93

Please sign in to comment.