libsecret/library/tests/test-javascript.js

14 lines
388 B
JavaScript
Raw Normal View History

const Mock = imports.gi.MockService;
const Secret = imports.gi.Secret;
Mock.start("mock-service-normal.py");
var schema = new Secret.Schema.new("org.test",
Secret.SchemaFlags.NONE,
{ "blah": Secret.SchemaAttributeType.STRING });
log(schema.identifier);
log(schema.flags);
/* log(schema.attributes); */
Mock.stop();