Package com.atlassian.bamboo.analytics
Class AnalyticsTestUtils
java.lang.Object
com.atlassian.bamboo.analytics.AnalyticsTestUtils
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
AnalyticsTestUtils
public AnalyticsTestUtils()
-
-
Method Details
-
scanLogForEvent
public static boolean scanLogForEvent(File logFile, String eventName, int startPoint) throws Exception - Throws:
Exception
-
waitForMauEvent
public static void waitForMauEvent(File logFile, AnalyticsTestUtils.LogLineMatcher matcher, int startPoint) throws Exception - Throws:
Exception
-
scanLogForEvent
public static com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> scanLogForEvent(File logFile, AnalyticsTestUtils.LogLineMatcher matcher, int startPoint) throws Exception - Throws:
Exception
-
countLines
- Throws:
Exception
-
currentLogFile
-
failAndLogEvents
- Throws:
IOException
-