Uses of Class
edu.upc.fib.inlab.imp.kse.logics.logicschema.assertions.LogicSchemaAssert
Packages that use LogicSchemaAssert
-
Uses of LogicSchemaAssert in edu.upc.fib.inlab.imp.kse.logics.logicschema.assertions
Methods in edu.upc.fib.inlab.imp.kse.logics.logicschema.assertions that return LogicSchemaAssertModifier and TypeMethodDescriptionLogicSchemaAssert.assertAllLogicConstraintsAreEquivalent(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicSchema expectedSchema) Asserts whether the actual logicSchema constraints are equivalent to the expectedSchema constraints.LogicSchemaAssert.assertAllPredicatesAreEquivalent(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicSchema expectedSchema) Asserts whether the actual logicSchema predicates (base or derived) are equivalent to the expectedSchema.static LogicSchemaAssertLogicSchemaAssert.assertThat(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicSchema actual) static LogicSchemaAssertLogicSchemaAssertions.assertThat(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicSchema actual) LogicSchemaAssert.containsConstraintID(String constraintID) LogicSchemaAssert.containsEquivalentConstraint(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicConstraint expectedConstraint) Checks whether the actual schema contains a constraint equivalent to expectedConstraint considering that two derived ordinary literals are equivalent if their derivation rules are equivalentLogicSchemaAssert.containsEquivalentConstraint(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicConstraint expectedConstraint, LogicSchemaAssert.DerivedLiteralStrategy derivedLiteralsStrategy) Checks whether the actual schema contains a constraint equivalent to expectedConstraint considering that two derived ordinary literals are equivalent according to the given strategy.LogicSchemaAssert.containsEquivalentDerivationRule(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.DerivationRule expectedRule) Checks whether the actual schema contains a derivation rule equivalent to expectedRule considering that two derived ordinary literals are equivalent iff their definition rules are equivalentLogicSchemaAssert.containsEquivalentDerivationRule(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.DerivationRule expectedRule, LogicSchemaAssert.DerivedLiteralStrategy derivedLiteralsStrategy) Checks whether the actual schema contains a derivation rule equivalent to expectedRule considering that two derived ordinary literals are equivalent according to the given strategy.LogicSchemaAssert.containsEquivalentPredicate(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate expectedPredicate) Checks whether the actual schema contains a predicate equivalent to expectedPredicate considering that two derived ordinary literals (appearing in the definition rules of the given predicate) are equivalent iff their definition rules are equivalentLogicSchemaAssert.containsEquivalentPredicate(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.Predicate expectedPredicate, LogicSchemaAssert.DerivedLiteralStrategy derivedLiteralsStrategy) Checks whether the actual schema contains a predicate equivalent to expectedPredicate considering that two derived ordinary literals (appearing in the definition rules of the given predicate) are equivalent according to the derivedLiteralStrategy givenLogicSchemaAssert.containsExactlyTheseConstraintIDs(String... constraintIDs) LogicSchemaAssert.containsExactlyThesePredicateNames(String... predicateNames) LogicSchemaAssert.containsPredicate(String predicateName, int arity) LogicSchemaAssert.isEmpty()LogicSchemaAssert.isIsomorphicTo(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicSchema expected) LogicSchemaAssert.isLogicallyEquivalentTo(edu.upc.fib.inlab.imp.kse.logics.logicschema.domain.LogicSchema expectedSchema) Asserts whether the actual logicSchema is equivalent to the expectedSchema.LogicSchemaAssert.usingIsomorphismOptions(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.comparator.isomorphism.IsomorphismOptions options)