com.hp.hpl.jena.util
Class TestManifestList

java.lang.Object
  extended bycom.hp.hpl.jena.util.TestManifestList

public class TestManifestList
extends java.lang.Object

Wrapper class for handling models containg a test manifest according to the vocabulary http://jena.hpl.hp.com/2003/03/test-manifest#. The test manifest framework takes a description file or model and provides a set of convenience operations on the manifest. Entries are in order they are in the lists in the manifest but if the manifest model conatins multiple lists, i.e. theer are muitple manifest objects or a manifest object has mutiple lists, then the order between the lists is not determined.

Version:
$Id: TestManifestList.java,v 1.4 2003/08/27 13:07:55 andy_seaborne Exp $
Author:
Andy Seaborne

Nested Class Summary
static interface TestManifestList.ActionProc
          Action to perform on each entry of the manifest file to create the test
 class TestManifestList.TestItem
           
 class TestManifestList.TestIterator
          Iterator over all the manifest entries found in the model.
static class TestManifestList.TestPrinter
          Simple printer for simple manifests.
 
Constructor Summary
TestManifestList(Model m)
           
TestManifestList(java.lang.String filename)
           
 
Method Summary
 junit.framework.TestSuite builtTests(TestManifestList.ActionProc actionProc)
          Apply an ActionProc to every item in the manifest to create a JUnit test suite.
 Model getModel()
           
 TestManifestList.TestIterator iterator()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestManifestList

public TestManifestList(java.lang.String filename)

TestManifestList

public TestManifestList(Model m)
Method Detail

getModel

public Model getModel()

iterator

public TestManifestList.TestIterator iterator()

builtTests

public junit.framework.TestSuite builtTests(TestManifestList.ActionProc actionProc)
Apply an ActionProc to every item in the manifest to create a JUnit test suite.

Parameters:
actionProc -
Returns:
TestSuite

main

public static void main(java.lang.String[] args)


Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.