7197d22f2a
Transports: New config option i2np.allowLocal,
...
replaces i2np.udp.allowLocal and i2np.ntcp.allowLocal,
fixes test networks (ticket #1875 )
2016-11-04 13:44:24 +00:00
cee3ebbb23
less wtf
2016-10-21 15:20:35 +00:00
e7081491ca
Fix unit tests I broke
2016-01-23 17:58:16 +00:00
cdfd4ca2f4
Move CachedIteratorArrayList from core to router
2016-01-14 13:54:53 +00:00
2246e21340
Replaces instances of getBytes() in router classes
2015-12-20 01:26:33 +00:00
1cf544f1d4
fix unit test compile
2015-06-18 00:41:58 +00:00
8303016b48
- Job Queue/stats: add stat/graph for amount of scheduled jobs (router.tunnelBacklog)
...
- FloodfillMonitorJob:
- Use avg of router.tunnelBacklog instead of current backlog
- Some language/spelling fixes
2015-05-12 18:46:40 +00:00
cb50c1bd8b
improve UDP test
2015-04-28 12:44:53 +00:00
bd778a2204
Remove old pre-0.6.1.30 TunnelCreateMessage and TunnelCreateStatusMessage,
...
moved to junit years ago but not part of any tests
2015-04-24 22:25:17 +00:00
e1d9e05b8d
i2ptunnel: Fixes and cleanups for command line testing;
...
catch IAE from getInstance() if i2ptunnel.config isn't found
in app context; log tweaks; config command tweaks
Unit tests: Fix several NPEs in LocalClientManager,
implement HostLookup
2015-04-22 11:59:40 +00:00
540720a912
unit test fixes
2014-12-05 16:18:25 +00:00
36fdb4ee2f
Fix junit compile fails due to data structure moves
2014-09-23 14:15:27 +00:00
4f9e13d0f6
unit test fix take 2
2014-08-21 15:01:15 +00:00
a63bfeaeec
fix SKM test broken by TSKM move
2014-08-10 15:48:18 +00:00
8b2ffada10
- fix test
...
- final
- last week's history
2014-07-15 14:30:19 +00:00
331b1fa742
fix test breakage
2014-06-01 18:04:04 +00:00
1d7eedd463
Kad unit tests:
...
- Move KBucketSetTest to new directory
- Fix testSelf() as new implementation will never include myself
- Delete KBucketImplTest, not applicable/useful now
Next todo: port KBSTest from i2p.zzz.kademlia branch
2013-11-24 21:58:42 +00:00
228bd980db
Router JUnit tests: type arguments, unused imports
2013-11-20 22:47:14 +00:00
012e999354
fix unit tests broken by previous checkin
2013-10-18 19:58:39 +00:00
dff357a658
unit test compile fix
2013-07-22 15:14:58 +00:00
02b92ac3fe
fix compile for test
2013-07-20 13:46:50 +00:00
a87fc68cfd
propagate from branch 'i2p.i2p.zzz.ipv6' (head 5c147c6e394fae03752dcf497923a90e3f2db529)
...
to branch 'i2p.i2p' (head 7af6987d5546664f76589afe0cbeeb780f4b5d58)
2013-07-20 12:59:03 +00:00
2caa6ad975
* Router I2CP:
...
- Make classes extensible for router-side test stubs
- Add router-side local-only test implementation, no full router required.
Only tested with external clients, probably doesn't work in-JVM.
- Don't start threads in ClientManager constructor
- Remove unused Reader param in ClientMessageEventListener methods
- Cleanups, volatiles, finals, javadocs
2013-07-10 18:12:47 +00:00
55880844a5
* SSUDemo: Adapt for NTCP testing too
...
* RouterAddress and RouterInfo toString() cleanups; don't cache RI in _stringified
* NTCP: Fix publishing address when host specified but interface is not
* log tweaks
2013-05-19 15:18:45 +00:00
ec3756a69f
* SSUDemo: Use IPv6; don't use System properties
2013-05-18 18:30:38 +00:00
0b49fa98f9
* SSU: Fixes for i2np.udp.allowLocal, log tweaks, sender/receiver thread name tweaks
...
* Limit tunnel GW pumper threads when testing
2013-05-18 18:00:17 +00:00
226c7eb8e3
* SSUDemo: configuration fixes, delete RI on exit, log tweaks
2013-05-18 14:27:11 +00:00
be262c6a70
* NetDb:
...
- Add floodfillEnabled() to NetworkDatabaseFacade so callers don't
have to cast to FNDF, and Dummy NDF will work
- Remove static FNDF.floodfillEnabled()
* SSUDemo: cleanups
2013-05-17 15:11:23 +00:00
a374f00613
* Fix UDPEndpointTestStandalone:
...
- init context
- Add unit test buildPacket() method to PacketBuilder
- Fix NPE in MessageHistory
* Minor PacketPusher optimization
2013-05-16 23:08:06 +00:00
fcdf837f33
* New buildTest and prepTest targets
...
* Fix UDPEndpoint usage in unit tests:
- Restore receive()
- Handle null UDPTransport
* Fix UDPEndpointTestStandalone compilation
2013-05-16 17:57:33 +00:00
680c31b843
Fix/update/refactor InboundTest
2013-01-07 19:03:30 +00:00
ba5005c467
Fix OutboundGatewayTest
...
Refactor as much as possible into GatewayTestBase
2013-01-07 18:38:13 +00:00
7a8fde6637
Refactor common code between Inbound and Outbound Gateway tests in a base class
...
OutboundGatewayTest still fails, investigating...
2013-01-06 23:02:10 +00:00
973e0e7448
Fix/update InboundGatewayTest
2013-01-06 21:42:15 +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
d150403395
Rename a non-junit test so it doesn't fall under the junit wildcard
2013-01-04 23:44:26 +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
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
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
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
4d8973b0a5
Assorted fixes to router Junit tests for changes in the source
2012-11-05 21:31:40 +00:00