projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9dbe690
)
tests: Handle new assertion in gst_adapter_masked_scan_uint32
author
Edward Hervey
<bilboed@bilboed.com>
Sun, 19 Sep 2010 14:10:16 +0000
(16:10 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Sun, 19 Sep 2010 14:10:16 +0000
(16:10 +0200)
tests/check/libs/adapter.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/adapter.c
b/tests/check/libs/adapter.c
index
e9db72a
..
de0e4f9
100644
(file)
--- a/
tests/check/libs/adapter.c
+++ b/
tests/check/libs/adapter.c
@@
-688,9
+688,9
@@
GST_START_TEST (test_scan)
gst_adapter_masked_scan_uint32 (adapter, 0xff000000, 0x61000000, 0, 0x62);
fail_unless (offset == -1);
/* does not even exist */
- offset =
+
ASSERT_CRITICAL (
offset =
gst_adapter_masked_scan_uint32 (adapter, 0x00ffffff, 0xffffffff, 0x65,
-
99
);
+
99)
);
fail_unless (offset == -1);
/* flush some bytes */