26
26
|| t->xml() != "<note type='info'>content</note>" )
29
printf( "test '%s' failed\n", name.c_str() );
29
fprintf( stderr, "test '%s' failed\n", name.c_str() );
41
41
|| t->xml() != "<note type='warn'>content</note>" )
44
printf( "test '%s' failed\n", name.c_str() );
53
Adhoc::Command::Note n( Adhoc::Command::Note::Error, "content" );
55
if( n.severity() != Adhoc::Command::Note::Error || n.content() != "content"
56
|| t->xml() != "<note type='error'>content</note>" )
59
printf( "test '%s' failed\n", name.c_str() );
68
Adhoc::Command::Note n( Adhoc::Command::Note::Error, "content" );
70
if( n.severity() != Adhoc::Command::Note::Error || n.content() != "content"
71
|| t->xml() != "<note type='error'>content</note>" )
74
printf( "test '%s' failed\n", name.c_str() );
44
fprintf( stderr, "test '%s' failed\n", name.c_str() );
53
Adhoc::Command::Note n( Adhoc::Command::Note::Error, "content" );
55
if( n.severity() != Adhoc::Command::Note::Error || n.content() != "content"
56
|| t->xml() != "<note type='error'>content</note>" )
59
fprintf( stderr, "test '%s' failed\n", name.c_str() );
68
Adhoc::Command::Note n( Adhoc::Command::Note::Error, "content" );
70
if( n.severity() != Adhoc::Command::Note::Error || n.content() != "content"
71
|| t->xml() != "<note type='error'>content</note>" )
74
fprintf( stderr, "test '%s' failed\n", name.c_str() );