All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cgta.otest.runner.OtestSbtFramework.scala Maven / Gradle / Ivy

package cgta.otest
package runner

import sbt.testing.{Fingerprint, Runner}


//////////////////////////////////////////////////////////////
// Copyright (c) 2014 Ben Jackman, Jeff Gomberg
// All Rights Reserved
// please contact [email protected] or [email protected]
// for licensing inquiries
// Created by bjackman @ 5/28/14 4:33 PM
//////////////////////////////////////////////////////////////

class OtestSbtFramework extends sbt.testing.Framework {
  override def name(): String = "otest-jvm"
  override def fingerprints(): Array[Fingerprint] = FrameworkHelp.fingerprints()

  override def runner(args: Array[String],
    remoteArgs: Array[String],
    testClassLoader: ClassLoader): Runner = {
    new OtestRunner(args, remoteArgs, testClassLoader)
  }

  def slaveRunner(args: Array[String],
    remoteArgs: Array[String],
    testClassLoader: ClassLoader,
    send: String => Unit): Runner = {
    runner(args, remoteArgs, testClassLoader)
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy