public class AnalyticsTestUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyticsTestUtils.LogLineMatcher |
| Constructor and Description |
|---|
AnalyticsTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
countLines(File file) |
static File |
currentLogFile(File analyticsPath) |
static void |
failAndLogEvents(int numLines,
File currentLogFile) |
static com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
scanLogForEvent(File logFile,
AnalyticsTestUtils.LogLineMatcher matcher,
int startPoint) |
static boolean |
scanLogForEvent(File logFile,
String eventName,
int startPoint) |
static void |
waitForMauEvent(File logFile,
AnalyticsTestUtils.LogLineMatcher matcher,
int startPoint) |
public static boolean scanLogForEvent(File logFile, String eventName, int startPoint) throws Exception
Exceptionpublic static void waitForMauEvent(File logFile, AnalyticsTestUtils.LogLineMatcher matcher, int startPoint) throws Exception
Exceptionpublic static com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> scanLogForEvent(File logFile, AnalyticsTestUtils.LogLineMatcher matcher, int startPoint) throws Exception
Exceptionpublic static void failAndLogEvents(int numLines,
File currentLogFile)
throws IOException
IOExceptionCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.