mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-05 11:38:51 +00:00
14 lines
388 B
JavaScript
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();
|