mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
gl: Update serde serialization tests for new flags/enum variants
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1343>
This commit is contained in:
parent
9bc2a3dbf5
commit
39b472ce8b
1 changed files with 4 additions and 4 deletions
|
@ -46,12 +46,12 @@ mod tests {
|
||||||
crate::GLConfigSurfaceType::all(),
|
crate::GLConfigSurfaceType::all(),
|
||||||
"\"window+pbuffer+pixmap\""
|
"\"window+pbuffer+pixmap\""
|
||||||
);
|
);
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_24")]
|
||||||
check_serialize!(
|
check_serialize!(
|
||||||
crate::GLDisplayType::all(),
|
crate::GLDisplayType::all(),
|
||||||
concat!(
|
concat!(
|
||||||
"\"x11+wayland+cocoa+win32+dispmanx+egl+viv-fb+gbm+egl-device",
|
"\"x11+wayland+cocoa+win32+dispmanx+egl+viv-fb+gbm+egl-device",
|
||||||
"+eagl+winrt+android\""
|
"+eagl+winrt+android+egl-surfaceless\""
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
check_serialize!(crate::GLPlatform::all(), "\"egl+glx+wgl+cgl+eagl\"");
|
check_serialize!(crate::GLPlatform::all(), "\"egl+glx+wgl+cgl+eagl\"");
|
||||||
|
@ -73,13 +73,13 @@ mod tests {
|
||||||
crate::GLConfigSurfaceType::all(),
|
crate::GLConfigSurfaceType::all(),
|
||||||
"\"none+window+pbuffer+pixmap\""
|
"\"none+window+pbuffer+pixmap\""
|
||||||
);
|
);
|
||||||
#[cfg(feature = "v1_20")]
|
#[cfg(feature = "v1_24")]
|
||||||
check_deserialize!(
|
check_deserialize!(
|
||||||
crate::GLDisplayType,
|
crate::GLDisplayType,
|
||||||
crate::GLDisplayType::all(),
|
crate::GLDisplayType::all(),
|
||||||
concat!(
|
concat!(
|
||||||
"\"x11+wayland+cocoa+win32+dispmanx+egl+viv-fb+gbm+egl-device",
|
"\"x11+wayland+cocoa+win32+dispmanx+egl+viv-fb+gbm+egl-device",
|
||||||
"+eagl+winrt+android\""
|
"+eagl+winrt+android+egl-surfaceless\""
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
check_deserialize!(
|
check_deserialize!(
|
||||||
|
|
Loading…
Reference in a new issue