Displaying 2 results from an estimated 2 matches for "if_fail".
Did you mean:
ida_fail
2007 Apr 12
0
dumping data to yaml in specs
I''m wondering whether I could dump out an object to yaml if a certain
spec fails. I believe you can do this sort of thing in test unit.
E.g.:
hash_one.should == hash_two if_failed? hash_two.to_yaml
Scott
2007 Mar 22
0
7 commits - configure.ac doc/swfdec-docs.sgml libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_js_movie.c test/trace
...onst char *filename, GError **error);
diff-tree 8b7586468eb8be730794df33ef1dc3371fa28fe4 (from 78f8f60164ab0703da6ad2ade859b41ef1602d98)
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Mar 22 17:29:19 2007 +0100
update SwfdecBuffer to swfdec API standards
- add g_return_(val_)if_fail to arguments
- document functions
diff --git a/libswfdec/swfdec_buffer.c b/libswfdec/swfdec_buffer.c
index 5de5ac8..49d47e7 100644
--- a/libswfdec/swfdec_buffer.c
+++ b/libswfdec/swfdec_buffer.c
@@ -29,10 +29,41 @@
#include <swfdec_debug.h>
#include <liboil/liboil.h>
-static vo...