Index: server/pifr_server.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue_file_review/server/pifr_server.js,v
retrieving revision 1.6
diff -u -r1.6 pifr_server.js
--- server/pifr_server.js	13 Oct 2009 20:40:24 -0000	1.6
+++ server/pifr_server.js	18 Nov 2009 01:17:30 -0000
@@ -13,6 +13,8 @@
     $(this).prev().addClass('pifr-assertion-header');
 
     $(this).prev().click(function() {
+      var index = ($(this).next().css('display') == 'none' ? 1 : 0);
+      $(this).find('img').replaceWith(Drupal.settings.pifr_assertion[index]);
       $(this).next().toggle();
     });
   });
Index: server/pifr_server.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue_file_review/server/pifr_server.css,v
retrieving revision 1.5
diff -u -r1.5 pifr_server.css
--- server/pifr_server.css	3 Nov 2009 19:35:19 -0000	1.5
+++ server/pifr_server.css	18 Nov 2009 01:17:30 -0000
@@ -61,6 +61,10 @@
   background-color: white;
 }
 
+.pifr-assertion-header img {
+  margin: 0 10px 0 5px;
+}
+
 /* Status page
  **************/
 #pifr-graphs div.ui-tabs-panel {
Index: review/assertion/pifr_assertion.server.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue_file_review/review/assertion/pifr_assertion.server.inc,v
retrieving revision 1.4
diff -u -r1.4 pifr_assertion.server.inc
--- review/assertion/pifr_assertion.server.inc	3 Nov 2009 19:40:23 -0000	1.4
+++ review/assertion/pifr_assertion.server.inc	18 Nov 2009 01:17:30 -0000
@@ -107,6 +107,14 @@
       'debug' => theme('image', 'misc/watchdog-warning.png'),
     );
 
+    // Map of arrow images.
+    $js = array(
+      theme('image', 'misc/menu-collapsed.png', 'Expand', 'Expand'),
+      theme('image', 'misc/menu-expanded.png', 'Collapsed', 'Collapsed'),
+      theme('image', 'misc/menu-leaf.png', 'Leaf', 'Leaf'),
+    );
+    drupal_add_js(array('pifr_assertion' => $js), 'setting');
+
     // Build list of test summaries.
     $header = array(t('Test name'), t('Pass'), t('Fail'), t('Exception'));
     $rows = array();
@@ -114,7 +122,7 @@
       // Display the summary of the test.
       $row = array();
 
-      $row[] = $detail['test_name'];
+      $row[] = ($detail['assertions'] ? $js[0] : $js[2]) . $detail['test_name'];
       $row[] = $detail['pass'];
       $row[] = $detail['fail'];
       $row[] = $detail['exception'];
