32a8bb7a3e
more VersionComparator tests
2012-12-09 16:59:51 +00:00
d8417cbf71
more tests for VersionComparator
2012-12-09 13:28:06 +00:00
4266a10ffb
Added more tests to VersionComparatorSpec to further cover the implementation
2012-11-26 00:29:02 +00:00
31fc55eca7
Added tests for VersionComparator
2012-11-25 02:44:01 +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
5b6e7ba91d
Added some skeleton Spec tests for various I2P data types in net.i2p.data
2012-07-30 14:50:51 +00:00
691ce6fec7
The first ScalaTest specification: a Hash must be 32 bytes long
2012-07-30 12:36:00 +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
48df91f796
Moved existing JUnit tests to junittest/ in preparation for ScalaTest
2012-07-30 04:04:07 +00:00
c89e127d8a
Added missing test classes to net.i2p.data.i2cp
2012-04-27 03:00:45 +00:00
e99749097a
Moved tests for net.i2p.data.i2cp into the correct subdirectory
2012-04-26 12:08:14 +00:00
ce8cd91d72
propagate from branch 'i2p.i2p' (head 3002b47d5d20180f84fb6a4f161823bc751989be)
...
to branch 'i2p.i2p.unittests' (head 97dc8de19916c3d0c7ec42790800c1e23f9ce9e8)
2012-03-30 05:10:53 +00:00
0cefaba925
More excess whitespace removed
2012-03-30 04:40:56 +00:00
3e889d2747
remove unnecessary casts (eclipse)
2012-03-25 20:42:41 +00:00
ba3bc9e2ed
Uncommented two Datagram tests that currently throw NullPointerExceptions
2012-03-24 11:18:37 +00:00
f164951848
Actually test something in DatagramTest.testBadagram, remove excess whitespace
2012-03-24 08:04:49 +00:00
bfaf72a547
Added a couple of tests for net.i2p.client.naming
2012-03-24 05:09:31 +00:00
67da35ab35
Commented out test for net.i2p.data.Lease.getNumSuccess() / getNumFailure
2012-03-16 05:08:31 +00:00
136d77a8aa
Fix YKGenerator test - methods no longer static
2012-03-16 04:51:55 +00:00
bf0b59b3b3
Remove DHSessionKeyBuilderTest from CryptoTestSuite
2012-03-16 03:18:53 +00:00
f19bc6a4b0
Moved DHSessionKeyBuilderTest to net.i2p.router.transport.crypto
2012-03-16 03:08:10 +00:00
786a261a70
Fixed usage of assertEquals - should be assertEquals(expected, got)
2012-02-29 05:34:13 +00:00
a226d25dc6
Test getters etc. in RateStat
2012-02-29 05:01:21 +00:00
22900a0d91
Fixed RouterAddressTest.testToString to actually test the returned String
2012-02-26 09:30:27 +00:00
e7922c4ded
Added some tests of setOptions to RouterAddressTest
2012-02-26 04:57:31 +00:00
f19ef3e486
Fix test that would always pass
2012-02-26 03:01:48 +00:00
3d30e142c1
fix LogSettingsTest hang on fail
2011-02-18 15:37:56 +00:00
bd28397f83
fix LogSettingsTest
2011-02-17 23:22:44 +00:00
f9b2c77161
fix RateTest; includeAntRuntime=true for router tests
2011-02-17 21:23:38 +00:00
2c6984ab99
even more tests
2011-02-14 20:45:36 +00:00
c91d2bf278
minor adjustments to RouterAddress testcase
2011-02-14 18:14:03 +00:00
581cd72032
merge of '0d9093cdc66fad9b4827931caa079ad00f2a76f7'
...
and '8aecdabbd225a6ea26a3c20725aeabfedf2dbe1d'
2011-02-14 16:38:22 +00:00
271f330cdd
add another totally useful test
2011-02-14 16:37:23 +00:00
33701195b1
minor changes to some tests
2011-02-14 16:16:20 +00:00
33c5e14f90
fix SessionEncryptionTest
2011-02-07 19:07:40 +00:00
6c8cacfaa2
updated some core tests to cope with the recent datastructure changes
2011-02-06 17:09:52 +00:00
9bf90c54e1
removed broken duplicated test
2011-02-06 15:21:55 +00:00
004d7874c4
Core tests build fix.
2011-02-02 22:52:41 +00:00
9eab44128a
* Random: Remove and deprecate some old classses
2010-03-08 00:48:56 +00:00
8cad72c654
two more test classes out of the lib
2009-10-13 14:12:00 +00:00
475187fcbc
* Stats:
...
- Fix BufferedStatsLog so it works at all
- Don't instantiate BufferedStatsLog unless stats.logFilters
property is defined (restart now required to enable logging)
This eliminates the StatLogWriter thread and a decent
amount of memory.
- Move two CLI classes out of the lib
- Commment out places where getStatLog() isn't checked for null
- Cleanups
2009-08-18 20:33:15 +00:00
1cba7b8ec1
* Core:
...
- Catch unzip fd leaks on error
- Move 2 test classes out of the lib
2009-07-31 17:55:38 +00:00
abc23e9a49
* Move almost all uses of StringBuffer to StringBuilder,
...
for efficiency (thanks Arsene for the suggestion)
2009-07-01 16:00:43 +00:00