68567cb531
Build: Fix javac.classpath in junit.compileTest targets (ticket #2333 )
2019-01-30 20:51:17 +00:00
0a99784221
Build: Add javac.classpath to junit.compileTest targets (ticket #2333 )
2018-10-13 09:32:51 +00:00
e68182a157
Build: Provide option to prevent Class-Path in manifests (ticket #2317 )
2018-10-10 12:30:34 +00:00
a65a498c86
Segment integration tests in router
2017-12-02 20:48:53 +00:00
f3d931d090
Blockfile: Move from i2p.jar to addressbook.jar
...
http://zzz.i2p/topics/2274
2017-05-05 11:41:19 +00:00
91007735a1
Update tests to use ScalaTest 3.0.1
2016-12-29 18:54:23 +00:00
11579b9818
merge of '8bf9850eb3fe4fcfb63053838a188969b7ba9c5b'
...
and 'a40ea9b5f7545281195f00a80e31ae879197e76b'
2016-11-20 06:08:40 +00:00
01cfb7b241
merge of '348832602d6528cc162d427742d0910df3db76ef'
...
and 'd51aa134c2f1b0fe533f79663f1e79dade41bde1'
2016-11-20 06:07:00 +00:00
b0bba18f33
Build: Add manifest attributes for java version to all jars and wars
2016-11-17 15:14:50 +00:00
e74479317d
Add router.jar to Maven Central target
2016-11-07 03:11:32 +00:00
08d1ea89bf
Build: Set Java 7 build target for all jars;
...
embedders (esp. Android) targetting 1.6 must
set javac.version=1.6 in override.properties and set
both bootclasspath variables.
2016-10-26 16:56:13 +00:00
1fea327eff
more jar manifest attributes
2016-06-11 16:39:27 +00:00
2fe1f97ee0
Debian: Add runtime dependency on libhttpclient-java,
...
link to /usr/share/java/httpclient.jar and httpcore.jar.
This is 2 MB of dependencies to replace 20 KB of copied code,
so may not be worth it, esp. for Tails.
2016-04-30 18:08:50 +00:00
7ae1483cb3
Fixes for building with libgetopt-java
2016-04-29 19:15:41 +00:00
d28f983c46
Utils: Add main classes to i2p.jar and router.jar
...
for simple command line access to utilities
2016-02-26 18:12:11 +00:00
0773a30578
add hamcrest-all to classpaths and minor formatting fixes
2014-11-12 17:42:50 +00:00
616866cc9e
Build: Move remaining jars to Java 6, as we will require
...
API 9 in the next Android release.
2014-06-27 13:57:43 +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
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
0bfd747c95
Exclude from router cobertura anything that isn't net.i2p.*
2013-01-05 00:30:37 +00:00
b1a29c9514
enable more output for easier debugging of tests
2013-01-04 19:28:37 +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
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
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
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
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
9a31115eff
Classpath change in router build.xml to get routerconsole test harness to work
2012-10-29 12:14:04 +00:00
7f09206a47
Fixed jarScalaTest targets to actually package all classes
2012-08-08 00:07:17 +00:00
5355e5bbfd
Added targets to build i2p.jar and router.jar with ScalaTest classes included
2012-08-07 11:58:11 +00:00
e1525d98cd
Fixed paths to JUnit tests in javadoc targets
2012-07-31 21:26:46 +00:00
3253f82900
Added ScalaTest support to router build.xml
2012-07-31 00:06:28 +00:00
79ab065500
propagate from branch 'i2p.i2p' (head e1c79060790ae24b2a96aff2857477d6528ae7c6)
...
to branch 'i2p.i2p.unittests' (head 357abd51672dd9950cbac6dd30ded117fe5695e0)
2012-03-16 02:30:42 +00:00
9d07bc241c
Replace hostname included by junit in reports with "i2ptester"
...
The fake hostname can be overridden by setting the host.fakename property.
2012-03-16 01:41:23 +00:00
f6bda355b9
* Build: Add new jetty jars to router.jar classpath so it works
...
on very old installs with individual jars specified in the
wrapper.config classpath
2012-03-10 21:55:45 +00:00
cadedeb06c
* Build: Add built-by to jars; check for corrupt jars on debug page
2012-03-01 16:04:17 +00:00
4148aa54f3
Need to run clean and prepareTest before test in router build.xml
2012-02-25 01:48:31 +00:00
204440b06b
Run full test reports with fulltest target, not just junit report
2012-02-25 01:46:46 +00:00
6a26c0b621
Edited router build.xml to match core build.xml (inc. clover, cobertura stuff)
2012-02-25 01:43:15 +00:00
ceda7c9ca0
Fix jbigi.jar path in test target of router build.xml
2012-02-25 01:21:31 +00:00
c7d473a7eb
Shuffle round mkdirs and deletes in router build.xml to match core build.xml
...
batchtest has a todir config option that makes manual copying unnecessary.
2012-02-18 02:13:46 +00:00
8a32aad6c3
Shuffled build targets around to group together ones related to unit tests
2012-02-16 00:08:27 +00:00
7213ff0c76
* Build: Put Implementation-Version in manifests
2012-01-15 16:36:17 +00:00
c5f04ee9c4
- Don't do 'mtn list changed' if not in a workspace or not needed
2011-06-08 20:15:53 +00:00
f9b2c77161
fix RateTest; includeAntRuntime=true for router tests
2011-02-17 21:23:38 +00:00
fd91927c11
* Build:
...
- Add includeAntRuntime=false to all javac targets
- Add build date, mtn rev, and changed file list to all manifests
- Add unless=uptodate to all jar and war targets
(bob and dtg still todo)
2011-02-17 12:47:35 +00:00
612d06bd53
* Build: Move all dependencies to top-level build.xml,
...
so each sub-build.xml is only executed once (true DAG)
2010-11-28 03:56:56 +00:00
92daa920d2
add dependency to get the version number right in the wrapper log
2009-07-13 17:10:51 +00:00
157b85b11b
pass compiler args down from top build.xml
2009-04-26 15:54:51 +00:00
c7bb2e8f76
* build files:
...
- Don't die if depend not available
- Only verify Jetty hash once
- Add streaming lib tests to depends task
2008-11-14 14:48:08 +00:00
98038e9282
* Build files:
...
- Use the depend task with caching for more accurate dependencies
- Make sure the routerconsole gets the latest router version
- Fix addressbook repeated builds
2008-11-12 17:08:09 +00:00