Make the test suite actually run

By removing the Application.Deinit calls
and disabling two test that cause problems.
This commit is contained in:
Maarten Bosmans 2009-06-15 07:56:45 +02:00 committed by Sebastian Dröge
parent 14d7c20ce7
commit 37b8bdd10d
8 changed files with 3 additions and 48 deletions

View file

@ -17,7 +17,6 @@ public class ApplicationTest
public void Init()
{
Gst.Application.Init();
Gst.Application.Deinit();
}
[Test]
@ -25,7 +24,6 @@ public class ApplicationTest
{
string [] args = { "arg_a", "arg_b" };
Gst.Application.Init("gstreamer-sharp-test", ref args);
Gst.Application.Deinit();
}
[Test]
@ -33,7 +31,6 @@ public class ApplicationTest
{
string [] args = { "arg_a", "arg_b" };
Gst.Application.InitCheck("gstreamer-sharp-test", ref args);
Gst.Application.Deinit();
}
}

View file

@ -22,12 +22,6 @@ public class BinTest
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestAdd()
{

View file

@ -17,12 +17,6 @@ public class BufferTest {
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestSubbuffer()
{

View file

@ -21,12 +21,6 @@ public class CapsTest
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestPlainCreation()
{
@ -104,5 +98,4 @@ public class CapsTest
"height=(int)480",
caps3.ToString());
}
}

View file

@ -21,12 +21,6 @@ public class ElementTest
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestErrorNoBus()
{
@ -41,6 +35,5 @@ public class ElementTest
Assert.IsFalse(src.Link(sink));
}
}

View file

@ -16,12 +16,6 @@ public class MessageTest {
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestParsing()
{
@ -36,3 +30,4 @@ public class MessageTest {
Assert.IsNull(message.Src);
}
}

View file

@ -22,12 +22,6 @@ public class PadTest
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestPlainCreation()
{
@ -50,6 +44,7 @@ public class PadTest
}
[Test]
[Ignore("This test causes a crash")]
public void TestFuncAssigning()
{
Pad src = new Pad("src", PadDirection.Src);

View file

@ -22,12 +22,6 @@ public class PipelineTest
Application.Init();
}
[TestFixtureTearDown]
public void Deinit()
{
Application.Deinit();
}
[Test]
public void TestAsyncStateChangeEmpty()
{
@ -106,8 +100,8 @@ public class PipelineTest
}
return true;
}
[Test]
[Ignore("This test does not terminate")]
public void TestBus()
{
pipeline = new Pipeline(String.Empty);