Commit Graph

7 Commits

Author SHA1 Message Date
ashley willis 99f8a8152c updated target name "test" in tests/build.xml for Android SDK Tools Revision 20.0.3 / 21 RC4 2012-09-22 09:43:58 -05:00
ashley willis 269a82bede added support for emma test output as coverage.xml 2012-06-07 22:10:38 -05:00
ashley willis cb715387b5 summary: updated build.xml and tests/build.xml.
build.xml and tests/build.xml:
  updated general format to match what is generated in a new project.
  moved targets common to both to build_common.xml.
  replaced some exec calls (perl, mv) and inline javascript with ant tasks (including extensions from Android and ant-contrib).

build.xml:
  fixed indentation.
  privatized targets that don't need to be called directly from command-line.
  renamed some properties.

tests/build.xml:
  renamed test project from K9 to K9Tests.

tools/ant-contrib.jar:
  new!

.gitignore:
  added note about local per-repo rules.
2012-06-01 15:41:14 -05:00
ashley willis a0ee0b1561 summary: updated build scripts for testing.
.gitignore:
  added files created by new targets.

build.xml:
  removed targets install and reinstall.
  modified target help to depend on android_rules.help and only explain targets defined here.
  updated target javadoc.
  added targets lint-xml, lint-html, and monkey.
  added private target -pre-clean to remove files created by new targets.

tests/AndroidManifest.xml:
  updated note on running the tests.

tests/ant.properties:
  removed test.runner as target test is now overridden.

tests/build.xml:
  removed target test-report as it is now integrated with overridden target test.
  overrode target test to disable deleting coverage.em and use the new test runner.
  overrode target help to depend on android_rules.help and only explain targets defined here.
  added targets javadoc, lint-xml, lint-html, and artifacts.
  added private target -pre-clean to remove files created by new targets.

tests/clean-tests.sh:
  new sh script to run through all the tests.
2012-05-30 18:02:57 -05:00
ashley willis 2ffc18f224 Replaced android.test.InstrumentationTestRunner with com.zutubi.android.junitreport.JUnitReportTestRunner.
Create javadoc/ directory when doing "ant javadoc". Fixed installing debug builds with ant.

"ant -f tests/build.xml debug && ant -f tests/build.xml installt test test-report" compiles, installs, tests,
and saves output to tests/junit-report.xml.
2012-05-23 21:16:12 -05:00
Jesse Vincent 188a9fd070 Upgrade us to android-14 infrastructure
(Backport from Kaiten)

Conflicts:

	build.xml
	default.properties
	plugins/ActionBar/project.properties
	plugins/QuickAction/project.properties
	plugins/SplitView/ant.properties
	plugins/SplitView/build.xml
	plugins/SplitView/local.properties
	plugins/SplitView/proguard.cfg
	plugins/SplitView/project.properties
	project.properties
2011-10-27 12:41:24 -04:00
Jesse Vincent 2d347826a7 We have a test suite that can run (thanks to achen's start) 2011-02-08 19:34:53 -05:00