| | |
| | | var plugin = Assert.Single(plugins); |
| | | Assert.Equal(new PluginId("sample.clock"), plugin.Id); |
| | | Assert.Equal(PluginState.Enabled, plugin.State); |
| | | Assert.Equal(Moli.Desktop.Layout.DisplayLayer.Normal, plugin.Manifest.DefaultLayout.DisplayLayer); |
| | | |
| | | var registry = await CreateConfiguration(paths).LoadPluginRegistryAsync(); |
| | | Assert.Contains(registry.Plugins, item => item.Id == new PluginId("sample.clock") && item.State == PluginState.Enabled); |
| | |
| | | "height": 160, |
| | | "locked": false, |
| | | "clickThrough": false, |
| | | "opacity": 1.0 |
| | | "opacity": 1.0, |
| | | "displayLayer": "normal" |
| | | } |
| | | } |
| | | """); |