From 305dd4bfe598a8446b9040102514021486e61b25 Mon Sep 17 00:00:00 2001 From: Facebook Community Bot Date: Fri, 4 Aug 2023 09:22:07 -0700 Subject: [PATCH] Re-sync with internal repository (#38794) Co-authored-by: Facebook Community Bot <6422482+facebook-github-bot@users.noreply.github.com> --- .../buck_tests/emptyFile.cpp | 14 ---- .../buck_tests/emptyFile.mm | 18 ----- .../ArrayPropsNativeComponentViewManager.java | 67 ------------------- ...BooleanPropNativeComponentViewManager.java | 40 ----------- .../ColorPropNativeComponentViewManager.java | 36 ---------- ...mensionPropNativeComponentViewManager.java | 38 ----------- ...eInsetsPropNativeComponentViewManager.java | 38 ----------- .../EnumPropNativeComponentViewManager.java | 39 ----------- ...ObjectPropsNativeComponentViewManager.java | 37 ---------- .../EventPropsNativeComponentViewManager.java | 36 ---------- .../FloatPropsNativeComponentViewManager.java | 55 --------------- .../ImagePropNativeComponentViewManager.java | 37 ---------- ...IntegerPropNativeComponentViewManager.java | 42 ------------ ...terfaceOnlyNativeComponentViewManager.java | 37 ---------- ...iNativePropNativeComponentViewManager.java | 47 ------------- ...opsNoEventsNativeComponentViewManager.java | 34 ---------- .../ObjectPropsNativeComponentManager.java | 43 ------------ .../PointPropNativeComponentViewManager.java | 37 ---------- .../StringPropNativeComponentViewManager.java | 39 ----------- 19 files changed, 734 deletions(-) delete mode 100644 packages/react-native-codegen/buck_tests/emptyFile.cpp delete mode 100644 packages/react-native-codegen/buck_tests/emptyFile.mm delete mode 100644 packages/react-native-codegen/buck_tests/java/ArrayPropsNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/BooleanPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/ColorPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/DimensionPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/EdgeInsetsPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/EnumPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/EventNestedObjectPropsNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/EventPropsNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/FloatPropsNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/ImagePropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/IntegerPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/InterfaceOnlyNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/MultiNativePropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/NoPropsNoEventsNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/ObjectPropsNativeComponentManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/PointPropNativeComponentViewManager.java delete mode 100644 packages/react-native-codegen/buck_tests/java/StringPropNativeComponentViewManager.java diff --git a/packages/react-native-codegen/buck_tests/emptyFile.cpp b/packages/react-native-codegen/buck_tests/emptyFile.cpp deleted file mode 100644 index 624a0fdeda8591..00000000000000 --- a/packages/react-native-codegen/buck_tests/emptyFile.cpp +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -// TODO: Import every prop and event to asset they're generated - -int main() { - return 0; -} diff --git a/packages/react-native-codegen/buck_tests/emptyFile.mm b/packages/react-native-codegen/buck_tests/emptyFile.mm deleted file mode 100644 index 8dac3f61a54ff9..00000000000000 --- a/packages/react-native-codegen/buck_tests/emptyFile.mm +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import - -// TODO: Import every prop and event to asset they're generated - -int main() -{ - return 0; -} diff --git a/packages/react-native-codegen/buck_tests/java/ArrayPropsNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/ArrayPropsNativeComponentViewManager.java deleted file mode 100644 index 928a8651e57189..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/ArrayPropsNativeComponentViewManager.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.bridge.ReadableArray; -import com.facebook.react.viewmanagers.ArrayPropsNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.ArrayPropsNativeComponentViewManagerInterface; - -public class ArrayPropsNativeComponentViewManager extends SimpleViewManager - implements ArrayPropsNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "ArrayPropsNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - ArrayPropsNativeComponentViewManagerDelegate - delegate = new ArrayPropsNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setNames(ViewGroup view, ReadableArray value) {} - - @Override - public void setDisableds(ViewGroup view, ReadableArray value) {} - - @Override - public void setProgress(ViewGroup view, ReadableArray value) {} - - @Override - public void setRadii(ViewGroup view, ReadableArray value) {} - - @Override - public void setColors(ViewGroup view, ReadableArray value) {} - - @Override - public void setSrcs(ViewGroup view, ReadableArray value) {} - - @Override - public void setPoints(ViewGroup view, ReadableArray value) {} - - @Override - public void setEdgeInsets(ViewGroup view, ReadableArray value) {} - - @Override - public void setDimensions(ViewGroup view, ReadableArray value) {} - - @Override - public void setSizes(ViewGroup view, ReadableArray value) {} - - @Override - public void setObject(ViewGroup view, ReadableArray value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/BooleanPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/BooleanPropNativeComponentViewManager.java deleted file mode 100644 index 102c55a43ea8fc..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/BooleanPropNativeComponentViewManager.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import androidx.annotation.Nullable; -import com.facebook.react.viewmanagers.BooleanPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.BooleanPropNativeComponentViewManagerInterface; - -public class BooleanPropNativeComponentViewManager extends SimpleViewManager - implements BooleanPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "BooleanPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - BooleanPropNativeComponentViewManagerDelegate - delegate = new BooleanPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setDisabled(ViewGroup view, boolean value) {} - - @Override - public void setDisabledNullable(ViewGroup view, @Nullable Boolean value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/ColorPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/ColorPropNativeComponentViewManager.java deleted file mode 100644 index 97fb8e0accd8fa..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/ColorPropNativeComponentViewManager.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.ColorPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.ColorPropNativeComponentViewManagerInterface; - -public class ColorPropNativeComponentViewManager extends SimpleViewManager - implements ColorPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "ColorPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - ColorPropNativeComponentViewManagerDelegate - delegate = new ColorPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setTintColor(ViewGroup view, Integer value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/DimensionPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/DimensionPropNativeComponentViewManager.java deleted file mode 100644 index 5b1e41cbe5cede..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/DimensionPropNativeComponentViewManager.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.DimensionPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.DimensionPropNativeComponentViewManagerInterface; -import com.facebook.yoga.YogaValue; - -public class DimensionPropNativeComponentViewManager extends SimpleViewManager - implements DimensionPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "DimensionPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - DimensionPropNativeComponentViewManagerDelegate< - ViewGroup, DimensionPropNativeComponentViewManager> - delegate = new DimensionPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setMarginBack(ViewGroup view, YogaValue value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/EdgeInsetsPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/EdgeInsetsPropNativeComponentViewManager.java deleted file mode 100644 index a1d14a7025b1c3..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/EdgeInsetsPropNativeComponentViewManager.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.bridge.ReadableMap; -import com.facebook.react.viewmanagers.EdgeInsetsPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.EdgeInsetsPropNativeComponentViewManagerInterface; - -public class EdgeInsetsPropNativeComponentViewManager extends SimpleViewManager - implements EdgeInsetsPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "EdgeInsetsPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - EdgeInsetsPropNativeComponentViewManagerDelegate< - ViewGroup, EdgeInsetsPropNativeComponentViewManager> - delegate = new EdgeInsetsPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setContentInset(ViewGroup view, ReadableMap value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/EnumPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/EnumPropNativeComponentViewManager.java deleted file mode 100644 index a7fd1c09b699c4..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/EnumPropNativeComponentViewManager.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.EnumPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.EnumPropNativeComponentViewManagerInterface; - -public class EnumPropNativeComponentViewManager extends SimpleViewManager - implements EnumPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "EnumPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - EnumPropNativeComponentViewManagerDelegate - delegate = new EnumPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setAlignment(ViewGroup view, String value) {} - - @Override - public void setIntervals(ViewGroup view, Integer value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/EventNestedObjectPropsNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/EventNestedObjectPropsNativeComponentViewManager.java deleted file mode 100644 index def1346b2f228c..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/EventNestedObjectPropsNativeComponentViewManager.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.EventNestedObjectPropsNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.EventNestedObjectPropsNativeComponentViewManagerInterface; - -public class EventNestedObjectPropsNativeComponentViewManager extends SimpleViewManager - implements EventNestedObjectPropsNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "EventNestedObjectPropsNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - EventNestedObjectPropsNativeComponentViewManagerDelegate< - ViewGroup, EventNestedObjectPropsNativeComponentViewManager> - delegate = new EventNestedObjectPropsNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setDisabled(ViewGroup view, boolean value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/EventPropsNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/EventPropsNativeComponentViewManager.java deleted file mode 100644 index 96cd9ad9b5ce64..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/EventPropsNativeComponentViewManager.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.EventPropsNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.EventPropsNativeComponentViewManagerInterface; - -public class EventPropsNativeComponentViewManager extends SimpleViewManager - implements EventPropsNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "EventPropsNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - EventPropsNativeComponentViewManagerDelegate - delegate = new EventPropsNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setDisabled(ViewGroup view, boolean value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/FloatPropsNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/FloatPropsNativeComponentViewManager.java deleted file mode 100644 index b620fba704df3e..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/FloatPropsNativeComponentViewManager.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import androidx.annotation.Nullable; -import com.facebook.react.viewmanagers.FloatPropsNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.FloatPropsNativeComponentViewManagerInterface; - -public class FloatPropsNativeComponentViewManager extends SimpleViewManager - implements FloatPropsNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "FloatPropsNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - FloatPropsNativeComponentViewManagerDelegate - delegate = new FloatPropsNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setBlurRadius(ViewGroup view, float value) {} - - @Override - public void setBlurRadius2(ViewGroup view, float value) {} - - @Override - public void setBlurRadius3(ViewGroup view, float value) {} - - @Override - public void setBlurRadius4(ViewGroup view, float value) {} - - @Override - public void setBlurRadius5(ViewGroup view, float value) {} - - @Override - public void setBlurRadius6(ViewGroup view, float value) {} - - @Override - public void setBlurRadiusNullable(ViewGroup view, @Nullable Float value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/ImagePropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/ImagePropNativeComponentViewManager.java deleted file mode 100644 index ec64469d725add..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/ImagePropNativeComponentViewManager.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.bridge.ReadableMap; -import com.facebook.react.viewmanagers.ImagePropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.ImagePropNativeComponentViewManagerInterface; - -public class ImagePropNativeComponentViewManager extends SimpleViewManager - implements ImagePropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "ImagePropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - ImagePropNativeComponentViewManagerDelegate - delegate = new ImagePropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setThumbImage(ViewGroup view, ReadableMap value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/IntegerPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/IntegerPropNativeComponentViewManager.java deleted file mode 100644 index 7c24b720631284..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/IntegerPropNativeComponentViewManager.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.IntegerPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.IntegerPropNativeComponentViewManagerInterface; - -public class IntegerPropNativeComponentViewManager extends SimpleViewManager - implements IntegerPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "IntegerPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - IntegerPropNativeComponentViewManagerDelegate - delegate = new IntegerPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setProgress1(ViewGroup view, int value) {} - - @Override - public void setProgress2(ViewGroup view, int value) {} - - @Override - public void setProgress3(ViewGroup view, int value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/InterfaceOnlyNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/InterfaceOnlyNativeComponentViewManager.java deleted file mode 100644 index a14f8d1e7fb115..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/InterfaceOnlyNativeComponentViewManager.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.InterfaceOnlyNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.InterfaceOnlyNativeComponentViewManagerInterface; - -public class InterfaceOnlyNativeComponentViewManager extends SimpleViewManager - implements InterfaceOnlyNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "InterfaceOnlyNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - InterfaceOnlyNativeComponentViewManagerDelegate< - ViewGroup, InterfaceOnlyNativeComponentViewManager> - delegate = new InterfaceOnlyNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setTitle(ViewGroup view, String value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/MultiNativePropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/MultiNativePropNativeComponentViewManager.java deleted file mode 100644 index 776213db5a564f..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/MultiNativePropNativeComponentViewManager.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.bridge.ReadableMap; -import com.facebook.react.viewmanagers.MultiNativePropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.MultiNativePropNativeComponentViewManagerInterface; - -public class MultiNativePropNativeComponentViewManager extends SimpleViewManager - implements MultiNativePropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "MultiNativePropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - MultiNativePropNativeComponentViewManagerDelegate< - ViewGroup, MultiNativePropNativeComponentViewManager> - delegate = new MultiNativePropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setThumbImage(ViewGroup view, ReadableMap value) {} - - @Override - public void setColor(ViewGroup view, Integer value) {} - - @Override - public void setThumbTintColor(ViewGroup view, Integer value) {} - - @Override - public void setPoint(ViewGroup view, ReadableMap value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/NoPropsNoEventsNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/NoPropsNoEventsNativeComponentViewManager.java deleted file mode 100644 index 2055db42662687..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/NoPropsNoEventsNativeComponentViewManager.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.NoPropsNoEventsNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.NoPropsNoEventsNativeComponentViewManagerInterface; - -public class NoPropsNoEventsNativeComponentViewManager extends SimpleViewManager - implements NoPropsNoEventsNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "NoPropsNoEventsNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - NoPropsNoEventsNativeComponentViewManagerDelegate< - ViewGroup, NoPropsNoEventsNativeComponentViewManager> - delegate = new NoPropsNoEventsNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } -} diff --git a/packages/react-native-codegen/buck_tests/java/ObjectPropsNativeComponentManager.java b/packages/react-native-codegen/buck_tests/java/ObjectPropsNativeComponentManager.java deleted file mode 100644 index 592f9050560acb..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/ObjectPropsNativeComponentManager.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.bridge.ReadableMap; -import com.facebook.react.viewmanagers.ObjectPropsNativeComponentManagerDelegate; -import com.facebook.react.viewmanagers.ObjectPropsNativeComponentManagerInterface; - -public class ObjectPropsNativeComponentManager extends SimpleViewManager - implements ObjectPropsNativeComponentManagerInterface { - - public static final String REACT_CLASS = "ObjectPropsNativeComponent"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - ObjectPropsNativeComponentManagerDelegate - delegate = new ObjectPropsNativeComponentManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setObjectProp(ViewGroup view, ReadableMap value) {} - - @Override - public void setObjectArrayProp(ViewGroup view, ReadableMap value) {} - - @Override - public void setObjectPrimitiveRequiredProp(ViewGroup view, ReadableMap value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/PointPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/PointPropNativeComponentViewManager.java deleted file mode 100644 index 63383fe8d4ece3..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/PointPropNativeComponentViewManager.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.bridge.ReadableMap; -import com.facebook.react.viewmanagers.PointPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.PointPropNativeComponentViewManagerInterface; - -public class PointPropNativeComponentViewManager extends SimpleViewManager - implements PointPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "PointPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - PointPropNativeComponentViewManagerDelegate - delegate = new PointPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setStartPoint(ViewGroup view, ReadableMap value) {} -} diff --git a/packages/react-native-codegen/buck_tests/java/StringPropNativeComponentViewManager.java b/packages/react-native-codegen/buck_tests/java/StringPropNativeComponentViewManager.java deleted file mode 100644 index 15e10043d54a17..00000000000000 --- a/packages/react-native-codegen/buck_tests/java/StringPropNativeComponentViewManager.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react.uimanager; - -import android.view.ViewGroup; -import com.facebook.react.viewmanagers.StringPropNativeComponentViewManagerDelegate; -import com.facebook.react.viewmanagers.StringPropNativeComponentViewManagerInterface; - -public class StringPropNativeComponentViewManager extends SimpleViewManager - implements StringPropNativeComponentViewManagerInterface { - - public static final String REACT_CLASS = "StringPropNativeComponentView"; - - @Override - public String getName() { - return REACT_CLASS; - } - - private void test() { - StringPropNativeComponentViewManagerDelegate - delegate = new StringPropNativeComponentViewManagerDelegate<>(this); - } - - @Override - public ViewGroup createViewInstance(ThemedReactContext context) { - throw new IllegalStateException(); - } - - @Override - public void setPlaceholder(ViewGroup view, String value) {} - - @Override - public void setDefaultValue(ViewGroup view, String value) {} -}