the entities we are querying against
the entities we are querying against
the execution context
the execution context
runs the query against the test data, and checks if the results are correct.
runs the query against the test data, and checks if the results are correct. generates a test failure if they are not.
due to the possibility of data in the table put in by other tests, it is not
possible to test queries with offset
or limit
clauses here. do not despair,
offset and limit clauses are tested independently in the longevity test suite
for every longevity back end. (see
longevity.integration.queries.offsetLimit.OffsetLimitQuerySpec
)
pick the entity with the median value for the provided property
pick the entity with the median value for the provided property
the property to select the median value for
the number of entities to run queries against
the number of entities to run queries against
pick the entity with the specified order statistic for the provided property.
pick the entity with the specified order statistic for the provided
property. an order statistic k
is the element indexed by k
if the set
of entities were sorted by the supplied property.
the property to select the order statistic for
the order statistic to select
the persistent states of the entities we are querying against
the persistent states of the entities we are querying against
the persistent type
the persistent type
pick an entity from the test set "at random".
pick an entity from the test set "at random". actually uses Set.head
the repository under test
the repository under test
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).!==(literalNull)
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).!==(spread)
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).!==(rightSide)(equality)
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).!==(literalNull)
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).!==(spread)
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).!==(rightSide)(equality)
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).!==(literalNull)
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).!==(spread)
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).!==(rightSide)(equality)
(exercisePlayEnumerator: org.scalatest.Matchers.PlusOrMinusWrapper[ExercisePlayEnumerator[P]]).+-(tolerance)
(exercisePlayEnumerator: org.scalactic.Tolerance.PlusOrMinusWrapper[ExercisePlayEnumerator[P]]).+-(tolerance)
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).===(literalNull)
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).===(spread)
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).===(rightSide)(equality)
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).===(literalNull)
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).===(spread)
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).===(rightSide)(equality)
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).===(literalNull)
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).===(spread)
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).===(rightSide)(equality)
(exercisePlayEnumerator: org.scalatest.Matchers.Equalizer[ExercisePlayEnumerator[P]]).leftSide
(exercisePlayEnumerator: org.scalatest.Assertions.Equalizer[ExercisePlayEnumerator[P]]).leftSide
(exercisePlayEnumerator: org.scalactic.TripleEquals.Equalizer[ExercisePlayEnumerator[P]]).leftSide
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest
extends QuerySpec to add tests for PlayRepo.queryToPlay