platform/upstream/gstreamer.git
10 years agovalidate:docs: fix spelling mistakes
Felix Schwarz [Fri, 5 Sep 2014 19:47:00 +0000 (19:47 +0000)]
validate:docs: fix spelling mistakes

https://bugzilla.gnome.org/show_bug.cgi?id=736160

10 years agovalidate: Take a const gchar ** in gst_validate_print_action_types
Thibault Saunier [Fri, 5 Sep 2014 21:15:29 +0000 (23:15 +0200)]
validate: Take a const gchar ** in gst_validate_print_action_types

This is what we actually need and thus is cleaner.

10 years agovalidate: Implement the notion of implementer namespace to the action types
Thibault Saunier [Fri, 5 Sep 2014 21:03:58 +0000 (23:03 +0200)]
validate: Implement the notion of implementer namespace to the action types

This allows users to know who implements an action type.

+ Enhance the printing of all action making it readable.

10 years agovalidate: Add informations on the switch-track action overrided for playbin
Thibault Saunier [Fri, 5 Sep 2014 17:30:52 +0000 (19:30 +0200)]
validate: Add informations on the switch-track action overrided for playbin

10 years agovalidate: docs: Add some GstValidate usage documentation
Thibault Saunier [Thu, 4 Sep 2014 21:54:34 +0000 (23:54 +0200)]
validate: docs: Add some GstValidate usage documentation

+ Fix minor issues in the gst-validate and gst-validate-transcoding
tools documentation

10 years agovalidate: remove redundant pre-condition in monitor_factory_create
Guillaume Desmottes [Thu, 4 Sep 2014 09:54:41 +0000 (11:54 +0200)]
validate: remove redundant pre-condition in monitor_factory_create

The same check is already done at the head of the function.

https://bugzilla.gnome.org/show_bug.cgi?id=736019

10 years agovalidate: fix a couple of typos in comments
Guillaume Desmottes [Thu, 4 Sep 2014 09:53:56 +0000 (11:53 +0200)]
validate: fix a couple of typos in comments

https://bugzilla.gnome.org/show_bug.cgi?id=736019

10 years agovalidate:docs: Sensibly update the usage file
Thibault Saunier [Thu, 4 Sep 2014 17:18:25 +0000 (19:18 +0200)]
validate:docs: Sensibly update the usage file

10 years agovalidate: Use a GList to store action types instead of hashtable
Thibault Saunier [Fri, 22 Aug 2014 17:30:14 +0000 (19:30 +0200)]
validate: Use a GList to store action types instead of hashtable

It is more adapted and allows us to print the action types in a stable
maneer.

10 years agovalidate: report: Do not repeat type name when printing its details
Thibault Saunier [Fri, 22 Aug 2014 16:45:13 +0000 (18:45 +0200)]
validate: report: Do not repeat type name when printing its details

10 years agovalidate: Change the version to 1.0.0.1
Thibault Saunier [Tue, 19 Aug 2014 09:10:57 +0000 (11:10 +0200)]
validate: Change the version to 1.0.0.1

The 1.0.0.1 means that it is targetting the GStreamer 1.X serie,
and is a git version (thus 0.1)

GstValidate will most probably not be released and we should try to
be able to use it with as many version of the GStreamer 1.X serie
as possible.

10 years agovalidate: Document the API with gtk-doc
Thibault Saunier [Mon, 18 Aug 2014 16:41:50 +0000 (18:41 +0200)]
validate: Document the API with gtk-doc

10 years agovalidate: Add GObject Introspection support
Thibault Saunier [Wed, 11 Jun 2014 07:23:11 +0000 (09:23 +0200)]
validate: Add GObject Introspection support

10 years agovalidate: Rework the action parameter API
Thibault Saunier [Thu, 14 Aug 2014 08:55:44 +0000 (10:55 +0200)]
validate: Rework the action parameter API

Making it possible to properly define parameters, and describe them.

+ Document all action types!

