2006-05-20 22:35:40 +00:00
|
|
|
//
|
|
|
|
// ApplicationTest.cs: NUnit Test Suite for gstreamer-sharp
|
|
|
|
//
|
|
|
|
// Authors:
|
|
|
|
// Aaron Bockover (abockover@novell.com)
|
|
|
|
//
|
|
|
|
// (C) 2006 Novell, Inc.
|
|
|
|
//
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
[TestFixture]
|
2009-09-20 08:19:49 +00:00
|
|
|
public class ApplicationTest {
|
|
|
|
[Test]
|
|
|
|
public void Init() {
|
|
|
|
Gst.Application.Init();
|
|
|
|
}
|
2009-06-15 06:28:47 +00:00
|
|
|
|
2009-09-20 08:19:49 +00:00
|
|
|
[Test]
|
|
|
|
public void InitArgs() {
|
|
|
|
string [] args = { "arg_a", "arg_b" };
|
|
|
|
Gst.Application.Init ("gstreamer-sharp-test", ref args);
|
|
|
|
}
|
2006-05-20 22:35:40 +00:00
|
|
|
|
2009-09-20 08:19:49 +00:00
|
|
|
[Test]
|
|
|
|
public void InitArgsCheck() {
|
|
|
|
string [] args = { "arg_a", "arg_b" };
|
|
|
|
Gst.Application.InitCheck ("gstreamer-sharp-test", ref args);
|
|
|
|
}
|
2009-06-15 06:28:47 +00:00
|
|
|
}
|