MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TestObject

Method TestObject

valdi/test/runtime/ValueMarshallerRegistry_tests.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33class TestObject : public ValdiObject, public ValueConvertible {
34public:
35 TestObject(const StringBox& className, const Value* propertyValues, size_t propertiesSize) : _className(className) {
36 _properties = ValueArray::make(propertyValues, propertyValues + propertiesSize);
37 }
38
39 TestObject(const StringBox& className, std::initializer_list<Value> propertyValues)
40 : TestObject(className, propertyValues.begin(), propertyValues.size()) {}

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected