A B C D F G I M P T V 
All Classes All Packages

A

AbstractMCTest - Class in de.monticore.runtime.junit
Common abstract super class for MontiCore language tests Ensures, that the correct Log is initialized and no findings are present after a test; findings are either expected to not occur at all or, if they occur, are checked and removed afterward, s.a.
AbstractMCTest() - Constructor for class de.monticore.runtime.junit.AbstractMCTest
 
afterEach(ExtensionContext) - Method in class de.monticore.runtime.junit.MCLanguageTestExtension
 
apply(String) - Method in interface de.monticore.runtime.junit.PrettyPrinterTester.ParseFunction
 
assertHasFinding() - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding is present and removes that Finding from the Log.
assertHasFinding(Predicate<Finding>) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding matches the predicate and removes that Finding from the Log.
assertHasFinding(Predicate<Finding>, String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding matches the predicate and removes that Finding from the Log.
assertHasFindings(Predicate<Finding>) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding matches the predicate and removes all matching Findings from the Log
assertHasFindings(Predicate<Finding>, String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding matches the predicate and removes all matching Findings from the Log
assertHasFindingsStartingWith(String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding starts with the expected prefix and removes all matching Findings from the Log
assertHasFindingsStartingWith(String, String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding starts with the expected prefix and removes all matching Findings from the Log
assertHasFindingStartingWith(String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding starts with the expected prefix and removes that Finding from the Log
assertHasFindingStartingWith(String, String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that at least one Finding starts with the expected prefix and removes that Finding from the Log
assertNoFindings() - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that no findings are present.
assertNoFindings(String) - Static method in class de.monticore.runtime.junit.MCAssertions
Asserts that no findings are present.

B

beforeEach(ExtensionContext) - Method in class de.monticore.runtime.junit.MCLanguageTestExtension
 

C

checkLogAfterTest() - Method in class de.monticore.runtime.junit.AbstractMCTest
 

D

de.monticore.runtime.junit - package de.monticore.runtime.junit
 

F

failAndPrintFindings() - Static method in class de.monticore.runtime.junit.MCAssertions
Fails a test.
failAndPrintFindings(String) - Static method in class de.monticore.runtime.junit.MCAssertions
Fails a test with the given failure message.

G

getAnnotation(ExtensionContext) - Method in class de.monticore.runtime.junit.MCLanguageTestExtension
Fetch the @TestWithMCLanguage annotation, containing a reference to the relevant Mill.

I

initAbstract() - Method in class de.monticore.runtime.junit.AbstractMCTest
 
invokeStaticMethod(Class<?>, String) - Method in class de.monticore.runtime.junit.MCLanguageTestExtension
invoke a public, static method (init/reset) of a mill

M

MCAssertions - Class in de.monticore.runtime.junit
MCAssertions is a collection of utility methods that support asserting conditions in MontiCore tests.
MCAssertions() - Constructor for class de.monticore.runtime.junit.MCAssertions
 
MCLanguageTestExtension - Class in de.monticore.runtime.junit
 
MCLanguageTestExtension() - Constructor for class de.monticore.runtime.junit.MCLanguageTestExtension
 

P

PrettyPrinterTester - Class in de.monticore.runtime.junit
Offers functions to test pretty printers
PrettyPrinterTester() - Constructor for class de.monticore.runtime.junit.PrettyPrinterTester
 
PrettyPrinterTester.ParseFunction<N extends de.monticore.ast.ASTNode> - Interface in de.monticore.runtime.junit
Represents the function that parses a String.

T

testPrettyPrinter(String, MCConcreteParser, PrettyPrinterTester.ParseFunction<N>, Function<N, String>) - Static method in class de.monticore.runtime.junit.PrettyPrinterTester
Tests pretty printing.
testPrettyPrinter(String, MCConcreteParser, PrettyPrinterTester.ParseFunction<N>, Function<N, String>, Predicate<String>) - Static method in class de.monticore.runtime.junit.PrettyPrinterTester
Tests pretty printing.
TestWithMCLanguage - Annotation Type in de.monticore.runtime.junit
Performs the tests within the scope of a language.

V

value() - Method in annotation type de.monticore.runtime.junit.TestWithMCLanguage
The Mill of a language, such as @TestWithMCLanguage(MyDSLMill.class)
A B C D F G I M P T V 
All Classes All Packages