package com.tagtraum.perf.gcviewer.imp;

import com.tagtraum.perf.gcviewer.DataReader;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.io.InputStream;

/**
 *
 * Date: Jan 30, 2002
 * Time: 5:53:55 PM
 * @author <a href="mailto:hs@tagtraum.com">Hendrik Schreiber</a>
 * @version $Id: $
 */
public class TestDataReaderIBM1_3_1 extends TestCase {

    public TestDataReaderIBM1_3_1(String name) {
        super(name);
    }

    public void testParse1() throws Exception {
        InputStream in = getClass().getResourceAsStream("SampleIBM1_3_1.txt");
        DataReader reader = new DataReaderIBM1_3_1(in);
        reader.read();
    }

    public static TestSuite suite() {
        return new TestSuite(TestDataReaderIBM1_3_1.class);
    }

    public static void main(String[] args) {
        junit.textui.TestRunner.run(suite());
    }
}