10 years agovalidate: Add an option to print all avalaible actions with details
Thibault Saunier [Wed, 13 Aug 2014 21:07:47 +0000 (23:07 +0200)]
validate: Add an option to print all avalaible actions with details

+ Cleanup actions descriptions
+ Make GstValidateActionType internal only and only expose the structure

10 years agovalidate: Use the buffering mode to see if pipeline is live or not
Thibault Saunier [Thu, 14 Aug 2014 08:57:33 +0000 (10:57 +0200)]
validate: Use the buffering mode to see if pipeline is live or not

10 years agovalidate: Do not segfault when receiving a segment on unlink pad
Thibault Saunier [Thu, 14 Aug 2014 08:56:56 +0000 (10:56 +0200)]
validate: Do not segfault when receiving a segment on unlink pad

For some reason we did no discover that before.

10 years agovalidate: Make GstValidateActionType a GstMiniObject and expose it in the API
Thibault Saunier [Wed, 13 Aug 2014 18:47:24 +0000 (20:47 +0200)]
validate: Make GstValidateActionType a GstMiniObject and expose it in the API

10 years agovalidate:scenario: Cleanup header and add some padding to classes
Thibault Saunier [Wed, 13 Aug 2014 18:46:17 +0000 (20:46 +0200)]
validate:scenario: Cleanup header and add some padding to classes

Let's start making gst-validate ABI and API stable

10 years agogst-validate: fix some minor memory leaks
Anuj Jaiswal [Wed, 20 Aug 2014 13:29:26 +0000 (18:59 +0530)]
gst-validate: fix some minor memory leaks

https://bugzilla.gnome.org/show_bug.cgi?id=735099

10 years agovalidate: generate test names with the stream_info filename.
Mathieu Duponchelle [Tue, 19 Aug 2014 16:06:14 +0000 (18:06 +0200)]
validate: generate test names with the stream_info filename.

And not with the contained uri string, which is variable.

10 years agovalidate: The scenario only old a weak ref so unref the weak ref
Thibault Saunier [Tue, 12 Aug 2014 13:14:28 +0000 (15:14 +0200)]
validate: The scenario only old a weak ref so unref the weak ref

We were unrefing an object we did not actually own a ref on.

10 years agovalidate: Print when we set pipeline state because of buffering
Thibault Saunier [Tue, 12 Aug 2014 07:36:34 +0000 (09:36 +0200)]
validate: Print when we set pipeline state because of buffering

10 years agovalidate:launcher: Properly handle libsdir when gst-validate is installed
Thibault Saunier [Mon, 11 Aug 2014 18:19:02 +0000 (20:19 +0200)]
validate:launcher: Properly handle libsdir when gst-validate is installed

+ Fix the _in_devel function
+ Install the validate default testsuite implementation in the right
place

10 years agovalidate:launcher: Let testsuite know the actual file in which they are
Thibault Saunier [Mon, 11 Aug 2014 11:21:09 +0000 (13:21 +0200)]
validate:launcher: Let testsuite know the actual file in which they are

10 years agovalidate:launcher: Add the logic of needed env variables in tests
Thibault Saunier [Mon, 11 Aug 2014 11:19:22 +0000 (13:19 +0200)]
validate:launcher: Add the logic of needed env variables in tests

10 years agovalidate:launcher: Expose all classes to be used to create testsuites
Thibault Saunier [Sun, 10 Aug 2014 10:41:57 +0000 (12:41 +0200)]
validate:launcher: Expose all classes to be used to create testsuites

To create testsuite from outside gst-validate, the user will need to be
able to use the TestGenerator and subclasses of Test that we implement
in the apps, to do so we publicly expose them in the TestManager class
so that user have acces to everything they need.

10 years agovalidate:launcher: Handle stdout/stderr as possible logfiles
Thibault Saunier [Sun, 10 Aug 2014 10:04:31 +0000 (12:04 +0200)]
validate:launcher: Handle stdout/stderr as possible logfiles

Allowing people to get all the logs in the terminal

