[libpeas: 15/18] Test multiple engine shutdown in the test case



commit 64c187410c2d055d151e62dcf2ba0ffb7fb74e72
Author: Garrett Regier <alias301 gmail com>
Date:   Thu Mar 3 04:46:21 2011 -0800

    Test multiple engine shutdown in the test case

 tests/libpeas/engine.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/libpeas/engine.c b/tests/libpeas/engine.c
index 4f3fdad..ae55ecf 100644
--- a/tests/libpeas/engine.c
+++ b/tests/libpeas/engine.c
@@ -361,6 +361,7 @@ test_engine_shutdown (PeasEngine *engine)
 
   /* Should be able to shutdown multiple times */
   peas_engine_shutdown ();
+  peas_engine_shutdown ();
 
   /* Cannot get the default as libpeas has been shutdown */
   if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDOUT | G_TEST_TRAP_SILENCE_STDERR))



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