From 082a5d3c0f2b08f19bc8346ff48613f59c18ddc2 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Fri, 21 Oct 2016 15:21:24 +0000
Subject: [PATCH] move siphash test from util to crypto

---
 core/java/test/junit/net/i2p/crypto/CryptoTestSuite.java        | 1 +
 .../test/junit/net/i2p/{util => crypto}/SipHashInlineTest.java  | 2 +-
 core/java/test/junit/net/i2p/util/UtilTestSuite.java            | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename core/java/test/junit/net/i2p/{util => crypto}/SipHashInlineTest.java (99%)

diff --git a/core/java/test/junit/net/i2p/crypto/CryptoTestSuite.java b/core/java/test/junit/net/i2p/crypto/CryptoTestSuite.java
index 19f9abad96..015dde7bc6 100644
--- a/core/java/test/junit/net/i2p/crypto/CryptoTestSuite.java
+++ b/core/java/test/junit/net/i2p/crypto/CryptoTestSuite.java
@@ -30,6 +30,7 @@ public class CryptoTestSuite {
         suite.addTestSuite(KeyGeneratorTest.class);
         suite.addTestSuite(SHA1HashTest.class);
         suite.addTestSuite(SHA256Test.class);
+        suite.addTestSuite(SipHashInlineTest.class);
         
         return suite;
     }
diff --git a/core/java/test/junit/net/i2p/util/SipHashInlineTest.java b/core/java/test/junit/net/i2p/crypto/SipHashInlineTest.java
similarity index 99%
rename from core/java/test/junit/net/i2p/util/SipHashInlineTest.java
rename to core/java/test/junit/net/i2p/crypto/SipHashInlineTest.java
index 8cdce6ca0e..24a64226de 100644
--- a/core/java/test/junit/net/i2p/util/SipHashInlineTest.java
+++ b/core/java/test/junit/net/i2p/crypto/SipHashInlineTest.java
@@ -1,4 +1,4 @@
-package net.i2p.util;
+package net.i2p.crypto;
 
 /*
  *  As pulled from https://github.com/nahi/siphash-java-inline
diff --git a/core/java/test/junit/net/i2p/util/UtilTestSuite.java b/core/java/test/junit/net/i2p/util/UtilTestSuite.java
index e7abd78075..4b2ae288d1 100644
--- a/core/java/test/junit/net/i2p/util/UtilTestSuite.java
+++ b/core/java/test/junit/net/i2p/util/UtilTestSuite.java
@@ -19,7 +19,6 @@ public class UtilTestSuite {
         suite.addTestSuite(ResettableGZIPOutputStreamTest.class);
         suite.addTestSuite(ReusableGZIPInputStreamTest.class);
         suite.addTestSuite(ReusableGZIPOutputStreamTest.class);
-        suite.addTestSuite(SipHashInlineTest.class);
         
         return suite;
     }
-- 
GitLab