10 years agovalidate: Allow several outputs in GST_VALIDATE_FILE
Thibault Saunier [Sat, 9 Aug 2014 21:22:39 +0000 (23:22 +0200)]
validate: Allow several outputs in GST_VALIDATE_FILE

10 years agovalidate: Launcher: Add support for the dash protocol
Thibault Saunier [Sat, 9 Aug 2014 14:34:09 +0000 (16:34 +0200)]
validate: Launcher: Add support for the dash protocol

And make sure that the HTTP server is started if it is needed to serve
some HLS or DASH streams

10 years agovalidate:Launcher: Use the first media path as a path for http server
Thibault Saunier [Fri, 8 Aug 2014 17:14:02 +0000 (19:14 +0200)]
validate:Launcher: Use the first media path as a path for http server

We need to have a default path and the first one sounds like a
reasonnable default.

10 years agovalidate:launcher: Allow limitating local HTTP server bandwith
Thibault Saunier [Fri, 8 Aug 2014 10:33:54 +0000 (12:33 +0200)]
validate:launcher: Allow limitating local HTTP server bandwith

By default we limit its bandwith to 1MBps which is somehow similare to a
good internet connection case.

10 years agovalidate:launcher: Disable racy HLS tests
Thibault Saunier [Tue, 5 Aug 2014 16:51:20 +0000 (18:51 +0200)]
validate:launcher: Disable racy HLS tests

+ Add need-clock-synk to switch_audio_track_while_paused as it relies on
the clock sync to pause and then display subtitles

10 years agovalidate:launcher: Take into account exitcode in transcoding tests
Thibault Saunier [Tue, 5 Aug 2014 08:59:21 +0000 (10:59 +0200)]
validate:launcher: Take into account exitcode in transcoding tests

And disable a few racy tests that were not detected because of that

10 years agovalidate:launcher:testsuite: De activate backward playback where appropriate
Thibault Saunier [Tue, 29 Jul 2014 10:17:21 +0000 (12:17 +0200)]
validate:launcher:testsuite: De activate backward playback where appropriate

And re activate it where it works

10 years agovalidate: Actually accept rounding errors and small mistakes for position
Thibault Saunier [Sat, 26 Jul 2014 09:42:09 +0000 (11:42 +0200)]
validate: Actually accept rounding errors and small mistakes for position

WHen seeking in paused the position right after should be pretty much
the exact one, but sometimes it can be a little different because of
rounding issues and similare.

10 years agovalidate: Add a way to avoid printing all the issue in reports
Thibault Saunier [Sat, 26 Jul 2014 09:41:09 +0000 (11:41 +0200)]
validate: Add a way to avoid printing all the issue in reports

Avoiding user to be flooded by information he does not want while
debugging

10 years agovalidate: Print the report when aborting because of an issue
Thibault Saunier [Sat, 26 Jul 2014 06:27:55 +0000 (08:27 +0200)]
validate: Print the report when aborting because of an issue

Letting a chance to the user to know what bug he faced!

10 years agovalidate: Enhance output about critical errors
Thibault Saunier [Thu, 24 Jul 2014 17:26:29 +0000 (19:26 +0200)]
validate: Enhance output about critical errors

+Lower some warning to INFO

10 years agovalidate: Allow overrides for scenario issues
Thibault Saunier [Thu, 24 Jul 2014 17:02:38 +0000 (19:02 +0200)]
validate: Allow overrides for scenario issues

10 years agovalidate: Avoid readding several time the same test in the tests result list
Thibault Saunier [Mon, 21 Jul 2014 16:00:42 +0000 (18:00 +0200)]
validate: Avoid readding several time the same test in the tests result list

10 years agovalidate:launcher: Fix test number print
Thibault Saunier [Sat, 19 Jul 2014 09:47:44 +0000 (11:47 +0200)]
validate:launcher: Fix test number print

10 years agotools: Launcher: Disable validate.file.*.simple.scrub_forward_seeking.synchronized
Thibault Saunier [Thu, 31 Jul 2014 15:54:17 +0000 (17:54 +0200)]
tools: Launcher: Disable validate.file.*.simple.scrub_forward_seeking.synchronized

