public class ReportVerification
extends org.junit.rules.ExternalResource
Usage:
@Rule public ReportVerification report = new ReportVerification();
| Constructor and Description |
|---|
ReportVerification() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
void |
expectReportEntry(org.hamcrest.Matcher<String> entryKeyMatcher,
org.hamcrest.Matcher<org.jdom2.Element> elementMatcher,
org.hamcrest.Matcher<org.jdom2.Element> elementToCommentMatcher,
org.hamcrest.Matcher<Iterable<? extends String>> messageParamMatchers) |
void |
expectReportEntry(org.hamcrest.Matcher<String> entryKeyMatcher,
org.hamcrest.Matcher<org.jdom2.Element> elementMatcher,
org.hamcrest.Matcher<Iterable<? extends String>> messageParamMatchers) |
void |
expectReportEntry(org.hamcrest.Matcher<String> entryKeyMatcher,
org.hamcrest.Matcher<Iterable<? extends String>> messageParamMatchers) |
void |
expectReportEntry(String entryKey,
String... messageParams) |
MigrationReport |
getReport() |
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResourcepublic void expectReportEntry(org.hamcrest.Matcher<String> entryKeyMatcher, org.hamcrest.Matcher<Iterable<? extends String>> messageParamMatchers)
public void expectReportEntry(org.hamcrest.Matcher<String> entryKeyMatcher, org.hamcrest.Matcher<org.jdom2.Element> elementMatcher, org.hamcrest.Matcher<Iterable<? extends String>> messageParamMatchers)
public void expectReportEntry(org.hamcrest.Matcher<String> entryKeyMatcher, org.hamcrest.Matcher<org.jdom2.Element> elementMatcher, org.hamcrest.Matcher<org.jdom2.Element> elementToCommentMatcher, org.hamcrest.Matcher<Iterable<? extends String>> messageParamMatchers)
public MigrationReport getReport()
Copyright © 2018 MuleSoft Inc. All rights reserved.