MCPcopy Create free account
hub / github.com/GNOME/gjs / testUnixIntegerTypedefMarshalling

Function testUnixIntegerTypedefMarshalling

installed-tests/js/testGIMarshalling.js:331–342  ·  view source on GitHub ↗
(type, inValue, skipAny = {})

Source from the content-addressed store, hash-verified

329});
330
331function testUnixIntegerTypedefMarshalling(type, inValue, skipAny = {}) {
332 describe(type, function () {
333 const skip = GIMarshallingTests[`${type}_in`] ? false : 'Only supported on Unix';
334 testSimpleMarshalling(type, inValue, 0, 0, {
335 returnv: {skip: skip || skipAny.skipReturn},
336 in: {skip: skip || skipAny.skipIn},
337 out: {skip: skip || skipAny.skipOut},
338 uninitOut: {skip: skip || skipAny.skipUninitOut},
339 inout: {skip: skip || skipAny.skipInOut},
340 });
341 });
342}
343
344// https://gitlab.gnome.org/GNOME/gjs/-/issues/673
345testUnixIntegerTypedefMarshalling('dev_t', 1234567890, {skipInOut: true});

Callers 1

Calls 1

testSimpleMarshallingFunction · 0.85

Tested by

no test coverage detected