sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1735633 - /sis/branches/JDK8/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/HyperRectangleReaderTest.java
Date Fri, 18 Mar 2016 16:13:10 GMT
Author: desruisseaux
Date: Fri Mar 18 16:13:05 2016
New Revision: 1735633

URL: http://svn.apache.org/viewvc?rev=1735633&view=rev
Log:
Enable use of random number for the MemoryTransfer test.

Modified:
    sis/branches/JDK8/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/HyperRectangleReaderTest.java

Modified: sis/branches/JDK8/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/HyperRectangleReaderTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/HyperRectangleReaderTest.java?rev=1735633&r1=1735632&r2=1735633&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/HyperRectangleReaderTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/HyperRectangleReaderTest.java
[UTF-8] Fri Mar 18 16:13:05 2016
@@ -226,15 +226,15 @@ public final strictfp class HyperRectang
     }
 
     /**
-     * Tests reading data in an existing buffer, without channel.
+     * Tests reading data from an existing buffer, without channel.
      *
      * @throws IOException should never happen.
      * @throws DataStoreException should never happen.
      */
     @Test
     @DependsOnMethod("testRandom")
-    public void testReadFromBuffer() throws IOException, DataStoreException {
-        initialize(TestUtilities.createRandomNumberGenerator(4), false);
+    public void testMemoryTransfer() throws IOException, DataStoreException {
+        initialize(TestUtilities.createRandomNumberGenerator(), false);
         verifyRegionRead();
         assertUsedChannel(false);
     }



Mime
View raw message