cc.mallet.types.tests
Class TestLabelAlphabet

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cc.mallet.types.tests.TestLabelAlphabet
All Implemented Interfaces:
junit.framework.Test

public class TestLabelAlphabet
extends junit.framework.TestCase

Created: Nov 24, 2004

Version:
$Id: TestLabelAlphabet.java,v 1.1 2007/10/22 21:37:55 mccallum Exp $
Author:
Constructor Summary
TestLabelAlphabet(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testReadResolve()
          Tests how serializing labels separately can lead to big losses.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestLabelAlphabet

public TestLabelAlphabet(java.lang.String name)
Method Detail

testReadResolve

public void testReadResolve()
                     throws java.io.IOException,
                            java.lang.ClassNotFoundException
Tests how serializing labels separately can lead to big losses. This currently fails. I'm not sure what to do about this. -cas

Throws:
java.io.IOException
java.lang.ClassNotFoundException

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Throws:
java.lang.Throwable