Split long lines
[gnash.git] / testsuite / as3compile.all / check.as
blob58a72eb401e0034db2258dc9af462f821d689019
1 // check.as - Include file for SWFC testcases providing common testing facilities
2 //
3 // Copyright (C) 2005, 2006, 2007, 2009, 2010 Free Software
4 // Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef GNASH_AS3_CHECK_AS
22 #define GNASH_AS3_CHECK_AS
24 #include "dejagnu.as"
26 #define DEJAGNU_OBJ import dejagnu.Dejagnu
28 #define _INFO_ ' ['+__FILE__+':'+__LINE__+']'
30 #define check_equals(a, b) Dejagnu.check_equals(a, b, _INFO_, #a);
32 #define xcheck_equals(a, b) Dejagnu.xcheck_equals(a, b, _INFO_, #a);
34 #define check(a) Dejagnu.check(a, _INFO_);
35 #define xcheck(a) Dejagnu.xcheck(a, _INFO_);
37 #define done() Dejagnu.done();
39 #define pass(text) Dejagnu.pass(text + _INFO_)
40 #define xpass(text) Dejagnu.xpass(text + _INFO_)
41 #define fail(text) Dejagnu.fail(text + _INFO_)
42 #define xfail(text) Dejagnu.xfail(text + _INFO_)
43 #define pass(text) Dejagnu.pass(text + _INFO_)
44 #define untested(text) Dejagnu.untested(text + _INFO_)
45 #define unresolved(text) Dejagnu.unresolved(text + _INFO_)
47 #define note(text) Dejagnu.note(text + _INFO_);
49 #define totals(x) Dejagnu.totals(x, _INFO_)
51 #define xtotals(x) Dejagnu.xtotals(x, _INFO_)
53 #define _QUOTEME(x) #x
54 #define QUOTEME(x) _QUOTEME(x)
55 #define MEDIA(x) QUOTEME(MEDIADIR/x)
57 #endif