org.apache.commons.lang
Class BitFieldTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.lang.BitFieldTest
All Implemented Interfaces:
junit.framework.Test

public class BitFieldTest
extends junit.framework.TestCase

Class to test BitField functionality

Version:
$Id: BitFieldTest.java 437554 2006-08-28 06:21:41Z bayard $
Author:
Scott Sanders, Marc Johnson, Glen Stampoultzis

Constructor Summary
BitFieldTest(java.lang.String name)
          Constructor BitFieldTest
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testByte()
           
 void testClear()
          test the clear() method
 void testClearShort()
          test the clearShort() method
 void testGetRawValue()
          test the getRawValue() method
 void testGetShortRawValue()
          test the getShortRawValue() method
 void testGetShortValue()
          test the getShortValue() method
 void testGetValue()
          test the getValue() method
 void testIsAllSet()
          test the isAllSet() method
 void testIsSet()
          test the isSet() method
 void testSet()
          test the set() method
 void testSetBoolean()
          test the setBoolean() method
 void testSetShort()
          test the setShort() method
 void testSetShortBoolean()
          test the setShortBoolean() method
 void testSetShortValue()
          test the setShortValue() method
 void testSetValue()
          test the setValue() method
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitFieldTest

public BitFieldTest(java.lang.String name)
Constructor BitFieldTest

Parameters:
name -
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testGetValue

public void testGetValue()
test the getValue() method


testGetShortValue

public void testGetShortValue()
test the getShortValue() method


testGetRawValue

public void testGetRawValue()
test the getRawValue() method


testGetShortRawValue

public void testGetShortRawValue()
test the getShortRawValue() method


testIsSet

public void testIsSet()
test the isSet() method


testIsAllSet

public void testIsAllSet()
test the isAllSet() method


testSetValue

public void testSetValue()
test the setValue() method


testSetShortValue

public void testSetShortValue()
test the setShortValue() method


testByte

public void testByte()

testClear

public void testClear()
test the clear() method


testClearShort

public void testClearShort()
test the clearShort() method


testSet

public void testSet()
test the set() method


testSetShort

public void testSetShort()
test the setShort() method


testSetBoolean

public void testSetBoolean()
test the setBoolean() method


testSetShortBoolean

public void testSetShortBoolean()
test the setShortBoolean() method



Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.