C# Class AdjustTest.Pcl.TestActivityHandler

Inheritance: TestTemplate
Mostra file Open project: adjust/windows_sdk Class Usage Examples

Private Properties

Property Type Description
CheckEndSession void
CheckFirstSession void
CheckNewSession void
CheckSubsession void
CheckTimerIsFired void
GetActivityHandler AdjustSdk.Pcl.ActivityHandler
InitTests void
ReadFiles void

Public Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestActivityHandler ( DeviceUtil deviceUtil, IAssert assert, TargetPlatform targetPlatform ) : System
TestCheckAttributionState ( ) : void
TestDisable ( ) : void
TestEventsBuffered ( ) : void
TestEventsNotBuffered ( ) : void
TestFinishedTrackingActivity ( ) : void
TestFirstSession ( ) : void
TestOfflineMode ( ) : void
TestOpenUrl ( ) : void
TestSessions ( ) : void
TestTimer ( ) : void
TestUpdateAttribution ( ) : void
testChecks ( ) : void

Private Methods

Method Description
CheckEndSession ( bool updateActivityState = true ) : void
CheckFirstSession ( bool paused = false ) : void
CheckNewSession ( bool paused, int sessionCount, int eventCount, bool timerAlreadyStarted = false ) : void
CheckSubsession ( int sessionCount = 1, int subsessionCount = 1, bool timerAlreadyStarted = null, bool askAttributionIsCalled = null ) : void
CheckTimerIsFired ( bool timerFired ) : void
GetActivityHandler ( AdjustConfig config ) : ActivityHandler
InitTests ( string environment = "sandbox", string logLevel = "Info", bool eventBuffering = false, string readActivityState = null, string readAttribution = null ) : void
ReadFiles ( string readActivityState, string readAttribution ) : void

Method Details

SetUp() public method

public SetUp ( ) : void
return void

TearDown() public method

public TearDown ( ) : void
return void

TestActivityHandler() public method

public TestActivityHandler ( DeviceUtil deviceUtil, IAssert assert, TargetPlatform targetPlatform ) : System
deviceUtil DeviceUtil
assert IAssert
targetPlatform TargetPlatform
return System

TestCheckAttributionState() public method

public TestCheckAttributionState ( ) : void
return void

TestDisable() public method

public TestDisable ( ) : void
return void

TestEventsBuffered() public method

public TestEventsBuffered ( ) : void
return void

TestEventsNotBuffered() public method

public TestEventsNotBuffered ( ) : void
return void

TestFinishedTrackingActivity() public method

public TestFinishedTrackingActivity ( ) : void
return void

TestFirstSession() public method

public TestFirstSession ( ) : void
return void

TestOfflineMode() public method

public TestOfflineMode ( ) : void
return void

TestOpenUrl() public method

public TestOpenUrl ( ) : void
return void

TestSessions() public method

public TestSessions ( ) : void
return void

TestTimer() public method

public TestTimer ( ) : void
return void

TestUpdateAttribution() public method

public TestUpdateAttribution ( ) : void
return void

testChecks() public method

public testChecks ( ) : void
return void