The im4java Library, Version 1.4.0

org.im4java.test
Class TestCase8

java.lang.Object
  extended by org.im4java.test.AbstractTestCase
      extended by org.im4java.test.TestCase8
All Implemented Interfaces:
TestCase

public class TestCase8
extends AbstractTestCase

This class implements a test of the Info-class. The first argument is an image filename. If the image-name is "-" or "format:-", this test-case expects the file from stdin. The second argument is either true or false and controls if the program prints only basic image-information or the complete set available.

Since:
1.0.0
Version:
$Revision: 1.11 $
Author:
$Author: bablokb $

Field Summary
 
Fields inherited from class org.im4java.test.AbstractTestCase
iArgs, iImageDir, iTmpImage
 
Constructor Summary
TestCase8()
           
 
Method Summary
 java.lang.String getDescription()
          Return the description of the test.
static void main(java.lang.String[] args)
          Main method.
 void run()
          Run the test.
 
Methods inherited from class org.im4java.test.AbstractTestCase
runTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCase8

public TestCase8()
Method Detail

getDescription

public java.lang.String getDescription()
Return the description of the test.


main

public static void main(java.lang.String[] args)
Main method. Just calls AbstractTestCase.runTest(), which catches and prints exceptions.


run

public void run()
         throws java.lang.Exception
Run the test.

Throws:
java.lang.Exception

The im4java Library, Version 1.4.0

Released under the LGPL, (c) Bernhard Bablok 2008-2010
Homepage: http://im4java.sourceforge.net/