From: Mathieu Duponchelle Date: Wed, 14 Sep 2022 22:06:49 +0000 (+0200) Subject: tests: parse-launch: remove assignment order tests X-Git-Tag: 1.22.0~753 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0598767f08b442b06cb432751789c854f7fa9ca;p=platform%2Fupstream%2Fgstreamer.git tests: parse-launch: remove assignment order tests These tests relied on setting the name of an element twice to verify that the last one set took precedence, however name is a CONSTRUCT property and the parser now errors out when such properties are set twice, in g_object_new_with_properties . Part-of: --- diff --git a/subprojects/gstreamer/tests/check/pipelines/parse-launch.c b/subprojects/gstreamer/tests/check/pipelines/parse-launch.c index d313ae4..f0fd735 100644 --- a/subprojects/gstreamer/tests/check/pipelines/parse-launch.c +++ b/subprojects/gstreamer/tests/check/pipelines/parse-launch.c @@ -102,7 +102,6 @@ static const gchar *test_lines[] = { "fakesrc name=100 fakesink name=101 silent=true 100. ! 101.", /* linking with named reference on both sides */ "fakesrc ! 1__dentity ! fakesink silent=true", /* using a freshly registered element type */ "fakesrc ! tee name=t t.src_12 ! queue ! fakesink t.src_3 ! queue ! fakesink", - "fakesrc name=foo name=fin fin. ! fakesink", /* testing assignments are executed in correct order (left-to-right) */ "( fakesrc ) ! fakesink", /* ghostPad creation on-the-fly, infix notation link */ "( fakesrc name=dasrc ) dasrc. ! fakesink", /* ghostPad creation on-the-fly, named link */ /* "(name=mabin fakesrc) mabin. ! fakesink", FIXME: linking to named bin does not work yet */ @@ -366,8 +365,6 @@ static const gchar *expected_failures[] = { "fakesrc ! fakesink s.ch1", /* unlinked src/sink URI */ "http://eff.org fakesrc ! fakesink", - /* catch assignments evaluated in wrong order */ - "fakesrc name=ss name=st ss. ! fakesink", /* unbalanced brackets */ "(", ")", ") (", /* END: */