mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-01-14 22:18:43 +00:00
30 lines
620 B
C#
30 lines
620 B
C#
using LibMpc;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using System;
|
|
|
|
namespace LibMpcTest
|
|
{
|
|
[TestClass]
|
|
public partial class LibMpcTest
|
|
{
|
|
private static MpdMock _mpdMock;
|
|
|
|
[ClassInitialize]
|
|
public static void Init(TestContext context)
|
|
{
|
|
_mpdMock = new MpdMock();
|
|
_mpdMock.Start();
|
|
|
|
Mpc = new MpcMock().Client;
|
|
}
|
|
|
|
[ClassCleanup]
|
|
public static void Cleanup()
|
|
{
|
|
_mpdMock.Dispose();
|
|
}
|
|
|
|
internal static Mpc Mpc { get; private set; }
|
|
}
|
|
}
|