Skip to content

Commit e7e6827

Browse files
coadofacebook-github-bot
authored andcommitted
Remove fantom test specific methods from the C++ API snapshot
Summary: Removes fantom test specific methods, namely: - NativeFantomTestSpecificMethods, - FantomForcedCloneCommitHook from the C++ API snapshot. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D97466201
1 parent 7e6cef5 commit e7e6827

File tree

7 files changed

+1
-78
lines changed

7 files changed

+1
-78
lines changed

scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3754,13 +3754,6 @@ class facebook::react::NativeExceptionsManagerSpecJSI : public facebook::react::
37543754
public NativeExceptionsManagerSpecJSI(const facebook::react::JavaTurboModule::InitParams& params);
37553755
}
37563756

3757-
class facebook::react::NativeFantomTestSpecificMethods : public facebook::react::NativeFantomTestSpecificMethodsCxxSpec<facebook::react::NativeFantomTestSpecificMethods> {
3758-
public NativeFantomTestSpecificMethods(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
3759-
public void registerForcedCloneCommitHook(facebook::jsi::Runtime& runtime);
3760-
public void setRootNodeSize(facebook::jsi::Runtime& runtime, int surfaceId, float width, float height);
3761-
public void takeFunctionAndNoop(facebook::jsi::Runtime& runtime, facebook::jsi::Function callback);
3762-
}
3763-
37643757
class facebook::react::NativeFileReaderModuleSpecJSI : public facebook::react::JavaTurboModule {
37653758
public NativeFileReaderModuleSpecJSI(const facebook::react::JavaTurboModule::InitParams& params);
37663759
}
@@ -7997,12 +7990,6 @@ struct facebook::react::EventPayload {
79977990
public virtual ~EventPayload() = default;
79987991
}
79997992

8000-
struct facebook::react::FantomForcedCloneCommitHook : public facebook::react::UIManagerCommitHook {
8001-
public facebook::react::RootShadowNode::Unshared shadowTreeWillCommit(const facebook::react::ShadowTree& shadowTree, const std::shared_ptr<const facebook::react::RootShadowNode>& oldRootShadowNode, const facebook::react::RootShadowNode::Unshared& newRootShadowNode) noexcept override;
8002-
public virtual void commitHookWasRegistered(const facebook::react::UIManager&) noexcept override;
8003-
public virtual void commitHookWasUnregistered(const facebook::react::UIManager&) noexcept override;
8004-
}
8005-
80067993
struct facebook::react::FilterFunction {
80077994
public bool operator==(const facebook::react::FilterFunction& other) const = default;
80087995
public facebook::react::FilterType type;

scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3751,13 +3751,6 @@ class facebook::react::NativeExceptionsManagerSpecJSI : public facebook::react::
37513751
public NativeExceptionsManagerSpecJSI(const facebook::react::JavaTurboModule::InitParams& params);
37523752
}
37533753

3754-
class facebook::react::NativeFantomTestSpecificMethods : public facebook::react::NativeFantomTestSpecificMethodsCxxSpec<facebook::react::NativeFantomTestSpecificMethods> {
3755-
public NativeFantomTestSpecificMethods(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
3756-
public void registerForcedCloneCommitHook(facebook::jsi::Runtime& runtime);
3757-
public void setRootNodeSize(facebook::jsi::Runtime& runtime, int surfaceId, float width, float height);
3758-
public void takeFunctionAndNoop(facebook::jsi::Runtime& runtime, facebook::jsi::Function callback);
3759-
}
3760-
37613754
class facebook::react::NativeFileReaderModuleSpecJSI : public facebook::react::JavaTurboModule {
37623755
public NativeFileReaderModuleSpecJSI(const facebook::react::JavaTurboModule::InitParams& params);
37633756
}
@@ -7988,12 +7981,6 @@ struct facebook::react::EventPayload {
79887981
public virtual ~EventPayload() = default;
79897982
}
79907983

7991-
struct facebook::react::FantomForcedCloneCommitHook : public facebook::react::UIManagerCommitHook {
7992-
public facebook::react::RootShadowNode::Unshared shadowTreeWillCommit(const facebook::react::ShadowTree& shadowTree, const std::shared_ptr<const facebook::react::RootShadowNode>& oldRootShadowNode, const facebook::react::RootShadowNode::Unshared& newRootShadowNode) noexcept override;
7993-
public virtual void commitHookWasRegistered(const facebook::react::UIManager&) noexcept override;
7994-
public virtual void commitHookWasUnregistered(const facebook::react::UIManager&) noexcept override;
7995-
}
7996-
79977984
struct facebook::react::FilterFunction {
79987985
public bool operator==(const facebook::react::FilterFunction& other) const = default;
79997986
public facebook::react::FilterType type;

scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6416,13 +6416,6 @@ class facebook::react::NativeExceptionsManagerSpecJSI : public facebook::react::
64166416
public NativeExceptionsManagerSpecJSI(const facebook::react::ObjCTurboModule::InitParams& params);
64176417
}
64186418

6419-
class facebook::react::NativeFantomTestSpecificMethods : public facebook::react::NativeFantomTestSpecificMethodsCxxSpec<facebook::react::NativeFantomTestSpecificMethods> {
6420-
public NativeFantomTestSpecificMethods(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
6421-
public void registerForcedCloneCommitHook(facebook::jsi::Runtime& runtime);
6422-
public void setRootNodeSize(facebook::jsi::Runtime& runtime, int surfaceId, float width, float height);
6423-
public void takeFunctionAndNoop(facebook::jsi::Runtime& runtime, facebook::jsi::Function callback);
6424-
}
6425-
64266419
class facebook::react::NativeFileReaderModuleSpecJSI : public facebook::react::ObjCTurboModule {
64276420
public NativeFileReaderModuleSpecJSI(const facebook::react::ObjCTurboModule::InitParams& params);
64286421
}
@@ -10661,12 +10654,6 @@ struct facebook::react::EventPayload {
1066110654
public virtual ~EventPayload() = default;
1066210655
}
1066310656

10664-
struct facebook::react::FantomForcedCloneCommitHook : public facebook::react::UIManagerCommitHook {
10665-
public facebook::react::RootShadowNode::Unshared shadowTreeWillCommit(const facebook::react::ShadowTree& shadowTree, const std::shared_ptr<const facebook::react::RootShadowNode>& oldRootShadowNode, const facebook::react::RootShadowNode::Unshared& newRootShadowNode) noexcept override;
10666-
public virtual void commitHookWasRegistered(const facebook::react::UIManager&) noexcept override;
10667-
public virtual void commitHookWasUnregistered(const facebook::react::UIManager&) noexcept override;
10668-
}
10669-
1067010657
struct facebook::react::FilterFunction {
1067110658
public bool operator==(const facebook::react::FilterFunction& other) const = default;
1067210659
public facebook::react::FilterType type;

scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6413,13 +6413,6 @@ class facebook::react::NativeExceptionsManagerSpecJSI : public facebook::react::
64136413
public NativeExceptionsManagerSpecJSI(const facebook::react::ObjCTurboModule::InitParams& params);
64146414
}
64156415

6416-
class facebook::react::NativeFantomTestSpecificMethods : public facebook::react::NativeFantomTestSpecificMethodsCxxSpec<facebook::react::NativeFantomTestSpecificMethods> {
6417-
public NativeFantomTestSpecificMethods(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
6418-
public void registerForcedCloneCommitHook(facebook::jsi::Runtime& runtime);
6419-
public void setRootNodeSize(facebook::jsi::Runtime& runtime, int surfaceId, float width, float height);
6420-
public void takeFunctionAndNoop(facebook::jsi::Runtime& runtime, facebook::jsi::Function callback);
6421-
}
6422-
64236416
class facebook::react::NativeFileReaderModuleSpecJSI : public facebook::react::ObjCTurboModule {
64246417
public NativeFileReaderModuleSpecJSI(const facebook::react::ObjCTurboModule::InitParams& params);
64256418
}
@@ -10652,12 +10645,6 @@ struct facebook::react::EventPayload {
1065210645
public virtual ~EventPayload() = default;
1065310646
}
1065410647

10655-
struct facebook::react::FantomForcedCloneCommitHook : public facebook::react::UIManagerCommitHook {
10656-
public facebook::react::RootShadowNode::Unshared shadowTreeWillCommit(const facebook::react::ShadowTree& shadowTree, const std::shared_ptr<const facebook::react::RootShadowNode>& oldRootShadowNode, const facebook::react::RootShadowNode::Unshared& newRootShadowNode) noexcept override;
10657-
public virtual void commitHookWasRegistered(const facebook::react::UIManager&) noexcept override;
10658-
public virtual void commitHookWasUnregistered(const facebook::react::UIManager&) noexcept override;
10659-
}
10660-
1066110648
struct facebook::react::FilterFunction {
1066210649
public bool operator==(const facebook::react::FilterFunction& other) const = default;
1066310650
public facebook::react::FilterType type;

scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,13 +2403,6 @@ class facebook::react::NativeDOM : public NativeDOMCxxSpec<facebook::react::Nati
24032403
public void setPointerCapture(facebook::jsi::Runtime& rt, std::shared_ptr<const facebook::react::ShadowNode> shadowNode, double pointerId);
24042404
}
24052405

2406-
class facebook::react::NativeFantomTestSpecificMethods : public NativeFantomTestSpecificMethodsCxxSpec<facebook::react::NativeFantomTestSpecificMethods> {
2407-
public NativeFantomTestSpecificMethods(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
2408-
public void registerForcedCloneCommitHook(facebook::jsi::Runtime& runtime);
2409-
public void setRootNodeSize(facebook::jsi::Runtime& runtime, int surfaceId, float width, float height);
2410-
public void takeFunctionAndNoop(facebook::jsi::Runtime& runtime, facebook::jsi::Function callback);
2411-
}
2412-
24132406
class facebook::react::NativeIdleCallbacks : public NativeIdleCallbacksCxxSpec<facebook::react::NativeIdleCallbacks> {
24142407
public NativeIdleCallbacks(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
24152408
public facebook::react::CallbackHandle requestIdleCallback(facebook::jsi::Runtime& runtime, facebook::react::SyncCallback<void(facebook::jsi::Object)>&& callback, std::optional<facebook::react::NativeRequestIdleCallbackOptions> options);
@@ -6128,12 +6121,6 @@ struct facebook::react::EventPayload {
61286121
public virtual ~EventPayload() = default;
61296122
}
61306123

6131-
struct facebook::react::FantomForcedCloneCommitHook : public facebook::react::UIManagerCommitHook {
6132-
public facebook::react::RootShadowNode::Unshared shadowTreeWillCommit(const facebook::react::ShadowTree& shadowTree, const std::shared_ptr<const facebook::react::RootShadowNode>& oldRootShadowNode, const facebook::react::RootShadowNode::Unshared& newRootShadowNode) noexcept override;
6133-
public virtual void commitHookWasRegistered(const facebook::react::UIManager&) noexcept override;
6134-
public virtual void commitHookWasUnregistered(const facebook::react::UIManager&) noexcept override;
6135-
}
6136-
61376124
struct facebook::react::FilterFunction {
61386125
public bool operator==(const facebook::react::FilterFunction& other) const = default;
61396126
public facebook::react::FilterType type;

scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2400,13 +2400,6 @@ class facebook::react::NativeDOM : public NativeDOMCxxSpec<facebook::react::Nati
24002400
public void setPointerCapture(facebook::jsi::Runtime& rt, std::shared_ptr<const facebook::react::ShadowNode> shadowNode, double pointerId);
24012401
}
24022402

2403-
class facebook::react::NativeFantomTestSpecificMethods : public NativeFantomTestSpecificMethodsCxxSpec<facebook::react::NativeFantomTestSpecificMethods> {
2404-
public NativeFantomTestSpecificMethods(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
2405-
public void registerForcedCloneCommitHook(facebook::jsi::Runtime& runtime);
2406-
public void setRootNodeSize(facebook::jsi::Runtime& runtime, int surfaceId, float width, float height);
2407-
public void takeFunctionAndNoop(facebook::jsi::Runtime& runtime, facebook::jsi::Function callback);
2408-
}
2409-
24102403
class facebook::react::NativeIdleCallbacks : public NativeIdleCallbacksCxxSpec<facebook::react::NativeIdleCallbacks> {
24112404
public NativeIdleCallbacks(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
24122405
public facebook::react::CallbackHandle requestIdleCallback(facebook::jsi::Runtime& runtime, facebook::react::SyncCallback<void(facebook::jsi::Object)>&& callback, std::optional<facebook::react::NativeRequestIdleCallbackOptions> options);
@@ -6119,12 +6112,6 @@ struct facebook::react::EventPayload {
61196112
public virtual ~EventPayload() = default;
61206113
}
61216114

6122-
struct facebook::react::FantomForcedCloneCommitHook : public facebook::react::UIManagerCommitHook {
6123-
public facebook::react::RootShadowNode::Unshared shadowTreeWillCommit(const facebook::react::ShadowTree& shadowTree, const std::shared_ptr<const facebook::react::RootShadowNode>& oldRootShadowNode, const facebook::react::RootShadowNode::Unshared& newRootShadowNode) noexcept override;
6124-
public virtual void commitHookWasRegistered(const facebook::react::UIManager&) noexcept override;
6125-
public virtual void commitHookWasUnregistered(const facebook::react::UIManager&) noexcept override;
6126-
}
6127-
61286115
struct facebook::react::FilterFunction {
61296116
public bool operator==(const facebook::react::FilterFunction& other) const = default;
61306117
public facebook::react::FilterType type;

scripts/cxx-api/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
exclude_patterns:
2+
- "*/ReactCommon/react/nativemodule/fantomtestspecificmethods/*"
23
- "*/test_utils/*"
34
- "*/test/*"
45

0 commit comments

Comments
 (0)