package validation
- Alphabetic
- Public
- Protected
Type Members
- trait Accumulator[T <: Accumulator[T]] extends AnyRef
Base trait for all accumulator classes.
Base trait for all accumulator classes.
- T
Self-recursive type.
- final case class AggregatedLongAccumulator(min: Long, max: Long, count: Long, accumulated: Long) extends Accumulator[AggregatedLongAccumulator] with Product with Serializable
Accumulates long values and computes aggregated statistics.
Accumulates long values and computes aggregated statistics.
- min
The minimum value accumulated.
- max
The maximum value accumulated.
- count
The number of accumulated values.
- accumulated
The total accumulated value.
- final case class DoubleAccumulator(value: Double) extends Accumulator[DoubleAccumulator] with Product with Serializable
Accumulates double values.
Accumulates double values.
- value
The accumulated value.
- final case class Feature(geometry: Geometry, properties: Map[String, Any] = Map.empty) extends Product with Serializable
GeoJSON feature.
- sealed trait Geometry extends AnyRef
Base trait for all GeoJSON geometry classes.
- final case class IncompatibleAccumulatorOpException(type1: String, type2: String) extends Exception with Product with Serializable
An exception thrown when two incompatible accumulators are merged together.
An exception thrown when two incompatible accumulators are merged together.
- type1
The class name of the first accumulator.
- type2
The class name of the second accumulator.
- class JsonDeserializer[T] extends Deserializer[T] with Serializable
Serialization.Deserializer that deserializes instances of
Tfrom their JSON representation.Serialization.Deserializer that deserializes instances of
Tfrom their JSON representation.- T
The deserialized type.
- class JsonSerializer[T <: AnyRef] extends Serializer[T] with Serializable
Serialization.Serializer that serializes instances of
Tinto their JSON representation.Serialization.Serializer that serializes instances of
Tinto their JSON representation.- T
The serialized type.
- final case class LineString(coordinates: Seq[Position]) extends Geometry with Product with Serializable
GeoJSON linestring geometry.
- final case class LongAccumulator(value: Long) extends Accumulator[LongAccumulator] with Product with Serializable
Accumulates long values.
Accumulates long values.
- value
The accumulated value.
- final case class Metrics(stats: TestStats, accumulators: Map[String, Accumulator[_]], nested: Map[String, Metrics] = Map.empty) extends Product with Serializable
Test metrics.
Test metrics.
- stats
Test statistics.
- accumulators
Accumulator values created during the test execution.
- nested
In aggregated metrics partitions this contains the lower level metrics partitions.
- final case class MultiLineString(coordinates: Seq[LineStringCoordinates]) extends Geometry with Product with Serializable
GeoJSON multi-linestring geometry.
- final case class MultiPoint(coordinates: Seq[Position]) extends Geometry with Product with Serializable
GeoJSON multi-point geometry.
- final case class MultiPolygon(coordinates: Seq[PolygonCoordinates]) extends Geometry with Product with Serializable
GeoJSON multi-polygon geometry.
- sealed trait Outcome extends AnyRef
Outcome of a test-case.
- final case class Point(coordinates: Position) extends Geometry with Product with Serializable
GeoJSON point geometry.
- final case class Polygon(coordinates: Seq[LineStringCoordinates]) extends Geometry with Product with Serializable
GeoJSON polygon geometry.
- final case class Position(longitude: Double, latitude: Double) extends Product with Serializable
GeoJSON position.
- final case class Report(results: Map[String, TestSuiteResult]) extends Product with Serializable
Test report of a set of test-suites.
Test report of a set of test-suites.
- results
Result of each test-suite, indexed by suite Suite.id.
- abstract class Suite[TestData] extends SuiteLike[TestData]
Base class for all test-suite implementations, parametrized on an instance of
TestData. - class SuiteCompiler[TestData] extends Serializable
Runs a suite or a collection of suites object and produces the output payloads encoding the test Report and Metrics.
Runs a suite or a collection of suites object and produces the output payloads encoding the test Report and Metrics.
- TestData
The parametric type of the data under test.
- sealed trait SuiteLike[TestData] extends Serializable
Base trait for a suite or a collection of suites parametrized on the same test data.
Base trait for a suite or a collection of suites parametrized on the same test data.
- TestData
The type of the data under test.
- final case class Suites[TestData](suites: Suite[TestData]*) extends SuiteLike[TestData] with Product with Serializable
A collection of Suites parametrized on the same data.
- final case class TestCaseDetails(title: String, payload: Option[Any], geometryIndex: Seq[Int], message: Option[String]) extends Product with Serializable
Details about a test-case.
Details about a test-case.
- title
The title of the test-case.
- payload
Optional payload.
- geometryIndex
Index to the pool of geometry features.
- message
Optional additional test outcome description.
- final case class TestCaseStats(succeeded: Long = 0, failed: Long = 0, skipped: Long = 0) extends Product with Serializable
Statistics about a specific test-case.
Statistics about a specific test-case.
- succeeded
Number of succeeded runs.
- failed
Number of failed runs.
- skipped
Number of skipped runs.
- trait TestContext extends AnyRef
Context of the current test suite.
Context of the current test suite.
Every Suite implementation is provided with a TestContext to register test outcomes and accumulators.
- final case class TestStats(suites: Map[String, TestSuiteStats]) extends Product with Serializable
Statistics about a set of test-suites.
Statistics about a set of test-suites.
- suites
Statistics about each test-suite, indexed by suite Suite.id.
- final case class TestSuiteResult(isSucceeded: Boolean, succeeded: Seq[TestCaseDetails], failed: Seq[TestCaseDetails], skipped: Seq[TestCaseDetails], geometry: Seq[Feature]) extends Product with Serializable
Result of a test-suite.
Result of a test-suite.
- isSucceeded
falseif at least a test-case has failed.- succeeded
Details about the succeeded test-cases.
- failed
Details about the failed test-cases.
- skipped
Details about the skipped test-cases.
- geometry
Geometry pool referenced by the TestCaseDetails of each test-case.
- final case class TestSuiteStats(testCases: Map[String, TestCaseStats]) extends Product with Serializable
Statistics about a specific test-suite.
Statistics about a specific test-suite.
- testCases
Statistics about each test-case in the test-suite, indexed by test-case-title.
Value Members
- object DefaultJsonSerializers
Default JSON Serialization.Serializers for the Report and Metrics types.
- case object Failed extends Outcome with Product with Serializable
Outcome of a test-case that failed.
- object GeoJson
- object Serialization
- case object Skipped extends Outcome with Product with Serializable
Outcome of a test-case that was skipped.
- case object Succeeded extends Outcome with Product with Serializable
Outcome of a test-case that passed.
- object Transformations
Set of implicit transformations added to com.here.platform.data.processing.driver.deltasets.DeltaSets.
Set of implicit transformations added to com.here.platform.data.processing.driver.deltasets.DeltaSets.
To enable them, you have to add an implicit com.here.platform.data.processing.driver.deltasets.DeltaContext in your scope.