net.sf.magicproject.test
Class TestFactory

java.lang.Object
  extended by net.sf.magicproject.test.TestFactory

public final class TestFactory
extends java.lang.Object

Since:
0.90
Author:
Fabrice Daugan

Method Summary
static void init(java.io.InputStream dbStream)
          Read available action constraints and abilities references.
static Test readNextTest(java.io.InputStream inputFile)
          Return the next Test read from the current offset.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readNextTest

public static Test readNextTest(java.io.InputStream inputFile)
                         throws java.io.IOException
Return the next Test read from the current offset.

Parameters:
inputFile - is the file containing this test
Returns:
the next Test read from the current offset
Throws:
java.io.IOException - if error occurred during the reading process from the specified input stream

init

public static void init(java.io.InputStream dbStream)
                 throws java.io.IOException
Read available action constraints and abilities references.

Parameters:
dbStream - the mdb stream's header.
Throws:
java.io.IOException - error during the test reading.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.