mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove test code from the cxx-api snapshot (#56173)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56173 Removes leaked test code from the snapshot. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D97457090 fbshipit-source-id: ac6aedfa9f4fda8c7f7371fc29a91ce813916777
This commit is contained in:
1 parent
0979d50262
commit
3a80179319
7 files changed
+3
-72
No files matched your search
@@ -12738,10 +12738,8 @@ std::unique_ptr<facebook::jsi::Runtime> facebook::jsc::makeJSCRuntime();
|
||||
|
||||
|
||||
using facebook::jsi::HostFunctionType = std::function<facebook::jsi::Value(facebook::jsi::Runtime& rt, const facebook::jsi::Value& thisVal, const facebook::jsi::Value* args, size_t count)>;
|
||||
using facebook::jsi::RuntimeFactory = std::function<std::shared_ptr<facebook::jsi::Runtime>()>;
|
||||
facebook::jsi::Value facebook::jsi::valueFromDynamic(facebook::jsi::Runtime& runtime, const folly::dynamic& dyn);
|
||||
folly::dynamic facebook::jsi::dynamicFromValue(facebook::jsi::Runtime& runtime, const facebook::jsi::Value& value, const std::function<bool(const std::string&)>& filterObjectKeys = nullptr);
|
||||
std::vector<facebook::jsi::RuntimeFactory> facebook::jsi::runtimeGenerators();
|
||||
template <typename U, typename T>
|
||||
U* facebook::jsi::castInterface(T* ptr);
|
||||
template <typename U, typename T>
|
||||
@@ -12892,16 +12890,6 @@ class facebook::jsi::JSINativeException : public facebook::jsi::JSIException {
|
||||
public virtual ~JSINativeException();
|
||||
}
|
||||
|
||||
class facebook::jsi::JSITestBase : public testing::TestWithParam<facebook::jsi::RuntimeFactory> {
|
||||
public JSITestBase();
|
||||
public bool checkValue(const facebook::jsi::Value& value, const std::string& jsValue);
|
||||
public facebook::jsi::Function function(const std::string& code);
|
||||
public facebook::jsi::Runtime& rt;
|
||||
public facebook::jsi::RuntimeFactory factory;
|
||||
public facebook::jsi::Value eval(const char* code);
|
||||
public std::shared_ptr<facebook::jsi::Runtime> runtime;
|
||||
}
|
||||
|
||||
class facebook::jsi::MutableBuffer {
|
||||
public virtual size_t size() const = 0;
|
||||
public virtual uint8_t* data() = 0;
|
||||
|
||||
@@ -12565,10 +12565,8 @@ std::unique_ptr<facebook::jsi::Runtime> facebook::jsc::makeJSCRuntime();
|
||||
|
||||
|
||||
using facebook::jsi::HostFunctionType = std::function<facebook::jsi::Value(facebook::jsi::Runtime& rt, const facebook::jsi::Value& thisVal, const facebook::jsi::Value* args, size_t count)>;
|
||||
using facebook::jsi::RuntimeFactory = std::function<std::shared_ptr<facebook::jsi::Runtime>()>;
|
||||
facebook::jsi::Value facebook::jsi::valueFromDynamic(facebook::jsi::Runtime& runtime, const folly::dynamic& dyn);
|
||||
folly::dynamic facebook::jsi::dynamicFromValue(facebook::jsi::Runtime& runtime, const facebook::jsi::Value& value, const std::function<bool(const std::string&)>& filterObjectKeys = nullptr);
|
||||
std::vector<facebook::jsi::RuntimeFactory> facebook::jsi::runtimeGenerators();
|
||||
template <typename U, typename T>
|
||||
U* facebook::jsi::castInterface(T* ptr);
|
||||
template <typename U, typename T>
|
||||
@@ -12719,16 +12717,6 @@ class facebook::jsi::JSINativeException : public facebook::jsi::JSIException {
|
||||
public virtual ~JSINativeException();
|
||||
}
|
||||
|
||||
class facebook::jsi::JSITestBase : public testing::TestWithParam<facebook::jsi::RuntimeFactory> {
|
||||
public JSITestBase();
|
||||
public bool checkValue(const facebook::jsi::Value& value, const std::string& jsValue);
|
||||
public facebook::jsi::Function function(const std::string& code);
|
||||
public facebook::jsi::Runtime& rt;
|
||||
public facebook::jsi::RuntimeFactory factory;
|
||||
public facebook::jsi::Value eval(const char* code);
|
||||
public std::shared_ptr<facebook::jsi::Runtime> runtime;
|
||||
}
|
||||
|
||||
class facebook::jsi::MutableBuffer {
|
||||
public virtual size_t size() const = 0;
|
||||
public virtual uint8_t* data() = 0;
|
||||
|
||||
@@ -15126,10 +15126,8 @@ std::unique_ptr<facebook::jsi::Runtime> facebook::jsc::makeJSCRuntime();
|
||||
|
||||
|
||||
using facebook::jsi::HostFunctionType = std::function<facebook::jsi::Value(facebook::jsi::Runtime& rt, const facebook::jsi::Value& thisVal, const facebook::jsi::Value* args, size_t count)>;
|
||||
using facebook::jsi::RuntimeFactory = std::function<std::shared_ptr<facebook::jsi::Runtime>()>;
|
||||
facebook::jsi::Value facebook::jsi::valueFromDynamic(facebook::jsi::Runtime& runtime, const folly::dynamic& dyn);
|
||||
folly::dynamic facebook::jsi::dynamicFromValue(facebook::jsi::Runtime& runtime, const facebook::jsi::Value& value, const std::function<bool(const std::string&)>& filterObjectKeys = nullptr);
|
||||
std::vector<facebook::jsi::RuntimeFactory> facebook::jsi::runtimeGenerators();
|
||||
template <typename U, typename T>
|
||||
U* facebook::jsi::castInterface(T* ptr);
|
||||
template <typename U, typename T>
|
||||
@@ -15280,16 +15278,6 @@ class facebook::jsi::JSINativeException : public facebook::jsi::JSIException {
|
||||
public virtual ~JSINativeException();
|
||||
}
|
||||
|
||||
class facebook::jsi::JSITestBase : public testing::TestWithParam<facebook::jsi::RuntimeFactory> {
|
||||
public JSITestBase();
|
||||
public bool checkValue(const facebook::jsi::Value& value, const std::string& jsValue);
|
||||
public facebook::jsi::Function function(const std::string& code);
|
||||
public facebook::jsi::Runtime& rt;
|
||||
public facebook::jsi::RuntimeFactory factory;
|
||||
public facebook::jsi::Value eval(const char* code);
|
||||
public std::shared_ptr<facebook::jsi::Runtime> runtime;
|
||||
}
|
||||
|
||||
class facebook::jsi::MutableBuffer {
|
||||
public virtual size_t size() const = 0;
|
||||
public virtual uint8_t* data() = 0;
|
||||
|
||||
@@ -14953,10 +14953,8 @@ std::unique_ptr<facebook::jsi::Runtime> facebook::jsc::makeJSCRuntime();
|
||||
|
||||
|
||||
using facebook::jsi::HostFunctionType = std::function<facebook::jsi::Value(facebook::jsi::Runtime& rt, const facebook::jsi::Value& thisVal, const facebook::jsi::Value* args, size_t count)>;
|
||||
using facebook::jsi::RuntimeFactory = std::function<std::shared_ptr<facebook::jsi::Runtime>()>;
|
||||
facebook::jsi::Value facebook::jsi::valueFromDynamic(facebook::jsi::Runtime& runtime, const folly::dynamic& dyn);
|
||||
folly::dynamic facebook::jsi::dynamicFromValue(facebook::jsi::Runtime& runtime, const facebook::jsi::Value& value, const std::function<bool(const std::string&)>& filterObjectKeys = nullptr);
|
||||
std::vector<facebook::jsi::RuntimeFactory> facebook::jsi::runtimeGenerators();
|
||||
template <typename U, typename T>
|
||||
U* facebook::jsi::castInterface(T* ptr);
|
||||
template <typename U, typename T>
|
||||
@@ -15107,16 +15105,6 @@ class facebook::jsi::JSINativeException : public facebook::jsi::JSIException {
|
||||
public virtual ~JSINativeException();
|
||||
}
|
||||
|
||||
class facebook::jsi::JSITestBase : public testing::TestWithParam<facebook::jsi::RuntimeFactory> {
|
||||
public JSITestBase();
|
||||
public bool checkValue(const facebook::jsi::Value& value, const std::string& jsValue);
|
||||
public facebook::jsi::Function function(const std::string& code);
|
||||
public facebook::jsi::Runtime& rt;
|
||||
public facebook::jsi::RuntimeFactory factory;
|
||||
public facebook::jsi::Value eval(const char* code);
|
||||
public std::shared_ptr<facebook::jsi::Runtime> runtime;
|
||||
}
|
||||
|
||||
class facebook::jsi::MutableBuffer {
|
||||
public virtual size_t size() const = 0;
|
||||
public virtual uint8_t* data() = 0;
|
||||
|
||||
@@ -9416,10 +9416,8 @@ std::unique_ptr<facebook::jsi::Runtime> facebook::jsc::makeJSCRuntime();
|
||||
|
||||
|
||||
using facebook::jsi::HostFunctionType = std::function<facebook::jsi::Value(facebook::jsi::Runtime& rt, const facebook::jsi::Value& thisVal, const facebook::jsi::Value* args, size_t count)>;
|
||||
using facebook::jsi::RuntimeFactory = std::function<std::shared_ptr<facebook::jsi::Runtime>()>;
|
||||
facebook::jsi::Value facebook::jsi::valueFromDynamic(facebook::jsi::Runtime& runtime, const folly::dynamic& dyn);
|
||||
folly::dynamic facebook::jsi::dynamicFromValue(facebook::jsi::Runtime& runtime, const facebook::jsi::Value& value, const std::function<bool(const std::string&)>& filterObjectKeys = nullptr);
|
||||
std::vector<facebook::jsi::RuntimeFactory> facebook::jsi::runtimeGenerators();
|
||||
template <typename U, typename T>
|
||||
U* facebook::jsi::castInterface(T* ptr);
|
||||
template <typename U, typename T>
|
||||
@@ -9570,16 +9568,6 @@ class facebook::jsi::JSINativeException : public facebook::jsi::JSIException {
|
||||
public virtual ~JSINativeException();
|
||||
}
|
||||
|
||||
class facebook::jsi::JSITestBase : public testing::TestWithParam<facebook::jsi::RuntimeFactory> {
|
||||
public JSITestBase();
|
||||
public bool checkValue(const facebook::jsi::Value& value, const std::string& jsValue);
|
||||
public facebook::jsi::Function function(const std::string& code);
|
||||
public facebook::jsi::Runtime& rt;
|
||||
public facebook::jsi::RuntimeFactory factory;
|
||||
public facebook::jsi::Value eval(const char* code);
|
||||
public std::shared_ptr<facebook::jsi::Runtime> runtime;
|
||||
}
|
||||
|
||||
class facebook::jsi::MutableBuffer {
|
||||
public virtual size_t size() const = 0;
|
||||
public virtual uint8_t* data() = 0;
|
||||
|
||||
@@ -9407,10 +9407,8 @@ std::unique_ptr<facebook::jsi::Runtime> facebook::jsc::makeJSCRuntime();
|
||||
|
||||
|
||||
using facebook::jsi::HostFunctionType = std::function<facebook::jsi::Value(facebook::jsi::Runtime& rt, const facebook::jsi::Value& thisVal, const facebook::jsi::Value* args, size_t count)>;
|
||||
using facebook::jsi::RuntimeFactory = std::function<std::shared_ptr<facebook::jsi::Runtime>()>;
|
||||
facebook::jsi::Value facebook::jsi::valueFromDynamic(facebook::jsi::Runtime& runtime, const folly::dynamic& dyn);
|
||||
folly::dynamic facebook::jsi::dynamicFromValue(facebook::jsi::Runtime& runtime, const facebook::jsi::Value& value, const std::function<bool(const std::string&)>& filterObjectKeys = nullptr);
|
||||
std::vector<facebook::jsi::RuntimeFactory> facebook::jsi::runtimeGenerators();
|
||||
template <typename U, typename T>
|
||||
U* facebook::jsi::castInterface(T* ptr);
|
||||
template <typename U, typename T>
|
||||
@@ -9561,16 +9559,6 @@ class facebook::jsi::JSINativeException : public facebook::jsi::JSIException {
|
||||
public virtual ~JSINativeException();
|
||||
}
|
||||
|
||||
class facebook::jsi::JSITestBase : public testing::TestWithParam<facebook::jsi::RuntimeFactory> {
|
||||
public JSITestBase();
|
||||
public bool checkValue(const facebook::jsi::Value& value, const std::string& jsValue);
|
||||
public facebook::jsi::Function function(const std::string& code);
|
||||
public facebook::jsi::Runtime& rt;
|
||||
public facebook::jsi::RuntimeFactory factory;
|
||||
public facebook::jsi::Value eval(const char* code);
|
||||
public std::shared_ptr<facebook::jsi::Runtime> runtime;
|
||||
}
|
||||
|
||||
class facebook::jsi::MutableBuffer {
|
||||
public virtual size_t size() const = 0;
|
||||
public virtual uint8_t* data() = 0;
|
||||
|
||||
@@ -4,6 +4,7 @@ ReactCommon:
|
||||
- packages/react-native/ReactCommon
|
||||
exclude_patterns:
|
||||
- "*/test_utils/*"
|
||||
- "*/test/*"
|
||||
- "*/jni/*"
|
||||
- "*/platform/cxx/*" # Should this be included in ReactCommon?
|
||||
- "*/platform/windows/*"
|
||||
@@ -30,6 +31,7 @@ ReactAndroid:
|
||||
- packages/react-native/ReactAndroid
|
||||
exclude_patterns:
|
||||
- "*/test_utils/*"
|
||||
- "*/test/*"
|
||||
- "*/platform/cxx/*"
|
||||
- "*/platform/windows/*"
|
||||
- "*/platform/macos/*"
|
||||
@@ -59,6 +61,7 @@ ReactApple:
|
||||
- packages/react-native/Libraries
|
||||
exclude_patterns:
|
||||
- "*/test_utils/*"
|
||||
- "*/test/*"
|
||||
- "*/jni/*"
|
||||
- "*/platform/cxx/*"
|
||||
- "*/platform/windows/*"
|
||||
|
||||
Reference in new issue
Block a user