e67aa430cd
merge of '616d36fc49bb03f28c56540cdd475e2f7e9e3663'
...
and '7a64fceed49d038439e050a81f45b1e6abb2ad19'
2013-01-03 22:55:56 +00:00
8e57a2e386
Fix most of the test cases, reduce the runtime of the test
...
using LogManager.flush()
2013-01-03 22:55:40 +00:00
d28184ce72
- Test data strucure equals() for everything except I2CP
2013-01-03 22:05:10 +00:00
2c8f2ae404
Change the Rate.equals(..) method to work for Rates w/o a parent RateStat
...
Change the RateStat.equals(..) method to work with deserialized RateStats
Update and fix the JUnit tests for both
2013-01-03 20:08:54 +00:00
17ac0e4b5f
- Fix last three I2CP message junit test failures caused by the removal of equals().
...
- Fix RouterAddress test failure caused by removal of expiration
2013-01-03 12:50:28 +00:00
4730690978
- Fix most of the I2CP message junit test failures caused by the removal of equals().
...
Still a few left where the test is overridden.
- Fix DestLookupMessage test failure caused by missing data.
2013-01-03 12:13:48 +00:00
6ed602309f
- Local mods and wrapper for SipHashInline
...
- Convert SessionTag.hashCode() to SipHash to prevent collision attacks
in the SessionKeyManager; cache for speed
2013-01-02 14:01:29 +00:00
20cc48cd87
SipHash inline implementation and junit test, unmodified.
...
As pulled from https://github.com/nahi/siphash-java-inline
Last commit was 5be5c84851
2012-11-06
Copyright 2012 Hiroshi Nakamura <nahi@ruby-lang.org >
Apache 2 license
25%-35% faster than reference implementation in my tests.
2013-01-02 13:54:49 +00:00
0ec77f5514
Use the cached iterator list to remove Iterator allocation hotspots
2012-11-23 07:22:58 +00:00
f238d0514f
test removal
2012-11-23 07:13:21 +00:00
d8613d2285
more appropriate junit test
2012-11-23 07:06:01 +00:00
1e83028702
An ArrayList that reuses a single iterator
2012-11-22 21:50:48 +00:00
f57d91ac16
Added missing DateAndFlagsTest - no errors in core junit tests now
2012-11-05 21:00:20 +00:00
ccc5923ab3
Drop unused DummyPooledRandomSource, moved to i2p.scripts
2012-11-05 20:43:47 +00:00
31debe6bbf
CryptixRijndael_Algorithm._BLOCK_SIZE is private, so specify value directly
2012-11-05 19:53:00 +00:00
40d1507237
Fixed imports on core JUnit tests to use Hamcrest matchers provided with Junit4
2012-11-05 19:50:32 +00:00
618f214a4f
Added ScalaTest support to core build.xml
...
The old JUnit tests are still present, but "ant test" and "ant fulltest" default
to the (pending) ScalaTest ones. To run the ScalaTest tests with Cobertura, execute
the following:
ant -Dscalatest.libs=./lib -Dwith.cobertura=/usr/share/java/cobertura.jar fulltest
The scalatest.libs property must point to a directory containing scala-compiler.jar,
scala-library.jar and scalatest.jar.
2012-07-30 12:26:35 +00:00