diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-07-23 15:50:49 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-07-23 15:50:49 +0200 |
commit | 54c26ec8c8da346fac27f8f7278cb2ffd0810bb7 (patch) | |
tree | 7c343424cd4f6deb9be985bf4862d56793bdac3b | |
parent | 83280c66266885dc0254c161dd308781a34469d6 (diff) |
tests: Don't use the expensive videotestsrc patterns
We're not viewing them anyway, so might as well take the cheapest
to use.
-rw-r--r-- | tests/check/gnl/complex.c | 14 | ||||
-rw-r--r-- | tests/check/gnl/gnlcomposition.c | 4 | ||||
-rw-r--r-- | tests/check/gnl/gnloperation.c | 20 | ||||
-rw-r--r-- | tests/check/gnl/gnlsource.c | 4 | ||||
-rw-r--r-- | tests/check/gnl/simple.c | 8 |
5 files changed, 25 insertions, 25 deletions
diff --git a/tests/check/gnl/complex.c b/tests/check/gnl/complex.c index ae9db2a..eb90d6f 100644 --- a/tests/check/gnl/complex.c +++ b/tests/check/gnl/complex.c @@ -23,7 +23,7 @@ GST_START_TEST (test_one_space_another) Duration : 1s Priority : 1 */ - source1 = videotest_gnl_src ("source1", 0, 1 * GST_SECOND, 1, 1); + source1 = videotest_gnl_src ("source1", 0, 1 * GST_SECOND, 2, 1); fail_if (source1 == NULL); check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); @@ -33,7 +33,7 @@ GST_START_TEST (test_one_space_another) Duration : 1s Priority : 1 */ - source2 = videotest_gnl_src ("source2", 2 * GST_SECOND, 1 * GST_SECOND, 2, 1); + source2 = videotest_gnl_src ("source2", 2 * GST_SECOND, 1 * GST_SECOND, 3, 1); fail_if (source2 == NULL); check_start_stop_duration (source2, 2 * GST_SECOND, 3 * GST_SECOND, 1 * GST_SECOND); @@ -233,7 +233,7 @@ GST_START_TEST (test_one_default_another) Duration : 1s Priority : 1 */ - source1 = videotest_gnl_src ("source1", 1 * GST_SECOND, 1 * GST_SECOND, 1, 1); + source1 = videotest_gnl_src ("source1", 1 * GST_SECOND, 1 * GST_SECOND, 3, 1); fail_if (source1 == NULL); check_start_stop_duration (source1, GST_SECOND, 2 * GST_SECOND, 1 * GST_SECOND); @@ -477,7 +477,7 @@ GST_START_TEST (test_one_expandable_another) Duration : 1s Priority : 1 */ - source1 = videotest_gnl_src ("source1", 1 * GST_SECOND, 1 * GST_SECOND, 1, 1); + source1 = videotest_gnl_src ("source1", 1 * GST_SECOND, 1 * GST_SECOND, 3, 1); fail_if (source1 == NULL); check_start_stop_duration (source1, GST_SECOND, 2 * GST_SECOND, 1 * GST_SECOND); @@ -926,7 +926,7 @@ GST_START_TEST (test_one_bin_space_another) Duration : 1s Priority : 1 */ - source1 = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 1, 1); + source1 = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 3, 1); if (source1 == NULL) { gst_object_unref (pipeline); gst_object_unref (comp); @@ -941,7 +941,7 @@ GST_START_TEST (test_one_bin_space_another) Priority : 1 */ source2 = - videotest_in_bin_gnl_src ("source2", 2 * GST_SECOND, 1 * GST_SECOND, 1, + videotest_in_bin_gnl_src ("source2", 2 * GST_SECOND, 1 * GST_SECOND, 2, 1); fail_if (source2 == NULL); check_start_stop_duration (source2, 2 * GST_SECOND, 3 * GST_SECOND, @@ -1063,7 +1063,7 @@ GST_START_TEST (test_one_above_another) Duration : 2s Priority : 2 */ - source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 1, 2); + source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 3, 2); fail_if (source1 == NULL); check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); diff --git a/tests/check/gnl/gnlcomposition.c b/tests/check/gnl/gnlcomposition.c index 6804e74..967f552 100644 --- a/tests/check/gnl/gnlcomposition.c +++ b/tests/check/gnl/gnlcomposition.c @@ -85,7 +85,7 @@ GST_START_TEST (test_change_object_start_stop_in_current_stack) Priority : 2 */ - source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 1, 2); + source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 2, 2); g_object_connect (source1, "signal::pad-added", on_source1_pad_added_cb, NULL, NULL); @@ -96,7 +96,7 @@ GST_START_TEST (test_change_object_start_stop_in_current_stack) Priority = G_MAXUINT32 */ def = - videotest_gnl_src ("default", 0 * GST_SECOND, 0 * GST_SECOND, 1, + videotest_gnl_src ("default", 0 * GST_SECOND, 0 * GST_SECOND, 2, G_MAXUINT32); ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); diff --git a/tests/check/gnl/gnloperation.c b/tests/check/gnl/gnloperation.c index 53fd6e2..f7b892a 100644 --- a/tests/check/gnl/gnloperation.c +++ b/tests/check/gnl/gnloperation.c @@ -23,7 +23,7 @@ GST_START_TEST (test_simple_operation) Priority : 1 */ - source = videotest_gnl_src ("source", 0, 3 * GST_SECOND, 1, 1); + source = videotest_gnl_src ("source", 0, 3 * GST_SECOND, 2, 1); fail_if (source == NULL); check_start_stop_duration (source, 0, 3 * GST_SECOND, 3 * GST_SECOND); @@ -228,7 +228,7 @@ GST_START_TEST (test_pyramid_operations) Priority : 2 */ - source = videotest_gnl_src ("source", 0, 10 * GST_SECOND, 1, 2); + source = videotest_gnl_src ("source", 0, 10 * GST_SECOND, 2, 2); check_start_stop_duration (source, 0, 10 * GST_SECOND, 10 * GST_SECOND); /* @@ -449,7 +449,7 @@ GST_START_TEST (test_pyramid_operations2) Priority : 2 */ - source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 1, 2); + source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 2, 2); check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); /* @@ -470,7 +470,7 @@ GST_START_TEST (test_pyramid_operations2) Priority : 2 */ - source2 = videotest_gnl_src ("source2", 4 * GST_SECOND, 2 * GST_SECOND, 1, 2); + source2 = videotest_gnl_src ("source2", 4 * GST_SECOND, 2 * GST_SECOND, 2, 2); check_start_stop_duration (source2, 4 * GST_SECOND, 6 * GST_SECOND, 2 * GST_SECOND); @@ -479,7 +479,7 @@ GST_START_TEST (test_pyramid_operations2) Priority = G_MAXUINT32 */ def = - videotest_gnl_src ("default", 0 * GST_SECOND, 0 * GST_SECOND, 1, + videotest_gnl_src ("default", 0 * GST_SECOND, 0 * GST_SECOND, 2, G_MAXUINT32); ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); @@ -678,7 +678,7 @@ GST_START_TEST (test_pyramid_operations_expandable) Priority : 2 */ - source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 1, 2); + source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 2, 2); check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); /* @@ -700,7 +700,7 @@ GST_START_TEST (test_pyramid_operations_expandable) Priority : 2 */ - source2 = videotest_gnl_src ("source2", 4 * GST_SECOND, 2 * GST_SECOND, 1, 2); + source2 = videotest_gnl_src ("source2", 4 * GST_SECOND, 2 * GST_SECOND, 2, 2); check_start_stop_duration (source2, 4 * GST_SECOND, 6 * GST_SECOND, 2 * GST_SECOND); @@ -709,7 +709,7 @@ GST_START_TEST (test_pyramid_operations_expandable) Priority = G_MAXUINT32 */ def = - videotest_gnl_src ("default", 0 * GST_SECOND, 0 * GST_SECOND, 1, + videotest_gnl_src ("default", 0 * GST_SECOND, 0 * GST_SECOND, 2, G_MAXUINT32); ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); @@ -900,7 +900,7 @@ GST_START_TEST (test_complex_operations) Priority : 3 */ - source1 = videotest_in_bin_gnl_src ("source1", 0, 4 * GST_SECOND, 1, 3); + source1 = videotest_in_bin_gnl_src ("source1", 0, 4 * GST_SECOND, 2, 3); if (source1 == NULL) { gst_object_unref (pipeline); gst_object_unref (comp); @@ -1118,7 +1118,7 @@ GST_START_TEST (test_complex_operations_bis) Priority : 2 */ - source1 = videotest_in_bin_gnl_src ("source1", 0, 4 * GST_SECOND, 1, 2); + source1 = videotest_in_bin_gnl_src ("source1", 0, 4 * GST_SECOND, 3, 2); if (source1 == NULL) { gst_object_unref (pipeline); gst_object_unref (comp); diff --git a/tests/check/gnl/gnlsource.c b/tests/check/gnl/gnlsource.c index cda6a3e..858f228 100644 --- a/tests/check/gnl/gnlsource.c +++ b/tests/check/gnl/gnlsource.c @@ -21,7 +21,7 @@ GST_START_TEST (test_simple_videotestsrc) Priority : 1 */ gnlsource = - videotest_gnl_src ("source1", 1 * GST_SECOND, 1 * GST_SECOND, 1, 1); + videotest_gnl_src ("source1", 1 * GST_SECOND, 1 * GST_SECOND, 2, 1); fail_if (gnlsource == NULL); check_start_stop_duration (gnlsource, 1 * GST_SECOND, 2 * GST_SECOND, 1 * GST_SECOND); @@ -126,7 +126,7 @@ GST_START_TEST (test_videotestsrc_in_bin) Duration : 1s Priority : 1 */ - gnlsource = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 1, 1); + gnlsource = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 2, 1); /* Handle systems which don't have alpha available */ if (gnlsource == NULL) return; diff --git a/tests/check/gnl/simple.c b/tests/check/gnl/simple.c index 1756345..a52f226 100644 --- a/tests/check/gnl/simple.c +++ b/tests/check/gnl/simple.c @@ -21,7 +21,7 @@ test_time_duration_full (gboolean async) Duration : 1s Priority : 1 */ - source1 = videotest_gnl_src ("source1", 0, 1 * GST_SECOND, 1, 1); + source1 = videotest_gnl_src ("source1", 0, 1 * GST_SECOND, 3, 1); fail_if (source1 == NULL); check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); @@ -108,7 +108,7 @@ test_one_after_other_full (gboolean async) */ source1 = videotest_gnl_src_full ("source1", 0, 1 * GST_SECOND, 5 * GST_SECOND, - 1 * GST_SECOND, 1, 1); + 1 * GST_SECOND, 3, 1); fail_if (source1 == NULL); check_start_stop_duration (source1, 0, 1 * GST_SECOND, 1 * GST_SECOND); @@ -317,7 +317,7 @@ test_one_under_another_full (gboolean async) Duration : 2s Priority : 1 */ - source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 1, 1); + source1 = videotest_gnl_src ("source1", 0, 2 * GST_SECOND, 3, 1); fail_if (source1 == NULL); check_start_stop_duration (source1, 0, 2 * GST_SECOND, 2 * GST_SECOND); @@ -453,7 +453,7 @@ test_one_bin_after_other_full (gboolean async) Duration : 1s Priority : 1 */ - source1 = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 1, 1); + source1 = videotest_in_bin_gnl_src ("source1", 0, 1 * GST_SECOND, 3, 1); if (source1 == NULL) { gst_object_unref (pipeline); gst_object_unref (comp); |