OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Muthu Ramadoss [Thu, 13 Nov 2008 10:06:09 +0000 (15:36 +0530)]
ENHANCEMENT: activitycreator generates 'tests' project for instrumentation.
activitycreator script is enhanced to generate 'tests' project along with the main project. The current behavior of generating Activity is extended by generating ActivityTest in 'tests/src' folder. The 'tests' folder follows the example provided asis in 'ApiDemos'. ApiDemos was used as reference project to mimic the project layout for building tests using Instrumentation.
From 'tests' project, type:
"adb shell am instrument -w [your.package].tests/android.test.InstrumentationTestRunner"
to run all tests using Android InstrumentationTestRunner.
NOTE: 'tests' is a separate AndroidProject by all means. It has its own AndroidManifest.xml, build.xml, src, res etc.,
AMEND:
Fixed style issues, javadoc
Fixed build.template to generate tests/build.xml
Removed build.tests.template since its obsolete now.
Muthu Ramadoss [Tue, 11 Nov 2008 05:29:24 +0000 (10:59 +0530)]
Changed srcdir="." to srcdir="${srcdir}" in scripts/build.template
This change makes sure the srcdir is pointing to only the java source folder and not recursively compile all source folders under the current folder. This is useful in having multiple java source folders for main, tests etc., Only the compile target is being affected by this change.
NOTE: Now you can have project/tests and work with tests as a separate android project, only for testing. In any case pointing to source explicitly makes sure no side affects arise by recursive compiling.
Alexey Tarasov [Sun, 9 Nov 2008 01:00:59 +0000 (11:00 +1000)]
changed main class name in manifest file to correct one
Android Code Review [Wed, 22 Oct 2008 19:47:08 +0000 (19:47 +0000)]
Merge
Evan JIANG [Wed, 22 Oct 2008 16:12:40 +0000 (00:12 +0800)]
Evan JIANG: Fix build bug when "make sdk"
If you run "make sdk" under the root path, there would be an error:
development/build/sdk.atree:122: couldn't locate source file:
development/emulator/prebuilt/android-arm/kernel-qemu
make: *** [out/host/darwin-x86/sdk/android-sdk_eng.Evan_mac-x86.zip]
Error 44
I guess the kernel-qemu path is wrong in the sdk.atree file.
With this patch, "make sdk" works ok.
Andy Stadler [Tue, 21 Oct 2008 22:04:50 +0000 (15:04 -0700)]
Updated .classpath to use with Eclipse IDE.
Alexey Zaytsev [Tue, 21 Oct 2008 22:03:57 +0000 (02:03 +0400)]
Add a few missing headers
Fixes build with gcc 4.3.2 on Debian.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution