FileDocCategorySizeDatePackage
AssertionSetTest.javaAPI DocExample3175Tue May 29 16:57:36 BST 2007com.sun.xml.ws.policy

AssertionSetTest

public class AssertionSetTest extends AbstractPolicyApiClassTestBase

Fields Summary
Constructors Summary
public AssertionSetTest(String testName)

        super(testName);
    
Methods Summary
protected AssertionSet[][]getEqualInstanceRows()

        Collection<AssertionSet[]> rows = new LinkedList<AssertionSet[]>();
        
        for (String name : PolicyResourceLoader.SINGLE_ALTERNATIVE_POLICY) {
            Iterator<AssertionSet> iteratorA = PolicyResourceLoader.loadPolicy(name).iterator();
            Iterator<AssertionSet> iteratorB = PolicyResourceLoader.loadPolicy(name).iterator();
            
            if (iteratorA.hasNext()) {
                rows.add(new AssertionSet[] {iteratorA.next(), iteratorB.next()});
            }            
        }
        
        return rows.toArray(new AssertionSet[rows.size()][]);
    
protected voidsetUp()

    
protected voidtearDown()