Commit graph

30 commits

Author SHA1 Message Date
Sebastian Dröge
bb977f37f6 Adjust tests for new protected methods by implementing subclasses 2009-06-23 13:26:11 +02:00
Sebastian Dröge
55c47c29ec Add unit test for basic Gst.Element subclasses
This implements a simple source and sink and sends 10 buffers from one
to another.
2009-06-21 12:21:32 +02:00
Sebastian Dröge
cc2aa83e67 Use parameter-less constructors for Bin/Pipeline 2009-06-20 11:41:28 +02:00
Maarten Bosmans
c123dd008a Add some tests that depend on nunit >= 2.4 functionality 2009-06-20 11:29:24 +02:00
Maarten Bosmans
1bf7205563 Add some tests that where lost in Refcount cleanup 2009-06-20 11:29:24 +02:00
Sebastian Dröge
89ffc66700 Add unit test for managed buffer generation and interaction 2009-06-18 09:17:28 +02:00
Sebastian Dröge
63b7bcabd8 Print test names on the terminal 2009-06-17 13:46:36 +02:00
Sebastian Dröge
75430dc6b5 Enable tests that should run but fail 2009-06-17 12:16:53 +02:00
Maarten Bosmans
e2ff9bb9cb Use nunit-console from nunit instead of in-tree ConsoleUi.
And check for nunit >= v2.0 at configure time.
2009-06-17 12:12:52 +02:00
Maarten Bosmans
93bee322fb Some more cleanup 2009-06-17 12:10:20 +02:00
Maarten Bosmans
8e9831765a Fix source code formatting for all the tests 2009-06-17 12:10:19 +02:00
Maarten Bosmans
37b8bdd10d Make the test suite actually run
By removing the Application.Deinit calls
and disabling two test that cause problems.
2009-06-17 12:10:19 +02:00
Maarten Bosmans
14d7c20ce7 Adapt tests to new api 2009-06-17 12:10:00 +02:00
Maarten Bosmans
f100210c37 Remove Dispose() calls in each test 2009-06-17 12:10:00 +02:00
Maarten Bosmans
18682a3604 Remove all the Refcount tests
The refcount of GstObjects isn't public anymore
and shouldn't be tested for anyway.
2009-06-17 12:09:59 +02:00
Sebastian Dröge
f380194b1a Make tests and samples compile again 2009-04-14 13:42:24 +02:00
Sebastian Dröge
02ea7a16ab Fix compilation of unit test 2009-04-07 11:46:42 +02:00
Sebastian Dröge
9fae02a317 Fix compilation of ApplicationTest 2009-04-07 11:40:53 +02:00
Sebastian Dröge
7e7546b879 Update/Cleanup of the build system 2009-04-07 09:45:54 +02:00
Khaled Mohammed
9b5a54fe8d 2006/08/20 Khaled Mohammed (khaled.mohammed@gmail.com)
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64117 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-20 22:37:48 +00:00
Khaled Mohammed
3df192045a MessageTest and BufferTest
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63659 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-11 20:55:19 +00:00
Khaled Mohammed
13873a6559 more tests and Dispose() in Gst.Object
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63657 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-11 20:53:33 +00:00
Khaled Mohammed
8ad1c333e7 Fix of Refcount property in Gst.Object
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63396 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-05 21:07:11 +00:00
Khaled Mohammed
01cf9177ac Adding NUnit test suite for Pipeline
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63337 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-04 04:08:13 +00:00
Khaled Mohammed
0e15441c8c Updated DynamicSignal.cs and files plugins-base to use the new
DynamicSignal class.


git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63336 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-08-04 04:00:43 +00:00
Khaled Mohammed
5c14766d47 2006-06-04 Khaled Mohammed <khaled.mohammed@gmail.com>
* gstreamer-sharp/glue/Bin.c: Newly added. Added a function to
        return the offset of *children.

        * tests/ElementTest.cs: Newly added. Added two NUnit tests for
        Element class - one to test creation of elements and the other
        to test addition and deletion of Pads from elements. 



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61443 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-06-04 16:49:35 +00:00
Michael Dominic K
51f65dd9e0 2006-05-31 Michael Dominic K. <michaldominik@gmail.com>
* tests/PadTest.cs:
	* tests/Makefile.am:
	Introducing a new test for Gst.Pad. All fixtures pass.

	* tests/CapsTest.cs:
	Adding a new fixture for caps union testing (passes).
	Fixing some code-style errors.



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61327 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-31 13:54:56 +00:00
Michael Dominic K
ce927fccae 2006-05-30 Michael Dominic K. <michaldominik@gmail.com>
* README:
	Fixing a broken svn link to gtk-sharp sources.

	* tests/CapsTest.cs:
	* tests/Makefile.am:
	Introducing a new test for Gst.Caps. All fixtures pass.



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61284 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-30 20:10:57 +00:00
Aaron Bockover
8c72b3b631 2006-05-25 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp/Gstreamer.metadata: Hide the Children property and
    implement own version in Bin.custom to return an Element [] instead of
    a GLib.List

    * gstreamer-sharp/Bin.custom: Implement Bin.Children

    * tests/BinTest.cs: wrote a test for Bin.Children



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61115 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-25 15:57:02 +00:00
Aaron Bockover
88b3b2c712 2006-05-20 Aaron Bockover <aaron@abock.org>
* autogen.sh: Fixed a left over configure.in to configure.ac

    * confiugre.ac: Added check foo for NUnit

    * gstreamer-sharp.mdp:
    * gstreamer-sharp.mds: Added MonoDevelop solution

    * source/Makefile.am: Cleaned and fixed

    * tests/ConsoleUi.cs:
    * tests/ApplicationTest.cs:
    * tests/BinTest.cs:
    * tests/Makefile.am: Added NUnit test framework and a few tests for
    Gst.Application and Gst.Bin

    * gstreamer-sharp/CommonTags.cs:
    * gstreamer-sharp/*.custom:
    * gstreamer-sharp/glue/*.c: Cleaned up

    * gstreamer-sharp/Application.cs: New application bindings; fixed
    to work properly with GStreamer 0.10

    * gstreamer-sharp/Version.cs: New Gst.Version class

    * gstreamer-sharp/Makefile.am: Added Version.cs

    * gstreamer-sharp/plugins-base/PlayBin.cs: Fixed and extended PlayBin
    element binding with new (but not all) properties

    * Makefile.am: Added tests



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60902 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-20 22:35:40 +00:00