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

Commit be81f4f1 authored by Brett Chabot's avatar Brett Chabot
Browse files

Move out all framework-tests classes.

Previously tests/framework-tests contained a quarantined set of test classes
that needed access to package-private framework api. Running these tests
normally would cause the dalvik verifier to throw errors.

runtest now has support for turning off the dalvik verifier for frameworks
tests, so move this tests into their recommended location, close to the source
being tested.

Also move policy source into a 'src' folder to accommodate the tests move.

Change-Id: I62f839da185a55bc553b653bf583fd99da438512
parent 28a6c8e9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package android.text;

import android.text.PackedIntVector;
import junit.framework.TestCase;

/**
+4 −2
Original line number Diff line number Diff line
@@ -4,9 +4,11 @@ LOCAL_PATH:= $(call my-dir)
# ============================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
            $(call all-subdir-java-files)
LOCAL_SRC_FILES := $(call all-java-files-under, src)
            
LOCAL_MODULE := android.policy

include $(BUILD_JAVA_LIBRARY)

# additionally, build unit tests in a separate .apk
include $(call all-makefiles-under,$(LOCAL_PATH))
Loading