public class PodLogsAssert extends org.assertj.core.api.MapAssert<String,String>
Constructor and Description |
---|
PodLogsAssert(Map<String,String> actual,
String containerName) |
PodLogsAssert(Map<String,String> actual,
String containerName,
Map<String,String> logPrefixes) |
Modifier and Type | Method and Description |
---|---|
PodLogsAssert |
afterText(String startText) |
void |
containsText(String... texts) |
void |
doesNotContainText(String... texts) |
void |
doesNotContainTextCount(int count,
String... texts) |
protected String |
fullLogText(String podName,
String text) |
protected String |
lastLineOf(File file) |
protected String |
logFileCoords(String podName,
String value,
int idx)
Returns the coordinates in the log file of the end of the bit of text
|
protected File |
podLogFileName(String podName) |
static String |
textCoords(String text)
Returns the line number and column of the end of text
|
contains, containsEntry, containsExactly, containsKey, containsKeys, containsOnly, containsOnlyKeys, containsValue, doesNotContain, doesNotContainEntry, doesNotContainKey, doesNotContainValue, hasSameSizeAs, hasSameSizeAs, hasSameSizeAs, hasSize, isEmpty, isNotEmpty, isNullOrEmpty, usingDefaultElementComparator, usingElementComparator
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
public PodLogsAssert afterText(String startText)
public void containsText(String... texts)
public void doesNotContainText(String... texts)
public void doesNotContainTextCount(int count, String... texts)
protected String logFileCoords(String podName, String value, int idx)
public static String textCoords(String text)
Copyright © 2011–2016 Red Hat. All rights reserved.