[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog doc/C/internals.xml
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog doc/C/internals.xml |
Date: |
Sat, 30 Dec 2006 23:41:42 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/12/30 23:41:42
Modified files:
. : ChangeLog
doc/C : internals.xml
Log message:
* doc/C/internals.xml: updated section about writing Ming-based
self-contained tests.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2018&r2=1.2019
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/internals.xml?cvsroot=gnash&r1=1.47&r2=1.48
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2018
retrieving revision 1.2019
diff -u -b -r1.2018 -r1.2019
--- ChangeLog 30 Dec 2006 23:39:04 -0000 1.2018
+++ ChangeLog 30 Dec 2006 23:41:42 -0000 1.2019
@@ -1,5 +1,7 @@
2006-12-30 Sandro Santilli <address@hidden>
+ * doc/C/internals.xml: updated section about writing Ming-based
+ self-contained tests.
* testsuite/misc-ming.all/ming_utils.{h,c}:
Added compile_actions() method, removed check/check_equals
function and substituted with
Index: doc/C/internals.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/internals.xml,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- doc/C/internals.xml 12 Dec 2006 22:44:29 -0000 1.47
+++ doc/C/internals.xml 30 Dec 2006 23:41:42 -0000 1.48
@@ -2088,24 +2088,29 @@
<para>
You will <emphasis>not</emphasis> need to directly invoke the
TestState object created by the 'add_dejagnu_functions()' routine,
- rather you will be using other C functions which hide its complexity:
+ rather you will be using C macros hiding its complexity:
<programlisting>
- check(SWFMovie mo, const char* expr, int expect_failure)
+ check(SWFMovie mo, const char* expr)
Evaluate an ActionScript expression.
- If 'expect_failure' is true a failure is expected
- (for cases where the call exposes a known bug).
- check_equals(SWFMovie mo, const char* obtained,
- const char* expected, int expect_failure)
+ xcheck(SWFMovie mo, const char* expr)
- Evaluate an ActionScript expression against an
- expected output.
- If 'expect_failure' is true a failure is expected
+ Evaluate an ActionScript expression.
+ A failure is expected
(for cases where the call exposes a known bug).
+ check_equals(SWFMovie mo, const char* obtained, const char* expected)
+
+ Evaluate an ActionScript expression against an expected output.
+
+ xcheck_equals(SWFMovie mo, const char* obtained, const char* expected)
+
+ Evaluate an ActionScript expression against an expected output.
+ A failure is expected (for cases where the call exposes a known
bug).
+
print_tests_summary(SWFMovie mo)
This will print a summary of tests run, and should be