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
Exception
public static void waitForMauEvent(File logFile, AnalyticsTestUtils.LogLineMatcher matcher, int startPoint) throws Exception
Exception
public static com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> scanLogForEvent(File logFile, AnalyticsTestUtils.LogLineMatcher matcher, int startPoint) throws Exception
Exception
public static void failAndLogEvents(int numLines, File currentLogFile) throws IOException
IOException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.