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

Commit d72fffea authored by Benjamin Franz's avatar Benjamin Franz
Browse files

Add SmallTest annotation to UserCredentialsTest

Also cleaned up the comments and the imports slightly.

Change-Id: Ieea8af1914ff2f78764d33a9ce6b56621c809fcf
parent 3833c6f8
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -18,8 +18,7 @@ package com.android.settings;

import android.os.Parcel;
import android.test.InstrumentationTestCase;
import android.test.InstrumentationTestRunner;
import android.test.suitebuilder.annotation.LargeTest;
import android.test.suitebuilder.annotation.SmallTest;

import static com.android.settings.UserCredentialsSettings.Credential;

@@ -27,13 +26,14 @@ import static com.android.settings.UserCredentialsSettings.Credential;
 * User credentials settings fragment tests
 *
 * To run the test, use command:
 * adb shell am instrument -e class com.android.settings.security.UserCredentialsTests
 * -w com.android.settings.tests/android.test.InstrumentationTestRunner
 * adb shell am instrument -e class com.android.settings.UserCredentialsTest
 * -w com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
 *
 */
public class UserCredentialsTests extends InstrumentationTestCase {
public class UserCredentialsTest extends InstrumentationTestCase {
    private static final String TAG = "UserCredentialsTests";

    @SmallTest
    public void testCredentialIsParcelable() {
        final String alias = "credential-test-alias";
        Credential c = new Credential(alias);