Package io.github.valentinherrmann.levenshtein
package io.github.valentinherrmann.levenshtein
-
ClassDescriptionAttributeWrapper<T,
V> Wrapper for class attributes (fields) that verifies their existence, name, type, and modifiers using Levenshtein distance for fuzzy matching.ClassWrapper<T>Wrapper for classes that verifies their existence, name, modifiers, superclass, and interfaces using Levenshtein distance for fuzzy matching.Wrapper for class constructors that verifies their existence, parameter types, and modifiers.The one format of every behaviour failure: a block of labelled lines, localized withMessagesandLevenshteinSettings.getLanguage().Code without a result that may throw anything.Code that returns a value and may throw anything.A generic class wrapper for actually existing classes to make them compatible with the other wrappers.Hidden counterpart ofLevenshteinTest: composesHidden,StrictTimeout(5)andMirrorOutput, plusStaticStateReset.Runtime configuration of the Levenshtein Testing Framework.Supported languages for assertion and feedback messages.How modifiers of the student's element that the test does not expect are treated.Marks a test class as a public Ares 2 test class using the Levenshtein Testing Framework.Central message catalog for all assertion and feedback messages shown to students.MethodWrapper<T,R> Wrapper for class methods that verifies their existence, name, return type, parameter types, and modifiers using Levenshtein distance for fuzzy name matching.Mock<T>An object of a student class whose methods the test can replace, and which records every call to its methods.Resets attributes that the student declaredstaticalthough the test expects an instance attribute (issue #35), so that their state does not leak from one test into the next.Utility class for generating structural validation tests using wrapper objects.Enumeration defining the level of detail for structural test generation.Wrapper<T>Abstract base class for wrapping and verifying Java reflection elements (classes, methods, fields, constructors).A wrapper for properties of reflection elements that tracks expected vs. actual values and their existence state (exact match, deviation, missing, or unchecked).Enumeration representing the existence state of a property.