~ubuntu-branches/ubuntu/vivid/gloox/vivid-proposed

« back to all changes in this revision

Viewing changes to src/tests/dataform/dataform_test.cpp

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-03-16 17:34:43 UTC
  • mfrom: (12.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20140316173443-4s177dovzaz5dm8o
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
  if( f->instructions() != instructions )
28
28
  {
29
29
    ++fail;
30
 
    printf( "test '%s' failed\n", name.c_str() );
 
30
    fprintf( stderr, "test '%s' failed\n", name.c_str() );
31
31
  }
32
32
  if( f->title() != title )
33
33
  {
34
34
    ++fail;
35
 
    printf( "test '%s' failed\n", name.c_str() );
 
35
    fprintf( stderr, "test '%s' failed\n", name.c_str() );
36
36
  }
37
37
  if( f->type() != TypeForm )
38
38
  {
39
39
    ++fail;
40
 
    printf( "test '%s' failed\n", name.c_str() );
 
40
    fprintf( stderr, "test '%s' failed\n", name.c_str() );
41
41
  }
42
42
  delete f;
43
43
  f = 0;
52
52
  }
53
53
  else
54
54
  {
55
 
    printf( "DataForm: %d test(s) failed\n", fail );
 
55
    fprintf( stderr, "DataForm: %d test(s) failed\n", fail );
56
56
    return 1;
57
57
  }
58
58