Search in sources :

Example 1 with MockLog

use of com.microsoft.appcenter.ingestion.models.json.MockLog in project mobile-center-sdk-android by Microsoft.

the class AndroidTestUtils method generateMockLog.

@NonNull
public static MockLog generateMockLog() {
    MockLog log = new MockLog();
    log.setDevice(generateMockDevice());
    log.setSid(UUIDUtils.randomUUID());
    log.setTimestamp(new Date());
    return log;
}
Also used : MockLog(com.microsoft.appcenter.ingestion.models.json.MockLog) Date(java.util.Date) NonNull(android.support.annotation.NonNull)

Aggregations

NonNull (android.support.annotation.NonNull)1 MockLog (com.microsoft.appcenter.ingestion.models.json.MockLog)1 Date (java.util.Date)1