mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Migrate VisibleForTesting to kotlin (#37241)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37241 EZ diff that migrates VisibleForTesting interface to kotlin There are just 2 files into the annotations package, now both will be written in kotlin bypass-github-export-checks changelog: [internal] internal Reviewed By: cortinico, yungsters Differential Revision: D45454643 fbshipit-source-id: 7d3ac9f85141f720a201ca81102336e16758ea30
This commit is contained in:
committed by
Facebook GitHub Bot
parent
43bd29fb22
commit
c52f38eb7b
+3
-2
@@ -5,10 +5,11 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.common.annotations;
|
||||
|
||||
package com.facebook.react.common.annotations
|
||||
|
||||
/**
|
||||
* Annotates a method that should have restricted visibility but it's required to be public for use
|
||||
* in test code only.
|
||||
*/
|
||||
public @interface VisibleForTesting {}
|
||||
annotation class VisibleForTesting
|
||||
Reference in New Issue
Block a user