Revision: 3866
http://bigdata.svn.sourceforge.net/bigdata/?rev=3866&view=rev
Author: thompsonbry
Date: 2010-11-02 12:48:14 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
Commented out two unit tests which have not been implemented as part of going "green".
Modified Paths:
--------------
branches/QUADS_QUERY_BRANCH/bigdata/src/test/com/bigdata/io/TestDirectBufferPoolAllocator.java
Modified: branches/QUADS_QUERY_BRANCH/bigdata/src/test/com/bigdata/io/TestDirectBufferPoolAllocator.java
===================================================================
--- branches/QUADS_QUERY_BRANCH/bigdata/src/test/com/bigdata/io/TestDirectBufferPoolAllocator.java 2010-11-02 12:43:16 UTC (rev 3865)
+++ branches/QUADS_QUERY_BRANCH/bigdata/src/test/com/bigdata/io/TestDirectBufferPoolAllocator.java 2010-11-02 12:48:14 UTC (rev 3866)
@@ -181,21 +181,21 @@
}
- /**
- * @todo Write a unit test to look for a memory leak in the backing
- * {@link DirectBufferPool} as allocations are released from the
- * {@link DirectBufferPoolAllocator}. However, not that the
- * {@link DirectBufferPool} DOES NOT release buffers back to the JVM
- * so the pool size will not decrease. Instead, what you have to do is
- * look to see that alloc/free alloc/free patterns do not cause the
- * #of allocated buffers on the {@link DirectBufferPool} to increase.
- */
- public void test_memoryLeak() {
+// /**
+// * @todo Write a unit test to look for a memory leak in the backing
+// * {@link DirectBufferPool} as allocations are released from the
+// * {@link DirectBufferPoolAllocator}. However, not that the
+// * {@link DirectBufferPool} DOES NOT release buffers back to the JVM
+// * so the pool size will not decrease. Instead, what you have to do is
+// * look to see that alloc/free alloc/free patterns do not cause the
+// * #of allocated buffers on the {@link DirectBufferPool} to increase.
+// */
+// public void test_memoryLeak() {
+//
+// fail("write test");
+//
+// }
- fail("write test");
-
- }
-
/**
* Unit tests for multiple allocations within the same. This verifies both
* the the manner in which the position and limit are updated as we walk
@@ -243,12 +243,12 @@
}
- /**
- * @todo write a unit test for
- * {@link DirectBufferPoolAllocator#put(byte[], IAllocation[])}.
- */
- public void test_put() {
- fail("write tests");
- }
+// /**
+// * @todo write a unit test for
+// * {@link DirectBufferPoolAllocator#put(byte[], IAllocation[])}.
+// */
+// public void test_put() {
+// fail("write tests");
+// }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|