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

« back to all changes in this revision

Viewing changes to src/tests/stanzaextensionfactory/stanzaextensionfactory_perf.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:
53
53
  if( se == 0 || se == set || se->tag() != b )
54
54
  {
55
55
    ++fail;
56
 
    printf( "test '%s' failed\n", name.c_str() );
 
56
    fprintf( stderr, "test '%s' failed\n", name.c_str() );
57
57
  }
58
58
  delete f;
59
59
 
62
62
  if( !sef.removeExtension( ExtUser + 1 ) )
63
63
  {
64
64
    ++fail;
65
 
    printf( "test '%s' failed\n", name.c_str() );
 
65
    fprintf( stderr, "test '%s' failed\n", name.c_str() );
66
66
  }
67
67
 
68
68
 
73
73
  }
74
74
  else
75
75
  {
76
 
    printf( "StanzaExtensionFactory: %d test(s) failed\n", fail );
 
76
    fprintf( stderr, "StanzaExtensionFactory: %d test(s) failed\n", fail );
77
77
    return 1;
78
78
  }
79
79