source: apps/sam/doc/README-test.txt @ ed1567e

Last change on this file since ed1567e was ed1567e, checked in by zzz <zzz@…>, 5 years ago

short test instructions

  • Property mode set to 100644
File size: 786 bytes
Line 
1To run tests:
2
3Build and run standalone Java I2CP (no router):
4ant buildTest
5java -cp build/i2ptest.jar:build/routertest.jar -Djava.library.path=. net.i2p.router.client.LocalClientManager
6
7
8Build and run standalone SAM server:
9ant buildSAM
10java -cp build/i2p.jar:build/mstreaming.jar:build/streaming.jar:build/sam.jar -Djava.library.path=. net.i2p.sam.SAMBridge
11
12
13Build Java test clients:
14cd apps/sam/java
15ant clientjar
16cd ../../..
17
18Run sink client:
19mkdir samsinkdir
20java -cp build/i2p.jar:apps/sam/java/build/samclient.jar net.i2p.sam.client.SAMStreamSink samdest.txt samsinkdir -v 3.2
21run with no args to see usage
22
23Run send client:
24java -cp build/i2p.jar:apps/sam/java/build/samclient.jar net.i2p.sam.client.SAMStreamSend samdest.txt samtestdata -v 3.2
25run with no args to see usage
Note: See TracBrowser for help on using the repository browser.