| 12 | using namespace Nan; // NOLINT(build/namespaces) |
| 13 | |
| 14 | NAN_METHOD(TestWithData) { |
| 15 | info.GetReturnValue().Set(false); |
| 16 | { |
| 17 | std::string datavalue = *Nan::Utf8String(info.Data()); |
| 18 | if (datavalue != "test-value")return; |
| 19 | } |
| 20 | info.GetReturnValue().Set(true); |
| 21 | } |
| 22 | |
| 23 | class SetterGetter : public ObjectWrap { |
| 24 | public: |
nothing calls this directly
no test coverage detected