8aa7433a80
merge of '2246f1b81c19ddc2c058e68870f1445b9cca1598'
...
and '956cf5bff87f174141628efbad07e028e30fc4c9'
2013-01-06 02:24:09 +00:00
e7d48f1d3c
- s/classpath/javac.classpath/ I'm fairly sure that this must have been added
...
in error.
- add jenkins.cobertura.report target. The jenkins plugin couldn't find the
sources, so I'm hoping this helps it out.
- add debug lines cobertura needs
2013-01-06 02:22:10 +00:00
7e7a68a61d
fix BandwidthLimiterTest
2013-01-05 23:21:04 +00:00
c558f5af85
Update FragmentTest to expect an IAE.
...
Update {Batched}FragmentTest to JUnit 4
Use a single instance of I2PAppContext
2013-01-05 23:08:00 +00:00
a33457ff7f
Rename BuildMessageTest so it doesn't match the JUnit wildcard.
...
Add note that the test (most likely) needs to be re-written fom scratch.
2013-01-05 21:52:33 +00:00
16be8deb00
regex tidying
...
(fixed version of revision 5135b9e8fb88986fdc130971ebe75c3ab0665dcc)
2013-01-05 20:12:35 +00:00
dfcf1c1575
disapproval of revision '5135b9e8fb88986fdc130971ebe75c3ab0665dcc'
2013-01-05 16:22:28 +00:00
d1dc7cd269
tidy up version # regexes
2013-01-05 16:18:41 +00:00
88c2b3da58
merge of '3c30547c23e641e3cc7a7927d956997c0187aa5c'
...
and 'd0f6b1e4566b9690b60fa0fb686aadc3ad629a31'
2013-01-05 00:31:14 +00:00
0bfd747c95
Exclude from router cobertura anything that isn't net.i2p.*
2013-01-05 00:30:37 +00:00
d150403395
Rename a non-junit test so it doesn't fall under the junit wildcard
2013-01-04 23:44:26 +00:00
1939aaca93
Fix test and make it actually test something
2013-01-04 20:57:18 +00:00
d0cb714f69
add installer/resources to the classpath for eclipse and junit task
...
do not use hardcoded filesystem path in junit test
(test still fails for different reason)
2013-01-04 20:17:35 +00:00
54a35df9e9
merge of '3cd63a1366e2ca171fb8c348927047e0c0b7393d'
...
and 'a461c087d600d3fa0b5da2085d1dd97aff721d44'
2013-01-04 19:31:35 +00:00
b1a29c9514
enable more output for easier debugging of tests
2013-01-04 19:28:37 +00:00
af21093012
javadoc fixes
2013-01-04 19:20:08 +00:00
cea1b08a98
Update javadoc to specify non-null payload for datagrams
2013-01-04 18:46:00 +00:00
c7f1329c04
get rid of two tests that don't make sense
2013-01-04 18:38:32 +00:00
a02f9313ff
fix javadoc-test target
2013-01-04 02:47:10 +00:00
5a7d975ed6
speed up datahelper test (thanks zab)
2013-01-04 01:17:29 +00:00
455618dc26
merge of '9a6aaa59a51ac9c26f4a1a1a1db90feb17819a22'
...
and 'b5f4c5514ac1fbd9f7b61180c7874ddcac422c11'
2013-01-04 00:36:02 +00:00
bddfc5b526
Turn BuildMessageTest into a JUnit TestCase
2013-01-04 00:33:03 +00:00
bcbf7e6270
- Speed up crypto tests, reduce memory usage, use common context
2013-01-04 00:31:28 +00:00
83886cdcfb
merge of '9cd70f6c6a5d8100782f92785a0082b09248e6b0'
...
and 'e6b29f8caf5730bada39b1296ff3eb3b5f363f0e'
2013-01-04 00:20:03 +00:00
dbfb4cbbbb
Remove test that does nothing anyway
2013-01-04 00:19:08 +00:00
fe477f0a0b
merge of '96801f1975a618da3caa8943bc186ad78449ee94'
...
and 'fa2d2cb834d3792b816984bc44da70ad903e40e8'
2013-01-04 00:10:56 +00:00
dd24ab6f70
Create a new RouterContext for net.i2p.router.tunnel tests (can't cast I2PAppContext)
2013-01-04 00:07:15 +00:00
47592377f2
Make test expect an UOE
2013-01-03 23:58:18 +00:00
e3ecc42e88
- Fix delivery instructions test
2013-01-03 23:13:47 +00:00
999b8d3c68
merge of '7b3e55d16589c2194327677322fca98e2ce056ad'
...
and '85eec7bc28af462eca4a83562771af846cb2b91c'
2013-01-03 22:58:46 +00:00
8e5c26270e
cross platform unit test hostname faking not relying
...
on external tools
The original method failed on Archlinux. This should work everywhere.
2013-01-03 22:58:21 +00:00
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
94827d6d55
merge of '4e4692d229faefe5a1a891b9e7e89302117d2970'
...
and '90cf0bde41018fcb22d53d168c8d6f56294d8660'
2013-01-03 20:12:47 +00:00
6c676869a0
change an ant 1.8ism to one supported in 1.7
2013-01-03 20:12:18 +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
3eb00c526d
remove extranous reference (that I added) to junit; fix a bit more of the
...
router tests
2013-01-03 19:36:39 +00:00
83e25ef26c
merge of '78c1ef42cf8e75cb54df7c34644855f54428565c'
...
and 'd37cf6a7b286442b886dbfd6f74ac948eee5b3fc'
2013-01-03 16:11:29 +00:00
8f4f7a677f
- Fix junit path typo
...
- Fix several router unit test compile errors.
They all compile now.
- Move SubmitMessageHistoryJob to i2p.scripts, it is not a unit test
2013-01-03 16:10:49 +00:00
b54c5f8545
renable slow tests
...
these tests are only slow with cobertura enabled
2013-01-03 14:15:56 +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
9d77cd7761
allow setting hamcrest and junit locations with properties
...
Defaults to the ant library path (the previously hardcoded path) if not set.
2013-01-03 11:53:08 +00:00
5b81a1a6d5
catch unset classpath prop
2013-01-03 10:43:31 +00:00
f788ef97de
remove cobertura.ser when ant clean is called
2013-01-03 02:43:51 +00:00
e4ec046363
- Add separate top-level junit.test and scalatest.test targets, so
...
you can run whichever you have the libs for
- Add router to test target (if we don't run it, it won't get fixed)
2013-01-02 23:46:14 +00:00
cdc3682baa
Fixes to JUnit tests under net.i2p.router.transport
2013-01-02 22:05:12 +00:00
dae66d7f73
Updated JUnit tests in net.i2p.router.tunnel - almost all bugs fixed
2013-01-02 21:29:54 +00:00
d6d1b51970
Set up build.xml test harness to run the JUnit4 tests as well
...
You will need junit4.jar, hamcrest-core.jar and hamcrest-library.jar in your
Ant library path (probably /usr/share/ant/lib)
2013-01-02 21:06:59 +00:00