It is still a bit racy and sometimes the seek just does not happen

10 years agotools: launcher: Disable subtitle track switching scenario on Sintel
Thibault Saunier [Thu, 31 Jul 2014 15:43:51 +0000 (17:43 +0200)]
tools: launcher: Disable subtitle track switching scenario on Sintel

It is racy at the moment.

10 years agovalidate:launcher: Allow informing minimum media duration in scenarios
Thibault Saunier [Wed, 23 Jul 2014 18:39:05 +0000 (20:39 +0200)]
validate:launcher: Allow informing minimum media duration in scenarios

Allowing the launcher to avoid running tests on medias that are not long
enough

10 years agovalidate:launcher: Always print final report + enhance output
Thibault Saunier [Wed, 23 Jul 2014 15:49:21 +0000 (17:49 +0200)]
validate:launcher: Always print final report + enhance output

10 years agovalidate:scenario: Properly check that remaining actions are not 'ending' ones
Thibault Saunier [Wed, 23 Jul 2014 12:51:43 +0000 (14:51 +0200)]
validate:scenario: Properly check that remaining actions are not 'ending' ones

When checking that all action were executed, we need to make sure that
actions such as EOS or stop are not taken into account as we might have
shorter medias than the duration of the scenario, and that should not be
fatal.

+ Plug a leak on the way

10 years agovalidate: launcher: Force clock syncronization for some scenarios
Thibault Saunier [Wed, 23 Jul 2014 12:43:29 +0000 (14:43 +0200)]
validate: launcher: Force clock syncronization for some scenarios

In some cases it is necessary that the clock is sync so that all the
actions can be executed.

10 years agovalidate: Launcher: Make sure tests are always executed in same order
Thibault Saunier [Wed, 23 Jul 2014 08:54:37 +0000 (10:54 +0200)]
validate: Launcher: Make sure tests are always executed in same order

10 years agogst-validate-scenario: add emit-signal
Thiago Santos [Tue, 22 Jul 2014 14:42:48 +0000 (11:42 -0300)]
gst-validate-scenario: add emit-signal

emit-signal action allows to emit signals to elements in scenarios.
The implementation only accepts signals without arguments for now but
it can be extended to use parameters if needed in the future

10 years agovalidate: Launcher: Fix a backtrace using self in a @staticmethod
Thibault Saunier [Tue, 22 Jul 2014 13:49:09 +0000 (15:49 +0200)]
validate: Launcher: Fix a backtrace using self in a @staticmethod

10 years agogst-validate-scenario: the structure has the type
Thiago Santos [Tue, 22 Jul 2014 01:41:28 +0000 (22:41 -0300)]
gst-validate-scenario: the structure has the type

Get the GValue directly from the structure and do not assume everything
is stored as a string and use the GstStructure's GValue to set the property
to the instances

10 years agogst-validate: properly set pipeline to null before unref
Thiago Santos [Tue, 22 Jul 2014 01:01:27 +0000 (22:01 -0300)]
gst-validate: properly set pipeline to null before unref

In case it fails when going ready->paused it will remain in ready state
and be unref'd in ready, leading to an assertion

10 years agovalidate: Fix build on some custom platforms
Arnaud Vrac [Mon, 21 Jul 2014 17:09:24 +0000 (19:09 +0200)]
validate: Fix build on some custom platforms

We need to explicitely pass GLIB_LIBS for GModule as it seems not to be included by
GST_ALL_LIBS and we need LIBM

10 years agohttpserver: launch webserver with the same python interpreter.
Lubosz Sarnecki [Mon, 19 May 2014 16:06:46 +0000 (18:06 +0200)]
httpserver: launch webserver with the same python interpreter.

10 years agovalidate: Dot the pipeline on interuption
Thibault Saunier [Sat, 19 Jul 2014 07:48:17 +0000 (09:48 +0200)]
validate: Dot the pipeline on interuption

