blob: e548cc0c18fec3782c03e26de41879a7e687aa9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using System;
using System.IO;
using NUnit.Framework;
using Mono.Addins;
using SimpleApp;
namespace UnitTests
{
[TestFixture]
public class TestSetup
{
[Test]
public void TestInitialize ()
{
string dir = Path.Combine (TestBase.TempDir, "setup-test");
AddinManager.Initialize (dir);
AddinManager.Registry.ResetConfiguration ();
AddinManager.Registry.Update (new ConsoleProgressStatus (true));
}
[Test]
public void TestShutdown ()
{
AddinManager.Shutdown ();
}
}
}
|