mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
705354a3d6
1. Throw exception for fatal/error log when debugging 2. Write to debug output for warn/debug/info log when debugging 3. part of #355
18 lines
333 B
C#
18 lines
333 B
C#
using NUnit.Framework;
|
|
using Wox.Core.Exception;
|
|
using Wox.Core.Plugin;
|
|
|
|
namespace Wox.Test.Plugins
|
|
{
|
|
|
|
[TestFixture]
|
|
public class PluginInitTest
|
|
{
|
|
[Test]
|
|
public void PublicAPIIsNullTest()
|
|
{
|
|
Assert.Throws(typeof(WoxFatalException), () => PluginManager.Init(null));
|
|
}
|
|
}
|
|
}
|