[totem-pl-parser] tests: Add print out for cancelled calls



commit 35acb99c6555fae30045726fec8c7f9d7dcce25d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 5 15:45:46 2012 +0100

    tests: Add print out for cancelled calls

 plparse/tests/parser.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index bf8a89a..378adb9 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -914,8 +914,10 @@ test_parsing_real (TotemPlParser *pl, const char *uri)
 		case TOTEM_PL_PARSER_RESULT_IGNORED:
 			g_message ("Ignored URI \"%s\".", uri);
 			break;
-		case TOTEM_PL_PARSER_RESULT_SUCCESS:
 		case TOTEM_PL_PARSER_RESULT_CANCELLED:
+			g_message ("Cancelled URI \"%s\".", uri);
+			break;
+		case TOTEM_PL_PARSER_RESULT_SUCCESS:
 		default:
 			g_assert_not_reached ();
 			;;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]