~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to unittest/mytap/tap.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
   @endcode
99
99
 
100
100
   @param pass Zero if the test failed, non-zero if it passed.
101
 
   @param fmt  Format string in printf() format. NULL is allowed, in
102
 
               which case nothing is printed.
 
101
   @param fmt  Format string in printf() format. NULL is not allowed,
 
102
               use ok1() in this case.
103
103
*/
104
104
 
105
105
void ok(int const pass, char const *fmt, ...)
107
107
 
108
108
 
109
109
/**
 
110
   Report test result as a TAP line.
 
111
 
 
112
   Same as ok() but does not take a message to be printed.
 
113
 
 
114
   @param pass Zero if the test failed, non-zero if it passed.
 
115
*/
 
116
 
 
117
void ok1(int const pass);
 
118
 
 
119
 
 
120
/**
110
121
   Skip a determined number of tests.
111
122
 
112
123
   Function to print that <em>how_many</em> tests have been skipped.