libsecret/library/tests/test-javascript.js
Stef Walter 2bc2140d43 Complete javascript testing of password functionality
* And fix bugs, nullable collection_path
2012-03-11 13:35:43 +01:00

14 lines
388 B
JavaScript

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();