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

Commit 8fe59ba8 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi Committed by Android (Google) Code Review
Browse files

Merge "add FrameworkCoreTest for AndroidResources test plan"

parents 281be603 00e93e8a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{
  "imports": [
    {
      "path": "frameworks/base/core/tests/coretests/src/android/content/res"
    },
    {
      "path": "frameworks/base/core/tests/coretests/src/com/android/internal/content/res"
    }
  ],
  "presubmit": [
    {
      "name": "CtsResourcesLoaderTests"
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.content.res;

import android.platform.test.annotations.Presubmit;
import android.test.ActivityInstrumentationTestCase2;
import android.util.TypedValue;

@@ -25,6 +26,7 @@ import com.android.frameworks.coretests.R;

import java.lang.reflect.InvocationTargetException;

@Presubmit
public class ConfigurationBoundResourceCacheTest
        extends ActivityInstrumentationTestCase2<ResourceCacheActivity> {

+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;

import android.app.Instrumentation;
import android.platform.test.annotations.Presubmit;

import androidx.test.InstrumentationRegistry;
import androidx.test.filters.SmallTest;
@@ -45,6 +46,7 @@ import java.util.List;
/**
 * Tests for {@link FontResourcesParser}.
 */
@Presubmit
@SmallTest
@RunWith(AndroidJUnit4.class)
public class FontResourcesParserTest {
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.content.Context;
import android.graphics.drawable.ColorStateListDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
import android.platform.test.annotations.Presubmit;

import androidx.test.InstrumentationRegistry;
import androidx.test.filters.SmallTest;
@@ -34,6 +35,7 @@ import com.android.frameworks.coretests.R;
import org.junit.Test;
import org.junit.runner.RunWith;

@Presubmit
@SmallTest
@RunWith(AndroidJUnit4.class)
public class ResourcesDrawableTest {
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.content.res;

import android.os.FileUtils;
import android.os.LocaleList;
import android.platform.test.annotations.Presubmit;
import android.test.AndroidTestCase;
import android.util.DisplayMetrics;

@@ -30,6 +31,7 @@ import java.io.InputStream;
import java.util.Arrays;
import java.util.Locale;

@Presubmit
public class ResourcesLocaleTest extends AndroidTestCase {

    private String extractApkAndGetPath(int id) throws Exception {
Loading