org.jboss.test.audit.report
Class AssertionGroup

java.lang.Object
  extended by org.jboss.test.audit.report.SectionItem
      extended by org.jboss.test.audit.report.AssertionGroup
All Implemented Interfaces:
Comparable<SectionItem>

public class AssertionGroup
extends SectionItem

Represents a group of assertions, with each assertion testing an aspect of a statement made by the spec.

Author:
Shane Bryzak

Constructor Summary
AssertionGroup(String section)
           
 
Method Summary
 void addAssertion(AuditAssertion assertion)
           
 int compareTo(SectionItem other)
           
 List<AuditAssertion> getAssertions()
           
 
Methods inherited from class org.jboss.test.audit.report.SectionItem
getSection, getText, setSection, setText, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionGroup

public AssertionGroup(String section)
Method Detail

addAssertion

public void addAssertion(AuditAssertion assertion)

getAssertions

public List<AuditAssertion> getAssertions()

compareTo

public int compareTo(SectionItem other)
Specified by:
compareTo in interface Comparable<SectionItem>
Specified by:
compareTo in class SectionItem


Copyright © 2009-2012. All Rights Reserved.