10 years agovalidate: duplicate strings in gst_validate_issue_new()
Aurélien Zanelli [Fri, 18 Jul 2014 13:57:24 +0000 (15:57 +0200)]
validate: duplicate strings in gst_validate_issue_new()

Do this to avoid discarding 'const' qualifier when using it with
constant strings. Moreover it will avoid a g_free on constant string.

https://bugzilla.gnome.org/show_bug.cgi?id=733362

10 years agovalidate:launcher: Fix a backtrace using an undefined method
Thibault Saunier [Fri, 18 Jul 2014 14:28:49 +0000 (16:28 +0200)]
validate:launcher: Fix a backtrace using an undefined  method

10 years agovaldate:launcher: Do not refer to self in @staticmethod
Thibault Saunier [Thu, 17 Jul 2014 14:48:21 +0000 (16:48 +0200)]
valdate:launcher: Do not refer to self in @staticmethod

There is no self in there.

10 years agovalidate: Add a set-debug-threshold scenario action
Thibault Saunier [Thu, 17 Jul 2014 14:44:08 +0000 (16:44 +0200)]
validate: Add a set-debug-threshold scenario action

Allowing users to activate the debug only at the interesting time

10 years agovalidate: Add Gst debugging when using gst-validate printing feature
Thibault Saunier [Thu, 17 Jul 2014 14:42:02 +0000 (16:42 +0200)]
validate: Add Gst debugging when using gst-validate printing feature

Giving usefull debugging informations in the GSt debug logs

10 years agovalidate: Do not auto flush pipeline bus
Thibault Saunier [Thu, 17 Jul 2014 10:17:31 +0000 (12:17 +0200)]
validate: Do not auto flush pipeline bus

We want to see all messages in our async handler

And flush it when we are done.

10 years agovalidate:launcher: Avoid using sync=true on fakesinks
Thibault Saunier [Wed, 16 Jul 2014 17:38:01 +0000 (19:38 +0200)]
validate:launcher: Avoid using sync=true on fakesinks

Making the test run much faster!

10 years agovalidate: Launcher: Print total time spent in the final report
Thibault Saunier [Wed, 16 Jul 2014 17:37:35 +0000 (19:37 +0200)]
validate: Launcher: Print total time spent in the final report

10 years agovalidate: Make switch_subtitle_track_while_paused handle states
Thibault Saunier [Wed, 16 Jul 2014 16:21:16 +0000 (18:21 +0200)]
validate: Make switch_subtitle_track_while_paused handle states

10 years agovaildate: Make disable_subtitle_track_while_paused handle states
Thibault Saunier [Wed, 16 Jul 2014 12:46:32 +0000 (14:46 +0200)]
vaildate: Make disable_subtitle_track_while_paused handle states

10 years agovalidate: Make scrub_forward_seeking handle states
Thibault Saunier [Sun, 13 Jul 2014 16:21:50 +0000 (18:21 +0200)]
validate: Make scrub_forward_seeking handle states

10 years agovalidate:launcher: Properly check that encoded files have the exact wanted format
Thibault Saunier [Wed, 16 Jul 2014 11:54:54 +0000 (13:54 +0200)]
validate:launcher: Properly check that encoded files have the exact wanted format

10 years agovalidate:launcher: Add a method to create a GstValidateMediaDescriptor from a uri
Thibault Saunier [Wed, 16 Jul 2014 10:50:41 +0000 (12:50 +0200)]
validate:launcher: Add a method to create a GstValidateMediaDescriptor from a uri

10 years agovalidate:launcher: Move MediaFormatCombination to baseclasses.py
Thibault Saunier [Wed, 16 Jul 2014 10:16:03 +0000 (12:16 +0200)]
validate:launcher: Move MediaFormatCombination to baseclasses.py

+ Add some simple helpers

10 years agovalidate:launcher: Implement a GstValidateEncodingTestInterface class
Thibault Saunier [Wed, 16 Jul 2014 10:03:14 +0000 (12:03 +0200)]
validate:launcher: Implement a GstValidateEncodingTestInterface class

Allowing code to be shared between apps that run rendering tests

