artie
package
artie
Type Members
-
final
case class
ClassDiff(name: String, fieldDiffs: Seq[Diff]) extends Diff with Product with Serializable
-
final
case class
CollectionElementsDiff(nameO: Option[String], elements: Seq[Diff]) extends Diff with Product with Serializable
-
final
case class
CollectionSizeDiff(nameO: Option[String], sizeL: Int, sizeR: Int) extends Diff with Product with Serializable
-
-
-
-
-
trait
Diff extends AnyRef
-
trait
Eq[A] extends AnyRef
-
final
case class
FieldDiff(key: String, left: Any, right: Any) extends Diff with Product with Serializable
-
-
trait
GenericDiff[H <: HList] extends AnyRef
-
-
type
Headers = Map[String, String]
-
-
-
-
-
-
-
final
case class
MapDiff(nameO: Option[String], keyValues: Seq[(String, Diff)]) extends Diff with Product with Serializable
-
-
-
final
case class
MissingValue(value: Any) extends Diff with Product with Serializable
-
type
Params = Map[String, String]
-
-
implicit
class
ProviderListOps[P <: HList] extends AnyRef
-
-
-
trait
Read[A] extends (String) ⇒ Either[String, A]
-
trait
Request extends AnyRef
-
-
sealed
trait
RequestType extends AnyRef
-
final
case class
TestConfig(baseHost: String, basePort: Int, refactoredHost: String, refactoredPort: Int, repetitions: Int, parallelism: Int, stopOnFailure: Boolean, diffLimit: Int, showProgress: Boolean) extends Product with Serializable
-
-
final
case class
TestState(succeeded: Int, invalid: Int, failed: Int, reasons: Seq[Diff] = Nil) extends Product with Serializable
-
-
final
case class
TotalDiff(diffs: Seq[Diff]) extends Diff with Product with Serializable
Value Members
-
def
Config(baseHost: String, basePort: Int, refactoredHost: String, refactoredPort: Int): TestConfig
-
-
object
Delete extends RequestType with Product with Serializable
-
object
Eq
-
-
object
Get extends RequestType with Product with Serializable
-
val
Headers: Map[String, String]
-
-
-
val
Params: Map[String, String]
-
object
Post extends RequestType with Product with Serializable
-
val
Providers: HNil.type
-
object
Put extends RequestType with Product with Serializable
-
-
-
def
check[P <: HList, A](providersF: Future[P], config: TestConfig, read: Read[A], rand: Random = initRandom, ioEffect: (HttpRequest) ⇒ HttpResponse[String] = _.asString)(f: (Random) ⇒ (P) ⇒ RequestT)(implicit ec: ExecutionContext, diff: GenericDiffRunner[A]): Future[TestState]
-
def
checkAwait[P <: HList, A](providersF: Future[P], config: TestConfig, read: Read[A], rand: Random = initRandom, ioEffect: (HttpRequest) ⇒ HttpResponse[String] = _.asString)(f: (Random) ⇒ (P) ⇒ RequestT)(duration: FiniteDuration)(implicit ec: ExecutionContext, diff: GenericDiffRunner[A]): TestState
-
final
def
delete(uri: String, params: Params = Map.empty, headers: Headers = Headers): RequestT
-
final
def
get(uri: String, params: Params = Map.empty, headers: Headers = Headers): RequestT
-
def
h2(_host: String, _user: String, _password: String): H2 { ... /* 3 definitions in type refinement */ }
-
-
def
mysql(_host: String, _user: String, _password: String): MySql { ... /* 3 definitions in type refinement */ }
-
final
def
post(uri: String, params: Params = Map.empty, headers: Headers = Headers, contentO: Option[String] = None): RequestT
-
def
postgres(_host: String, _user: String, _password: String): PostgresSql { ... /* 3 definitions in type refinement */ }
-
def
printReasons(state: TestState): Unit
-
def
printState(state: TestState): Unit
-
-
final
def
put(uri: String, params: Params = Map.empty, headers: Headers = Headers, contentO: Option[String] = None): RequestT
-
def
select[P <: HList](name: Witness, providers: P)(implicit select: Selector[P, T]): Out
-
def
show(request: RequestT): String
Inherited from AnyRef
Inherited from Any