org.alfresco.repo.search.impl.lucene.analysis
Class NumericEncodingTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.search.impl.lucene.analysis.NumericEncodingTest
All Implemented Interfaces:
junit.framework.Test

public class NumericEncodingTest
extends junit.framework.TestCase

Tests for string encoding


Constructor Summary
NumericEncodingTest()
           
NumericEncodingTest(java.lang.String arg0)
           
 
Method Summary
 void testDoubleEncoding()
          Sample test for double
 void testFloatEncoding()
          Sample test for float
 void testIntegerEncoding()
          Sample test for int
 void testLongEncoding()
          Sample test for long
 void xtestAllFloatEncodings()
          Do an exhaustive test for float
 void xtestAllIntegerEncodings()
          Do an exhaustive test for integers
 
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

NumericEncodingTest

public NumericEncodingTest()

NumericEncodingTest

public NumericEncodingTest(java.lang.String arg0)
Parameters:
arg0 -
Method Detail

xtestAllIntegerEncodings

public void xtestAllIntegerEncodings()
Do an exhaustive test for integers


xtestAllFloatEncodings

public void xtestAllFloatEncodings()
Do an exhaustive test for float


testIntegerEncoding

public void testIntegerEncoding()
Sample test for int


testLongEncoding

public void testLongEncoding()
Sample test for long


testFloatEncoding

public void testFloatEncoding()
Sample test for float


testDoubleEncoding

public void testDoubleEncoding()
Sample test for double



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.