Closed puntogil closed 6 years ago
It seems com.carrotsearch.randomizedtesting:junit4-ant happen something wrong ... and it is unable to load org.junit.Assert methods in classpath I wrote a patch for this drawback:
--- ./src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java 2014-11-26 20:04:10.000000000 +0100
+++ ./src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java 2016-05-03 17:08:40.285741530 +0200
@@ -207,11 +207,11 @@
final LZ4FastDecompressor decompressor = LZ4Factory.fastestInstance().fastDecompressor();
InputStream is = new LZ4BlockInputStream(open(compressed.toByteArray()), decompressor, checksum);
- assertFalse(is.markSupported());
+ org.junit.Assert.assertFalse(is.markSupported());
try {
is.mark(1);
is.reset();
- assertFalse(true);
+ org.junit.Assert.assertFalse(true);
} catch (IOException e) {
// OK
}
@@ -235,8 +235,8 @@
}
}
is.close();
- assertEquals(data.length, read);
- assertArrayEquals(data, Arrays.copyOf(restored, read));
+ org.junit.Assert.assertEquals(data.length, read);
+ org.junit.Assert.assertArrayEquals(data, Arrays.copyOf(restored, read));
// test skip
final int offset = data.length <= 1 ? 0 : randomInt(data.length - 1);
@@ -246,17 +246,17 @@
read = 0;
while (read < offset) {
final long skipped = is.skip(offset - read);
- assertTrue(skipped >= 0);
+ org.junit.Assert.assertTrue(skipped >= 0);
read += skipped;
}
read = 0;
while (read < length) {
final int r = is.read(restored, read, length - read);
- assertTrue(r >= 0);
+ org.junit.Assert.assertTrue(r >= 0);
read += r;
}
is.close();
- assertArrayEquals(Arrays.copyOfRange(data, offset, offset + length), Arrays.copyOfRange(restored, 0, length));
+ org.junit.Assert.assertArrayEquals(Arrays.copyOfRange(data, offset, offset + length), Arrays.copyOfRange(restored, 0, length));
}
@Test
@@ -288,7 +288,7 @@
byte[] actual = new byte[testBytes.length];
in.read(actual);
- assertArrayEquals(testBytes, actual);
+ org.junit.Assert.assertArrayEquals(testBytes, actual);
in.close();
in.close();
--- ./src/test/net/jpountz/lz4/LZ4Test.java 2014-11-26 20:04:10.000000000 +0100
+++ ./src/test/net/jpountz/lz4/LZ4Test.java 2016-05-03 17:08:40.290743645 +0200
@@ -39,7 +39,7 @@
public void testMaxCompressedLength() {
final int len = randomBoolean() ? randomInt(16) : randomInt(1 << 30);
for (LZ4Compressor compressor : COMPRESSORS) {
- assertEquals(LZ4JNI.LZ4_compressBound(len), compressor.maxCompressedLength(len));
+ org.junit.Assert.assertEquals(LZ4JNI.LZ4_compressBound(len), compressor.maxCompressedLength(len));
}
}
@@ -75,8 +75,8 @@
byte[] compressed = getCompressedWorstCase(decompressed);
byte[] restored = new byte[decompressed.length];
int cpLen = decompressor.decompress(compressed, 0, restored, 0, decompressed.length);
- assertEquals(compressed.length, cpLen);
- assertArrayEquals(decompressed, restored);
+ org.junit.Assert.assertEquals(compressed.length, cpLen);
+ org.junit.Assert.assertArrayEquals(decompressed, restored);
}
@Test
@@ -93,8 +93,8 @@
byte[] compressed = getCompressedWorstCase(decompressed);
byte[] restored = new byte[decompressed.length];
int uncpLen = decompressor.decompress(compressed, 0, compressed.length, restored, 0);
- assertEquals(decompressed.length, uncpLen);
- assertArrayEquals(decompressed, restored);
+ org.junit.Assert.assertEquals(decompressed.length, uncpLen);
+ org.junit.Assert.assertArrayEquals(decompressed, restored);
}
@Test
@@ -130,8 +130,8 @@
final int compressedLen2 = tester.compress(compressor,
tester.copyOf(data), off, len,
compressed2, 0, compressedLen);
- assertEquals(compressedLen, compressedLen2);
- assertArrayEquals(
+ org.junit.Assert.assertEquals(compressedLen, compressedLen2);
+ org.junit.Assert.assertArrayEquals(
tester.copyOf(compressed, 0, compressedLen),
tester.copyOf(compressed2, 0, compressedLen));
@@ -141,21 +141,21 @@
tester.compress(compressor,
tester.copyOf(data), off, len,
compressed3, 0, compressedLen - 1);
- fail();
+ org.junit.Assert.fail();
} catch (LZ4Exception e) {
// OK
}
// test decompression
final T restored = tester.allocate(len);
- assertEquals(compressedLen, tester.decompress(decompressor, compressed, 0, restored, 0, len));
- assertArrayEquals(Arrays.copyOfRange(data, off, off + len), tester.copyOf(restored, 0, len));
+ org.junit.Assert.assertEquals(compressedLen, tester.decompress(decompressor, compressed, 0, restored, 0, len));
+ org.junit.Assert.assertArrayEquals(Arrays.copyOfRange(data, off, off + len), tester.copyOf(restored, 0, len));
if (len > 0) {
// dest is too small
try {
tester.decompress(decompressor, compressed, 0, restored, 0, len - 1);
- fail();
+ org.junit.Assert.fail();
} catch (LZ4Exception e) {
// OK
}
@@ -165,7 +165,7 @@
final T restored2 = tester.allocate(len+1);
try {
final int cpLen = tester.decompress(decompressor, compressed, 0, restored2, 0, len + 1);
- fail("compressedLen=" + cpLen);
+ org.junit.Assert.fail("compressedLen=" + cpLen);
} catch (LZ4Exception e) {
// OK
}
@@ -173,16 +173,16 @@
// try decompression when only the size of the compressed buffer is known
if (len > 0) {
tester.fill(restored, randomByte());
- assertEquals(len, tester.decompress(decompressor2, compressed, 0, compressedLen, restored, 0, len));
+ org.junit.Assert.assertEquals(len, tester.decompress(decompressor2, compressed, 0, compressedLen, restored, 0, len));
tester.fill(restored, randomByte());
} else {
- assertEquals(0, tester.decompress(decompressor2, compressed, 0, compressedLen, tester.allocate(1), 0, 1));
+ org.junit.Assert.assertEquals(0, tester.decompress(decompressor2, compressed, 0, compressedLen, tester.allocate(1), 0, 1));
}
// over-estimated compressed length
try {
final int decompressedLen = tester.decompress(decompressor2, compressed, 0, compressedLen + 1, tester.allocate(len + 100), 0, len + 100);
- fail("decompressedLen=" + decompressedLen);
+ org.junit.Assert.fail("decompressedLen=" + decompressedLen);
} catch (LZ4Exception e) {
// OK
}
@@ -191,7 +191,7 @@
try {
final int decompressedLen = tester.decompress(decompressor2, compressed, 0, compressedLen - 1, tester.allocate(len + 100), 0, len + 100);
if (!(decompressor2 instanceof LZ4JNISafeDecompressor)) {
- fail("decompressedLen=" + decompressedLen);
+ org.junit.Assert.fail("decompressedLen=" + decompressedLen);
}
} catch (LZ4Exception e) {
// OK
@@ -278,7 +278,7 @@
try {
// it is invalid to end with a match, should be at least 5 literals
decompressor.decompress(invalid, 0, new byte[decompressedLength], 0, decompressedLength);
- assertTrue(decompressor.toString(), false);
+ org.junit.Assert.assertTrue(decompressor.toString(), false);
} catch (LZ4Exception e) {
// OK
}
@@ -288,7 +288,7 @@
try {
// it is invalid to end with a match, should be at least 5 literals
decompressor.decompress(invalid, 0, invalid.length, new byte[20], 0);
- assertTrue(false);
+ org.junit.Assert.assertTrue(false);
} catch (LZ4Exception e) {
// OK
}
@@ -308,7 +308,7 @@
try {
// it is invalid to end with a match, should be at least 5 literals
decompressor.decompress(invalid, 0, new byte[20], 0, 20);
- assertTrue(decompressor.toString(), false);
+ org.junit.Assert.assertTrue(decompressor.toString(), false);
} catch (LZ4Exception e) {
// OK
}
@@ -318,7 +318,7 @@
try {
// it is invalid to end with a match, should be at least 5 literals
decompressor.decompress(invalid, 0, invalid.length, new byte[20], 0);
- assertTrue(false);
+ org.junit.Assert.assertTrue(false);
} catch (LZ4Exception e) {
// OK
}
@@ -333,7 +333,7 @@
ByteBuffer out = Tester.BYTE_BUFFER.allocate(100).asReadOnlyBuffer();
try {
compressor.compress(in, out);
- fail();
+ org.junit.Assert.fail();
} catch (ReadOnlyBufferException e) {
// ok
}
@@ -343,7 +343,7 @@
ByteBuffer out = Tester.BYTE_BUFFER.allocate(100).asReadOnlyBuffer();
try {
decompressor.decompress(in, out);
- fail();
+ org.junit.Assert.fail();
} catch (ReadOnlyBufferException e) {
// ok
}
@@ -354,7 +354,7 @@
out.limit(2);
try {
decompressor.decompress(in, out);
- fail();
+ org.junit.Assert.fail();
} catch (ReadOnlyBufferException e) {
// ok
}
@@ -457,7 +457,7 @@
}
final Sequence sequence1 = readSequence(expected, off);
final Sequence sequence2 = readSequence(actual, off);
- assertEquals(message + ", off=" + off + ", decompressedOff=" + decompressedOff, sequence1, sequence2);
+ org.junit.Assert.assertEquals(message + ", off=" + off + ", decompressedOff=" + decompressedOff, sequence1, sequence2);
off += sequence1.length;
decompressedOff += sequence1.literalLen + sequence1.matchLen;
}
--- ./src/test/net/jpountz/xxhash/XXHash32Test.java 2014-11-26 20:04:10.000000000 +0100
+++ ./src/test/net/jpountz/xxhash/XXHash32Test.java 2016-05-03 17:08:40.278738569 +0200
@@ -129,12 +129,12 @@
final int ref = XXHashFactory.nativeInstance().hash32().hash(buf, off, len, seed);
for (XXHash32 hash : INSTANCES) {
final int h = hash.hash(buf, off, len, seed);
- assertEquals(hash.toString(), ref, h);
+ org.junit.Assert.assertEquals(hash.toString(), ref, h);
final ByteBuffer copy = copyOf(buf, off, len);
final int h2 = hash.hash(copy, off, len, seed);
- assertEquals(off, copy.position());
- assertEquals(len, copy.remaining());
- assertEquals(hash.toString(), ref, h2);
+ org.junit.Assert.assertEquals(off, copy.position());
+ org.junit.Assert.assertEquals(len, copy.remaining());
+ org.junit.Assert.assertEquals(hash.toString(), ref, h2);
}
}
@@ -155,8 +155,8 @@
hash1.update(bytes, off, len);
hash2.update(bytes, off, len);
hash3.update(bytes, off, len);
- assertEquals(hash2.toString() + " " + totalLen, hash1.getValue(), hash2.getValue());
- assertEquals(hash3.toString() + " " + totalLen, hash1.getValue(), hash3.getValue());
+ org.junit.Assert.assertEquals(hash2.toString() + " " + totalLen, hash1.getValue(), hash2.getValue());
+ org.junit.Assert.assertEquals(hash3.toString() + " " + totalLen, hash1.getValue(), hash3.getValue());
totalLen += len;
}
}
--- ./src/test/net/jpountz/xxhash/XXHash64Test.java 2014-11-26 20:04:10.000000000 +0100
+++ ./src/test/net/jpountz/xxhash/XXHash64Test.java 2016-05-03 17:08:40.278738569 +0200
@@ -134,12 +134,12 @@
final long ref = XXHashFactory.nativeInstance().hash64().hash(buf, off, len, seed);
for (XXHash64 hash : INSTANCES) {
final long h = hash.hash(buf, off, len, seed);
- assertEquals(hash.toString(), ref, h);
+ org.junit.Assert.assertEquals(hash.toString(), ref, h);
final ByteBuffer copy = copyOf(buf, off, len);
final long h2 = hash.hash(copy, off, len, seed);
- assertEquals(off, copy.position());
- assertEquals(len, copy.remaining());
- assertEquals(hash.toString(), ref, h2);
+ org.junit.Assert.assertEquals(off, copy.position());
+ org.junit.Assert.assertEquals(len, copy.remaining());
+ org.junit.Assert.assertEquals(hash.toString(), ref, h2);
}
}
@@ -160,8 +160,8 @@
hash1.update(bytes, off, len);
hash2.update(bytes, off, len);
hash3.update(bytes, off, len);
- assertEquals(hash2.toString() + " " + totalLen, hash1.getValue(), hash2.getValue());
- assertEquals(hash3.toString() + " " + totalLen, hash1.getValue(), hash3.getValue());
+ org.junit.Assert.assertEquals(hash2.toString() + " " + totalLen, hash1.getValue(), hash2.getValue());
+ org.junit.Assert.assertEquals(hash3.toString() + " " + totalLen, hash1.getValue(), hash3.getValue());
totalLen += len;
}
}
tested on http://koji.fedoraproject.org/koji/taskinfo?taskID=13904683
Fixed by afe800967a5568b36f1b184297a3a57ec7f749cc and c88c623fc094c493f8ba4d796bf88a5ab2e29c5c.
Hi any plan for add randomizedtesting 2.3.x support? with randomizedtesting 2.3.1 `compile-tests: [mkdir] Created dir: ~/BUILD/lz4-java-1.3.0/build/test-classes [javac] Compiling 10 source files to ~/BUILD/lz4-java-1.3.0/build/test-classes [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:210: error: cannot find symbol [javac] assertFalse(is.markSupported()); [javac] ^ [javac] symbol: method assertFalse(boolean) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:214: error: cannot find symbol [javac] assertFalse(true); [javac] ^ [javac] symbol: method assertFalse(boolean) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:238: error: cannot find symbol [javac] assertEquals(data.length, read); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:239: error: cannot find symbol [javac] assertArrayEquals(data, Arrays.copyOf(restored, read)); [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:249: error: cannot find symbol [javac] assertTrue(skipped >= 0); [javac] ^ [javac] symbol: method assertTrue(boolean) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:255: error: cannot find symbol [javac] assertTrue(r >= 0); [javac] ^ [javac] symbol: method assertTrue(boolean) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:259: error: cannot find symbol [javac] assertArrayEquals(Arrays.copyOfRange(data, offset, offset + length), Arrays.copyOfRange(restored, 0, length)); [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java:291: error: cannot find symbol [javac] assertArrayEquals(testBytes, actual); [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4BlockStreamingTest [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:42: error: cannot find symbol [javac] assertEquals(LZ4JNI.LZ4_compressBound(len), compressor.maxCompressedLength(len)); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:78: error: cannot find symbol [javac] assertEquals(compressed.length, cpLen); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:79: error: cannot find symbol [javac] assertArrayEquals(decompressed, restored); [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:96: error: cannot find symbol [javac] assertEquals(decompressed.length, uncpLen); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:97: error: cannot find symbol [javac] assertArrayEquals(decompressed, restored); [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:133: error: cannot find symbol [javac] assertEquals(compressedLen, compressedLen2); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:134: error: cannot find symbol [javac] assertArrayEquals( [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:144: error: cannot find symbol [javac] fail(); [javac] ^ [javac] symbol: method fail() [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:151: error: cannot find symbol [javac] assertEquals(compressedLen, tester.decompress(decompressor, compressed, 0, restored, 0, len)); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:152: error: cannot find symbol [javac] assertArrayEquals(Arrays.copyOfRange(data, off, off + len), tester.copyOf(restored, 0, len)); [javac] ^ [javac] symbol: method assertArrayEquals(byte[],byte[]) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:158: error: cannot find symbol [javac] fail(); [javac] ^ [javac] symbol: method fail() [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:168: error: cannot find symbol [javac] fail("compressedLen=" + cpLen); [javac] ^ [javac] symbol: method fail(String) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:176: error: cannot find symbol [javac] assertEquals(len, tester.decompress(decompressor2, compressed, 0, compressedLen, restored, 0, len)); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:179: error: cannot find symbol [javac] assertEquals(0, tester.decompress(decompressor2, compressed, 0, compressedLen, tester.allocate(1), 0, 1)); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:185: error: cannot find symbol [javac] fail("decompressedLen=" + decompressedLen); [javac] ^ [javac] symbol: method fail(String) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:194: error: cannot find symbol [javac] fail("decompressedLen=" + decompressedLen); [javac] ^ [javac] symbol: method fail(String) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:281: error: cannot find symbol [javac] assertTrue(decompressor.toString(), false); [javac] ^ [javac] symbol: method assertTrue(String,boolean) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:291: error: cannot find symbol [javac] assertTrue(false); [javac] ^ [javac] symbol: method assertTrue(boolean) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:311: error: cannot find symbol [javac] assertTrue(decompressor.toString(), false); [javac] ^ [javac] symbol: method assertTrue(String,boolean) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:321: error: cannot find symbol [javac] assertTrue(false); [javac] ^ [javac] symbol: method assertTrue(boolean) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:336: error: cannot find symbol [javac] fail(); [javac] ^ [javac] symbol: method fail() [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:346: error: cannot find symbol [javac] fail(); [javac] ^ [javac] symbol: method fail() [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:357: error: cannot find symbol [javac] fail(); [javac] ^ [javac] symbol: method fail() [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/lz4/LZ4Test.java:460: error: cannot find symbol [javac] assertEquals(message + ", off=" + off + ", decompressedOff=" + decompressedOff, sequence1, sequence2); [javac] ^ [javac] symbol: method assertEquals(String,Sequence,Sequence) [javac] location: class LZ4Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash32Test.java:132: error: cannot find symbol [javac] assertEquals(hash.toString(), ref, h); [javac] ^ [javac] symbol: method assertEquals(String,int,int) [javac] location: class XXHash32Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash32Test.java:135: error: cannot find symbol [javac] assertEquals(off, copy.position()); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class XXHash32Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash32Test.java:136: error: cannot find symbol [javac] assertEquals(len, copy.remaining()); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class XXHash32Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash32Test.java:137: error: cannot find symbol [javac] assertEquals(hash.toString(), ref, h2); [javac] ^ [javac] symbol: method assertEquals(String,int,int) [javac] location: class XXHash32Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash32Test.java:158: error: cannot find symbol [javac] assertEquals(hash2.toString() + " " + totalLen, hash1.getValue(), hash2.getValue()); [javac] ^ [javac] symbol: method assertEquals(String,int,int) [javac] location: class XXHash32Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash32Test.java:159: error: cannot find symbol [javac] assertEquals(hash3.toString() + " " + totalLen, hash1.getValue(), hash3.getValue()); [javac] ^ [javac] symbol: method assertEquals(String,int,int) [javac] location: class XXHash32Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash64Test.java:137: error: cannot find symbol [javac] assertEquals(hash.toString(), ref, h); [javac] ^ [javac] symbol: method assertEquals(String,long,long) [javac] location: class XXHash64Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash64Test.java:140: error: cannot find symbol [javac] assertEquals(off, copy.position()); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class XXHash64Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash64Test.java:141: error: cannot find symbol [javac] assertEquals(len, copy.remaining()); [javac] ^ [javac] symbol: method assertEquals(int,int) [javac] location: class XXHash64Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash64Test.java:142: error: cannot find symbol [javac] assertEquals(hash.toString(), ref, h2); [javac] ^ [javac] symbol: method assertEquals(String,long,long) [javac] location: class XXHash64Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash64Test.java:163: error: cannot find symbol [javac] assertEquals(hash2.toString() + " " + totalLen, hash1.getValue(), hash2.getValue()); [javac] ^ [javac] symbol: method assertEquals(String,long,long) [javac] location: class XXHash64Test [javac] ~/BUILD/lz4-java-1.3.0/src/test/net/jpountz/xxhash/XXHash64Test.java:164: error: cannot find symbol [javac] assertEquals(hash3.toString() + " " + totalLen, hash1.getValue(), hash3.getValue()); [javac] ^ [javac] symbol: method assertEquals(String,long,long) [javac] location: class XXHash64Test [javac] 44 errors
BUILD FAILED ` Thanks in advance