Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2be31ef8 authored by Neil Fuller's avatar Neil Fuller Committed by Android (Google) Code Review
Browse files

Merge "Add SNTP tests to continuous tests"

parents d6c2dbdb 77c5b8ad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import static org.mockito.Mockito.when;

import android.net.sntp.Duration64;
import android.net.sntp.Timestamp64;
import android.platform.test.annotations.Presubmit;
import android.util.Log;

import androidx.test.runner.AndroidJUnit4;
@@ -49,6 +50,7 @@ import java.util.Arrays;
import java.util.Random;
import java.util.function.Supplier;

@Presubmit
@RunWith(AndroidJUnit4.class)
public class SntpClientTest {
    private static final String TAG = "SntpClientTest";
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;

import android.platform.test.annotations.Presubmit;

import androidx.test.runner.AndroidJUnit4;

import org.junit.Test;
@@ -31,6 +33,7 @@ import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneOffset;

@Presubmit
@RunWith(AndroidJUnit4.class)
public class Duration64Test {

+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

import android.platform.test.annotations.Presubmit;

import androidx.test.runner.AndroidJUnit4;

import org.junit.Test;
@@ -31,6 +33,7 @@ import java.util.HashSet;
import java.util.Random;
import java.util.Set;

@Presubmit
@RunWith(AndroidJUnit4.class)
public class Timestamp64Test {