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

Commit 7edddb49 authored by Dan Sandler's avatar Dan Sandler Committed by Daniel Sandler
Browse files

Tests for Notification object construction and parceling.

The tests use the new hidden Parcel APIs (if available on
the running platform) to emit statistics about ashmem usage.

Bug: 20153922
Bug: 20079551
Change-Id: I400d2a932f297e582c335389570f93c0d4a19fc9
parent cbcbb828
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests

# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PACKAGE_NAME := NotificationTests

LOCAL_SDK_VERSION := 21

include $(BUILD_PACKAGE)
+28 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.android.frameworks.tests.notification"
    >
    <application>
        <uses-library android:name="android.test.runner" />
    </application>

    <instrumentation
        android:name="android.test.InstrumentationTestRunner"
        android:targetPackage="com.android.frameworks.tests.notification"
        android:label="Frameworks Notification Tests" />
</manifest>
+7.39 KiB
Loading image diff...
+49.2 KiB
Loading image diff...
+15.5 KiB
Loading image diff...
Loading