10 years agovalidate:launcher: Implement a MediaDescriptor subclass for xges project files
Thibault Saunier [Wed, 16 Jul 2014 09:39:08 +0000 (11:39 +0200)]
validate:launcher:  Implement a MediaDescriptor subclass for xges project files

10 years agovalidate:launcher: Make a MediaDescriptor baseclass to be used by any application
Thibault Saunier [Wed, 16 Jul 2014 09:36:29 +0000 (11:36 +0200)]
validate:launcher: Make a MediaDescriptor baseclass to be used by any application

10 years agovalidate:launcher: Give information to users when cloning asset failed
Thibault Saunier [Wed, 16 Jul 2014 08:35:34 +0000 (10:35 +0200)]
validate:launcher: Give information to users when cloning asset failed

It might not be obvious from the stacktrace so it is better to clearly
explain what the failure was when we know it

10 years agovalidate:launcher: Fixup the default asset update command
Thibault Saunier [Wed, 16 Jul 2014 08:16:19 +0000 (10:16 +0200)]
validate:launcher: Fixup the default asset update command

10 years agovalidate:launcher: Generate proper EncodingProfiles for audio/video only media files
Thibault Saunier [Wed, 16 Jul 2014 08:12:04 +0000 (10:12 +0200)]
validate:launcher: Generate proper EncodingProfiles for audio/video only media files

10 years agovalidate:launcher: Move the MediaDescriptor class to the baseclasses.py file
Thibault Saunier [Wed, 16 Jul 2014 08:10:44 +0000 (10:10 +0200)]
validate:launcher: Move the MediaDescriptor class to the baseclasses.py file

10 years agovalidate:launcher: Allow transcoding audio only files 5 time longer than long_limit
Thibault Saunier [Wed, 16 Jul 2014 08:09:32 +0000 (10:09 +0200)]
validate:launcher: Allow transcoding audio only files 5 time longer than long_limit

Transcoding audio is a lot shorter so we can concider that transcoding files that are only
only is 5 time shorter than the actual file (empirical number)

10 years agovalidate:media-check: Pass the GError where needed.
Thibault Saunier [Wed, 16 Jul 2014 08:03:11 +0000 (10:03 +0200)]
validate:media-check: Pass the GError where needed.

10 years agovalidate: Avoid segfault in the error path
Thibault Saunier [Tue, 15 Jul 2014 10:16:34 +0000 (12:16 +0200)]
validate: Avoid segfault in the error path

10 years agovalidate:media-descriptor-writer: Handle medias with 1 single stream
Thibault Saunier [Tue, 15 Jul 2014 09:59:23 +0000 (11:59 +0200)]
validate:media-descriptor-writer: Handle medias with 1 single stream

10 years agovalidate: Check that after a seek in PAUSED position is perfect
Thibault Saunier [Tue, 8 Jul 2014 11:50:11 +0000 (13:50 +0200)]
validate: Check that after a seek in PAUSED position is perfect

In case of ACCURATE seeking, the position after a SEEK in PAUSED state
should be *exactly* the one requested by the user.

10 years agoscenario: add set_property scenario action
Thiago Santos [Fri, 11 Jul 2014 18:45:18 +0000 (15:45 -0300)]
scenario: add set_property scenario action

Allows setting element's properties during a scenario. Very useful
for testing that elements behave correctly when changing properties
during playing state

https://bugzilla.gnome.org/show_bug.cgi?id=733070

10 years agoNew Tool: Add a CodecAnalyzer
Sreerenj Balachandran [Wed, 9 Jul 2014 16:10:57 +0000 (19:10 +0300)]
New Tool: Add a CodecAnalyzer

https://bugzilla.gnome.org/show_bug.cgi?id=731853

10 years agoTODO: add some planning comments
Stefan Sauer [Mon, 7 Jul 2014 14:12:22 +0000 (16:12 +0200)]
TODO: add some planning comments

10 years agomi-info: add wikilink for opus
Stefan Sauer [Tue, 22 Oct 2013 08:57:14 +0000 (10:57 +0200)]
mi-info: add wikilink for opus

