public void TestNoDependencies() { PluginManager pm = Init(CreateManifest2("TestPlugin1", "TestPlugin2")); Assert.IsFalse(pm.HasError); VerifyPluginOrder(pm.GetOrderedPlugins(), new Type[] { typeof(TestPlugin1), typeof(TestPlugin2) }); }
public void TestDependency() { PluginManager pm = Init(CreateManifest2("TestPluginDep", "TestPlugin1")); Assert.IsFalse(pm.HasError); //Manifestでの順番と逆転していることを確認 VerifyPluginOrder(pm.GetOrderedPlugins(), new Type[] { typeof(TestPlugin1), typeof(TestPluginDep) }); }