PowerToys/Wox.Test/Plugins/PluginInitTest.cs
bao-qian 705354a3d6 Better logger
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
2015-11-07 17:32:58 +00:00

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