Packages

package validation

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait Accumulator[T <: Accumulator[T]] extends AnyRef

    Base trait for all accumulator classes.

    Base trait for all accumulator classes.

    T

    Self-recursive type.

  2. 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.

  3. final case class DoubleAccumulator(value: Double) extends Accumulator[DoubleAccumulator] with Product with Serializable

    Accumulates double values.

    Accumulates double values.

    value

    The accumulated value.

  4. final case class Feature(geometry: Geometry, properties: Map[String, Any] = Map.empty) extends Product with Serializable

    GeoJSON feature.

  5. sealed trait Geometry extends AnyRef

    Base trait for all GeoJSON geometry classes.

  6. 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.

  7. class JsonDeserializer[T] extends Deserializer[T] with Serializable

    Serialization.Deserializer that deserializes instances of T from their JSON representation.

    Serialization.Deserializer that deserializes instances of T from their JSON representation.

    T

    The deserialized type.

  8. class JsonSerializer[T <: AnyRef] extends Serializer[T] with Serializable

    Serialization.Serializer that serializes instances of T into their JSON representation.

    Serialization.Serializer that serializes instances of T into their JSON representation.

    T

    The serialized type.

  9. final case class LineString(coordinates: Seq[Position]) extends Geometry with Product with Serializable

    GeoJSON linestring geometry.

  10. final case class LongAccumulator(value: Long) extends Accumulator[LongAccumulator] with Product with Serializable

    Accumulates long values.

    Accumulates long values.

    value

    The accumulated value.

  11. 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.

  12. final case class MultiLineString(coordinates: Seq[LineStringCoordinates]) extends Geometry with Product with Serializable

    GeoJSON multi-linestring geometry.

  13. final case class MultiPoint(coordinates: Seq[Position]) extends Geometry with Product with Serializable

    GeoJSON multi-point geometry.

  14. final case class MultiPolygon(coordinates: Seq[PolygonCoordinates]) extends Geometry with Product with Serializable

    GeoJSON multi-polygon geometry.

  15. sealed trait Outcome extends AnyRef

    Outcome of a test-case.

  16. final case class Point(coordinates: Position) extends Geometry with Product with Serializable

    GeoJSON point geometry.

  17. final case class Polygon(coordinates: Seq[LineStringCoordinates]) extends Geometry with Product with Serializable

    GeoJSON polygon geometry.

  18. final case class Position(longitude: Double, latitude: Double) extends Product with Serializable

    GeoJSON position.

  19. 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.

  20. abstract class Suite[TestData] extends SuiteLike[TestData]

    Base class for all test-suite implementations, parametrized on an instance of TestData.

  21. 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.

  22. 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.

  23. final case class Suites[TestData](suites: Suite[TestData]*) extends SuiteLike[TestData] with Product with Serializable

    A collection of Suites parametrized on the same data.

    A collection of Suites parametrized on the same data.

    This class is useful to get single aggregated Report and Metrics when multiple Suites run on the same test data.

    TestData

    The type of the data under test.

    suites

    The sequence of suites.

  24. 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.

  25. 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.

  26. 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.

  27. 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.

  28. 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

    false if 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.

  29. 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

  1. object DefaultJsonSerializers

    Default JSON Serialization.Serializers for the Report and Metrics types.

  2. object Failed extends Outcome with Product with Serializable

    Outcome of a test-case that failed.

  3. object GeoJson
  4. object Serialization
  5. object Skipped extends Outcome with Product with Serializable

    Outcome of a test-case that was skipped.

  6. object Succeeded extends Outcome with Product with Serializable

    Outcome of a test-case that passed.

  7. 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.

Ungrouped