minor changes to some tests

This commit is contained in:
dev
2011-02-14 16:16:20 +00:00
parent 7c0e82fa4d
commit 33701195b1
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package net.i2p.stat;
import java.io.ByteArrayInputStream;
import java.util.Properties;
import junit.framework.TestCase;
@@ -19,7 +20,7 @@ public class RateTest extends TestCase {
byte data[] = buf.toString().getBytes();
Properties props = new Properties();
props.load(new java.io.ByteArrayInputStream(data));
props.load(new ByteArrayInputStream(data));
Rate r = new Rate(props, "rate.test", true);

View File

@@ -1,6 +1,6 @@
package net.i2p.stat;
public class SizeTest {
public class SizeMeasure {
public static void main(String args[]) {
testRateSize(100); //117KB
testRateSize(100000); // 4.5MB