• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/android/app/activity/23-Mar-2024-363270

Android.bpD23-Mar-20241.4 KiB5446

AndroidManifest.xmlD23-Mar-20241.4 KiB3615

AndroidTest.xmlD23-Mar-20241.4 KiB3215

READMED23-Mar-20241.2 KiB3424

README

1* Copyright (C) 2019 The Android Open Source Project
2*
3* Licensed under the Apache License, Version 2.0 (the "License");
4* you may not use this file except in compliance with the License.
5* You may obtain a copy of the License at
6*
7*      http://www.apache.org/licenses/LICENSE-2.0
8*
9* Unless required by applicable law or agreed to in writing, software
10* distributed under the License is distributed on an "AS IS" BASIS,
11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12* See the License for the specific language governing permissions and
13* limitations under the License.
14
15
16INTRODUCTION
17
18The Android platform core tests that require additional mocking capabilities and use Extended
19Mockito, such as the ability to stub static methods. ExtendedMockito is not fully compatible with
20regular Mockito library, so tests that use it have to be verified and adapted. For that reason a
21separate module is used instead of adding to FrameworksCoreTests.
22
23For more information about ExtendedMockito see documentation of
24com.android.dx.mockito.inline.extended.ExtendedMockito class.
25
26See ../coretests/README for more information on FrameworksCoreTests.
27
28
29INSTRUCTIONS
30
31To build, install and run:
32
33  atest FrameworksMockingCoreTests
34