D | SessionControllerUnitTest.java | 76 public SessionAnnotation annotation; field in SessionControllerUnitTest.TestSessionControllerCallback 80 public void onSessionStateChanged(SessionAnnotation annotation) { in onSessionStateChanged() argument 81 this.annotation = annotation; in onSessionStateChanged() 132 assertThat(mCallback.annotation.sessionState).isEqualTo( in testRegisterCallback_stateChangeTriggersCallback() 134 assertThat(mCallback.annotation.sessionId).isEqualTo(1); in testRegisterCallback_stateChangeTriggersCallback() 149 assertThat(mCallback.annotation.sessionState).isEqualTo( in testGetSessionAnnotation_sessionOnSessionOffSequence() 151 int sessionId = mCallback.annotation.sessionId; in testGetSessionAnnotation_sessionOnSessionOffSequence() 152 long currentTimeMillis = mCallback.annotation.createdAtMillis; in testGetSessionAnnotation_sessionOnSessionOffSequence() 153 long elapsedFromBootMillis = mCallback.annotation.createdAtSinceBootMillis; in testGetSessionAnnotation_sessionOnSessionOffSequence() 158 assertThat(mSessionController.getSessionAnnotation()).isEqualTo(mCallback.annotation); in testGetSessionAnnotation_sessionOnSessionOffSequence() [all …]
|