public class TestChecksumUtility
extends junit.framework.TestCase
ChecksumUtility
.Constructor and Description |
---|
TestChecksumUtility() |
TestChecksumUtility(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
test_checksum01()
Test verifies that the checksum of the buffer is being computed
correctly.
|
void |
test_checksum02()
Test verifies that only the specified region of the buffer is used to
compute the checksum.
|
void |
test_checksum03()
Test verifies that the mark, position and limit are unchanged by the
checksum operation.
|
void |
test_checksum04_direct() |
void |
test_checksum04()
Verify that the computed checksum is the same whether the buffer is
backed by an array or not.
|
void |
test_checksum05_direct()
Verify that the computed checksum is the same whether the buffer is
backed by an array or not when the checksum is computed for only a region
of the buffer (native heap buffer version).
|
void |
test_checksum05()
Verify that the computed checksum is the same whether the buffer is
backed by an array or not when the checksum is computed for only a region
of the buffer (java heap buffer version).
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestChecksumUtility()
public TestChecksumUtility(String arg0)
arg0
- protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void test_checksum01()
public void test_checksum02()
public void test_checksum03()
public void test_checksum04()
public void test_checksum04_direct()
public void test_checksum05()
public void test_checksum05_direct()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.