mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reviewed By: mkonicek Differential Revision: D2699804 fb-gh-sync-id: 7b31287407bacf2e8e3de6ee1c723a11bb2a0f27
27 lines
764 B
Java
27 lines
764 B
Java
/*
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
package org.mockito.configuration;
|
|
|
|
/**
|
|
* Disables the Mockito cache to prevent Mockito & Robolectric bugs.
|
|
*
|
|
* Mockito loads this with reflection, so this class might appear unused.
|
|
*/
|
|
@SuppressWarnings("unused")
|
|
public class MockitoConfiguration extends DefaultMockitoConfiguration {
|
|
|
|
/* (non-Javadoc)
|
|
* @see org.mockito.configuration.IMockitoConfiguration#enableClassCache()
|
|
*/
|
|
public boolean enableClassCache() {
|
|
return false;
|
|
}
|
|
}
|