mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
gstreamer: Update serde flags tests for new ObjectFlags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1401>
This commit is contained in:
parent
c5111ddcc2
commit
18a02f6d34
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ mod tests {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
check_serialize!(crate::MetaFlags::all(), "\"readonly+pooled+locked\"");
|
check_serialize!(crate::MetaFlags::all(), "\"readonly+pooled+locked\"");
|
||||||
check_serialize!(crate::ObjectFlags::all(), "\"may-be-leaked\"");
|
check_serialize!(crate::ObjectFlags::all(), "\"may-be-leaked+constructed\"");
|
||||||
check_serialize!(
|
check_serialize!(
|
||||||
crate::PadFlags::all(),
|
crate::PadFlags::all(),
|
||||||
concat!(
|
concat!(
|
||||||
|
@ -363,7 +363,7 @@ mod tests {
|
||||||
check_deserialize!(
|
check_deserialize!(
|
||||||
crate::ObjectFlags,
|
crate::ObjectFlags,
|
||||||
crate::ObjectFlags::all(),
|
crate::ObjectFlags::all(),
|
||||||
"\"may-be-leaked\""
|
"\"may-be-leaked+constructed\""
|
||||||
);
|
);
|
||||||
check_deserialize!(
|
check_deserialize!(
|
||||||
crate::PadFlags,
|
crate::PadFlags,
|
||||||
|
|
Loading…
Reference in a new issue