Home | History | Annotate | Download | only in mockingcoretests
      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 
     16 INTRODUCTION
     17 
     18 The Android platform core tests that require additional mocking capabilities and use Extended
     19 Mockito, such as the ability to stub static methods. ExtendedMockito is not fully compatible with
     20 regular Mockito library, so tests that use it have to be verified and adapted. For that reason a
     21 separate module is used instead of adding to FrameworksCoreTests.
     22 
     23 For more information about ExtendedMockito see documentation of
     24 com.android.dx.mockito.inline.extended.ExtendedMockito class.
     25 
     26 See ../coretests/README for more information on FrameworksCoreTests.
     27 
     28 
     29 INSTRUCTIONS
     30 
     31 To build, install and run:
     32 
     33   atest FrameworksMockingCoreTests
     34