10 years agovalidate: Execute actions if we get seeked in ready state
Thibault Saunier [Wed, 2 Jul 2014 15:53:55 +0000 (17:53 +0200)]
validate: Execute actions if we get seeked in ready state

10 years agovalidate: Let scenarios tell the apps about whether it handles states
Thibault Saunier [Wed, 2 Jul 2014 09:27:22 +0000 (11:27 +0200)]
validate: Let scenarios tell the apps about whether it handles states

The user only needs to add handles-states=true in the description line
of the scenario

10 years agovalidate:scenario: Do not care about the position if we are not at least in PAUSED...
Thibault Saunier [Thu, 19 Jun 2014 10:58:49 +0000 (12:58 +0200)]
validate:scenario: Do not care about the position if we are not at least in PAUSED state

At that time the position query will be meaningless so we should just go to the next
action.

10 years agovalidate: Handle MXF files
Thibault Saunier [Thu, 26 Jun 2014 13:07:39 +0000 (15:07 +0200)]
validate: Handle MXF files

10 years agovalidate:media-check: Changes in tags detection are not fatal issues
Thibault Saunier [Thu, 26 Jun 2014 13:03:07 +0000 (15:03 +0200)]
validate:media-check: Changes in tags detection are not fatal issues

10 years agovalidate:launcher Add video mixing tests
Thibault Saunier [Thu, 26 Jun 2014 11:01:13 +0000 (13:01 +0200)]
validate:launcher Add video mixing tests

+ Move default_testsuite.py to validate_testsuite.py as we are now
exposing tests that are not enabled by default

10 years agovalidate:launcher: Move the notion of test generator to the baseclasses
Thibault Saunier [Thu, 26 Jun 2014 10:42:38 +0000 (12:42 +0200)]
validate:launcher: Move the notion of test generator to the baseclasses

This can be very usefull for all the TestManager and thus exposes a
higher level API for test writers.

10 years agovalidate:launcher: Move default testsuite to a dedicated file
Thibault Saunier [Thu, 19 Jun 2014 14:26:43 +0000 (16:26 +0200)]
validate:launcher: Move default testsuite to a dedicated file

Making the separation cleaner between the launcher and the test
implementation

10 years agovalidate: Properly handle CLOCK_TIME_NONE position and duration values
Thibault Saunier [Fri, 20 Jun 2014 17:01:41 +0000 (19:01 +0200)]
validate: Properly handle CLOCK_TIME_NONE position and duration values

In the value parser.

10 years agovalidate: Print the return value at the end
Thibault Saunier [Thu, 19 Jun 2014 11:03:48 +0000 (13:03 +0200)]
validate: Print the return value at the end

Making it easier to know whether the test passed or not.

10 years agovalidate:scenario: Move the check about whether we are still seeking upper in the...
Thibault Saunier [Thu, 19 Jun 2014 10:56:34 +0000 (12:56 +0200)]
validate:scenario: Move the check about whether we are still seeking upper in the function

Avoiding to try to get position and do operations on a pipeline that is seeking

10 years agovalidate-scenario: only use valid position/duration
Vincent Penquerc'h [Mon, 25 Nov 2013 13:55:10 +0000 (13:55 +0000)]
validate-scenario: only use valid position/duration

Position/duration query may fail, or yield unknown values (eg,
unknown duration for live streams). In these cases, we must ensure
we do not use those invalid values.

https://bugzilla.gnome.org/show_bug.cgi?id=715160

10 years agovalidate:launcher: Not concider all scenarios by default with --wanted-test
Thibault Saunier [Thu, 19 Jun 2014 07:38:52 +0000 (09:38 +0200)]
validate:launcher: Not concider all scenarios by default with --wanted-test

Instead let the users activate that with -t ALL

10 years agovalidate:launcher: Let the user set user options in the config file
Thibault Saunier [Thu, 19 Jun 2014 07:22:36 +0000 (09:22 +0200)]
validate:launcher: Let the user set user options in the config file