Exemple #1
0
        public void TestLastErrorNoProblem()
        {
            Out123 handle = new Out123();
            string result = handle.LastErrorString();

            Assert.AreEqual("no problem", result);
        }
Exemple #2
0
        public void TestOpenWithDefaultOK()
        {
            //Console.WriteLine(System.IO.Path.GetFullPath("."));
            //Tryed to absolute point at plugin folder to understand if the error was due to releative path issue.
            Out123 handle = new Out123("C:\\_fdf\\projects\\workspace_aiv\\LEZ39_20180322\\aiv-mpg123_git\\Aiv.Mpg123.Tests\\bin\\Debug\\plugins");

            handle.Open();
            Assert.AreEqual(Out123.Errors.OK, handle.LastErrorString());
        }