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

Commit 248f90bd authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Preload: Add a simple test for the state of classes" am: fe1c4420

am: 9cef297d

Change-Id: Ia2c93d57151f67038b7227e509934c9ff40efbdc
parents 0eacde5a 9cef297d
Loading
Loading
Loading
Loading

config/TEST_MAPPING

0 → 100644
+7 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "PreloadCheck"
    }
  ]
}
+21 −0
Original line number Diff line number Diff line
// Copyright (C) 2019 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.

java_test_host {
    name: "PreloadCheck",
    srcs: ["src/**/*.java"],
    libs: ["tradefed"],
    test_suites: ["general-tests"],
    required: ["preload-check-device"],
}
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 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.
-->
<configuration description="Config for PreloadCheck">
    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
        <option name="cleanup" value="true" />
        <option name="push" value="preload-check-device.jar->/data/local/tmp/preload-check-device.jar" />
    </target_preparer>
    <test class="com.android.tradefed.testtype.HostTest" >
        <option name="class" value="com.android.preload.check.PreloadCheck" />
    </test>
</configuration>
+7 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "PreloadCheck"
    }
  ]
}
+27 −0
Original line number Diff line number Diff line
// Copyright (C) 2019 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.

java_test_helper_library {
    name: "preload-check-device",
    host_supported: false,
    device_supported: true,
    compile_dex: true,

    sdk_version: "current",
    srcs: ["src/**/*.java"],
    test_suites: ["general-tests"],
    dex_preopt: {
        enabled: false,
    },
}
Loading