module Test::Unit::TestResultNotificationSupport

def add_notification(notification)

Records a Test::Unit::Notification.
def add_notification(notification)
  @notifications << notification
  notify_fault(notification)
  notify_changed
end

def initialize_containers

def initialize_containers
  super
  @notifications = []
  @summary_generators << :notification_summary
end

def notification_count

recorded.
Returns the number of notifications this TestResult has
def notification_count
  @notifications.size
end

def notification_summary

def notification_summary
  "#{notification_count} notifications"
end