public class ProverEnvironmentSubject extends Subject<ProverEnvironmentSubject,BasicProverEnvironment<?>>
Subject subclass for testing assertions about ProverEnvironments with Truth (allows to
use assert_().about(...).that(stack).isUnsatisfiable() etc.).
For a test use SolverBasedTest0.assertThatEnvironment(BasicProverEnvironment), or
StandardSubjectBuilder.about(com.google.common.truth.Subject.Factory) and proverEnvironments().
| Modifier and Type | Method and Description |
|---|---|
static ProverEnvironmentSubject |
assertThat(BasicProverEnvironment<?> prover)
Use this for checking assertions about ProverEnvironments with Truth:
assertThat(stack).is...(). |
void |
isSatisfiable()
Check that the subject stack is satisfiable.
|
void |
isUnsatisfiable()
Check that the subject stack is unsatisfiable.
|
static Subject.Factory<ProverEnvironmentSubject,BasicProverEnvironment<?>> |
proverEnvironments()
Use this for checking assertions about ProverEnvironments with Truth:
assert_().about(proverEnvironments()).that(stack).is...(). |
actual, actualAsString, actualCustomStringRepresentation, check, check, equals, fail, fail, fail, failComparing, failComparing, failWithActual, failWithActual, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutActual, failWithoutSubject, failWithRawMessage, failWithRawMessageAndCause, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, named, toStringpublic static Subject.Factory<ProverEnvironmentSubject,BasicProverEnvironment<?>> proverEnvironments()
assert_().about(proverEnvironments()).that(stack).is...().public static final ProverEnvironmentSubject assertThat(BasicProverEnvironment<?> prover)
assertThat(stack).is...().public void isUnsatisfiable()
throws SolverException,
InterruptedException
SolverExceptionInterruptedExceptionpublic void isSatisfiable()
throws SolverException,
InterruptedException
SolverExceptionInterruptedException