public class BaseTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
certainty |
static int |
dataPartitionBitSize |
static int |
hashBitSize |
static java.lang.String |
hashKey |
static int |
paillierBitSize |
static java.util.UUID |
queryIdentifier |
Constructor and Description |
---|
BaseTests() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDNSHostnameQueryResults(java.util.List<QueryResponseJSON> results,
boolean isDistributed,
int numExpectedResults,
boolean testFalsePositive,
java.util.List<org.json.simple.JSONObject> dataElements) |
static void |
testDNSHostnameQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements,
int numThreads,
boolean testFalsePositive) |
static void |
testDNSHostnameQuery(java.util.List<org.json.simple.JSONObject> dataElements,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
boolean isDistributed,
int numThreads) |
static void |
testDNSHostnameQuery(java.util.List<org.json.simple.JSONObject> dataElements,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
boolean isDistributed,
int numThreads,
boolean testFalsePositive,
boolean isStreaming) |
static void |
testDNSIPQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements,
int numThreads) |
static void |
testDNSIPQuery(java.util.List<org.json.simple.JSONObject> dataElements,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
boolean isDistributed,
int numThreads,
boolean isStreaming) |
static void |
testDNSNXDOMAINQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements,
int numThreads) |
static void |
testDNSNXDOMAINQuery(java.util.List<org.json.simple.JSONObject> dataElements,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
boolean isDistributed,
int numThreads) |
static void |
testSRCIPQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements,
int numThreads) |
static void |
testSRCIPQuery(java.util.List<org.json.simple.JSONObject> dataElements,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
boolean isDistributed,
int numThreads,
boolean isStreaming) |
static void |
testSRCIPQueryNoFilter(java.util.List<org.json.simple.JSONObject> dataElements,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
boolean isDistributed,
int numThreads,
boolean isStreaming) |
public static final java.util.UUID queryIdentifier
public static final int dataPartitionBitSize
public static final int hashBitSize
public static final java.lang.String hashKey
public static final int paillierBitSize
public static final int certainty
public static void testDNSHostnameQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements, int numThreads, boolean testFalsePositive) throws java.lang.Exception
java.lang.Exception
public static void testDNSHostnameQuery(java.util.List<org.json.simple.JSONObject> dataElements, org.apache.hadoop.fs.FileSystem fs, boolean isSpark, boolean isDistributed, int numThreads) throws java.lang.Exception
java.lang.Exception
public static void testDNSHostnameQuery(java.util.List<org.json.simple.JSONObject> dataElements, org.apache.hadoop.fs.FileSystem fs, boolean isSpark, boolean isDistributed, int numThreads, boolean testFalsePositive, boolean isStreaming) throws java.lang.Exception
java.lang.Exception
public static void checkDNSHostnameQueryResults(java.util.List<QueryResponseJSON> results, boolean isDistributed, int numExpectedResults, boolean testFalsePositive, java.util.List<org.json.simple.JSONObject> dataElements)
public static void testDNSIPQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements, int numThreads) throws java.lang.Exception
java.lang.Exception
public static void testDNSIPQuery(java.util.List<org.json.simple.JSONObject> dataElements, org.apache.hadoop.fs.FileSystem fs, boolean isSpark, boolean isDistributed, int numThreads, boolean isStreaming) throws java.lang.Exception
java.lang.Exception
public static void testDNSNXDOMAINQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements, int numThreads) throws java.lang.Exception
java.lang.Exception
public static void testDNSNXDOMAINQuery(java.util.List<org.json.simple.JSONObject> dataElements, org.apache.hadoop.fs.FileSystem fs, boolean isSpark, boolean isDistributed, int numThreads) throws java.lang.Exception
java.lang.Exception
public static void testSRCIPQuery(java.util.ArrayList<org.json.simple.JSONObject> dataElements, int numThreads) throws java.lang.Exception
java.lang.Exception
public static void testSRCIPQuery(java.util.List<org.json.simple.JSONObject> dataElements, org.apache.hadoop.fs.FileSystem fs, boolean isSpark, boolean isDistributed, int numThreads, boolean isStreaming) throws java.lang.Exception
java.lang.Exception
public static void testSRCIPQueryNoFilter(java.util.List<org.json.simple.JSONObject> dataElements, org.apache.hadoop.fs.FileSystem fs, boolean isSpark, boolean isDistributed, int numThreads, boolean isStreaming) throws java.lang.Exception
java.lang.Exception