mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
Make the test suite actually run
By removing the Application.Deinit calls and disabling two test that cause problems.
This commit is contained in:
parent
14d7c20ce7
commit
37b8bdd10d
8 changed files with 3 additions and 48 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,12 +22,6 @@ public class BinTest
|
|||
Application.Init();
|
||||
}
|
||||
|
||||
[TestFixtureTearDown]
|
||||
public void Deinit()
|
||||
{
|
||||
Application.Deinit();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestAdd()
|
||||
{
|
||||
|
|
|
@ -17,12 +17,6 @@ public class BufferTest {
|
|||
Application.Init();
|
||||
}
|
||||
|
||||
[TestFixtureTearDown]
|
||||
public void Deinit()
|
||||
{
|
||||
Application.Deinit();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestSubbuffer()
|
||||
{
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue