Android (Google) Code Review
d00a9bcffe
Merge change I3e6a5048 into eclair
...
* changes:
Fix ADT tests failures: - Separate functional tests into ones which load their own Sdk, vs ones which need to use the same one as Adt. - Make all base test classes abstract with protected constructors.
2009-10-09 16:45:44 -04:00
Brett Chabot
126bc43dee
Fix ADT tests failures:
...
- Separate functional tests into ones which load their own Sdk, vs ones which
need to use the same one as Adt.
- Make all base test classes abstract with protected constructors.
BUG 2173382, 2173847
2009-10-09 12:33:22 -07:00
Android (Google) Code Review
773e9af645
Merge change Ied6c54f1 into eclair
...
* changes:
Fix continuous adt-test: UpdaterLogic is now public.
2009-10-09 15:15:45 -04:00
Raphael
8e8ad9d39f
Fix continuous adt-test: UpdaterLogic is now public.
...
Also remove the make sdkuilib from create_tests_symlinks, since
adt-tests actually uses the one from adt.
SDK BUG 2177557
Change-Id: Ied6c54f1227ed73fb77723e016559357fc1c1ee2
2009-10-09 11:50:16 -07:00
Android (Google) Code Review
264d42dd1c
Merge change Idf5bcb58 into eclair
...
* changes:
Fix ant install when -Dadb.device.arg not provided.
2009-10-09 14:45:22 -04:00
Brett Chabot
1a363965c5
Fix ant install when -Dadb.device.arg not provided.
...
And also add the adb.device.arg support to ant uninstall.
BUG 2172690
2009-10-09 11:42:14 -07:00
Android (Google) Code Review
b2fa9b713d
Merge change I2c7af74e into eclair
...
* changes:
SDK Updater: don't auto-expand archives when selecting a package
2009-10-09 13:52:36 -04:00
Raphael
38169df333
SDK Updater: don't auto-expand archives when selecting a package
...
SDK BUG 2177033
Change-Id: I2c7af74e0dbbb3fc452e15e135b656a89bde4d31
2009-10-08 16:36:41 -07:00
Raphael
3334a5874e
Fix "android create project" to properly set name in strings.xml
...
Layout was wrong too.
SDK BUG 2176634
Change-Id: Ibbec1c47037d4a6dd875953c1875daaac4f11106
2009-10-08 15:16:22 -07:00
Raphael
8eff7f5779
Support adb device-targeting arguments in ant scripts.
...
Example of usage:
$ ant install -Dadb.device.arg=-d
SDK BUG 2172690
Change-Id: I196441f9aab888b1356b4fc0255842570be5140f
2009-10-08 15:05:09 -07:00
Android (Google) Code Review
f3ae13d06f
Merge change I7d549c26 into eclair
...
* changes:
Add SdkUiLib tests to adt-tests.
2009-10-08 17:20:28 -04:00
Android (Google) Code Review
0947e82e4e
Merge change Ica46d149 into eclair
...
* changes:
SDK Updater: platform dependency on tools, addon dependency on platform.
2009-10-08 15:51:29 -04:00
Raphael
b192b0ef5b
SDK Updater: platform dependency on tools, addon dependency on platform.
...
SDK BUG 2040986
Change-Id: Ica46d14939bb3a9bf499899a0bf571456d4c6017
2009-10-08 11:55:48 -07:00
Android (Google) Code Review
9cb6feee3a
Merge change Ia20b55c7 into eclair
...
* changes:
Add hardware support to AVD creation dialog.
2009-10-08 14:35:38 -04:00
Jean-Baptiste Queru
b7c548eb23
am fb244224: merge from donut-gms
...
Merge commit 'fb244224235c33b492774f32e8caf8d43f2a3cec' into eclair
* commit 'fb244224235c33b492774f32e8caf8d43f2a3cec':
Remove unnecessary preprocessing of monkey commands, fix bug where it didn't recognize '@', '+', '.', etc.
adding a recorder function to collect output into an xml file; adding getvars and listvars command to MonkeyRunner
Add runtest test def for cts-webkit.
2009-10-08 10:43:28 -07:00
Jean-Baptiste Queru
fb24422423
merge from donut-gms
2009-10-08 10:00:39 -07:00
Raphael
e3ae0fe73a
Add SdkUiLib tests to adt-tests.
...
Also fixes the create_tests_symlink for Windows.
SDK BUG 2040986
Change-Id: I7d549c265efb9dbb5936ed7c9a7798eefee52d9b
2009-10-07 21:57:50 -07:00
Xavier Ducrohet
3a05612f59
Add hardware support to AVD creation dialog.
...
Change-Id: Ia20b55c788191b40159b5c38b66f1da333179ccc
2009-10-07 19:52:43 -07:00
Android (Google) Code Review
211195d193
Merge change I0d2bc2d1 into eclair
...
* changes:
New based dialog class.
2009-10-07 19:08:05 -04:00
Xavier Ducrohet
5e5e423346
New based dialog class.
...
This simply (for now) extends the jface dialog to properly
set it up.
Change-Id: I0d2bc2d10aad3811201f9d1df3efbfc87be50cb4
2009-10-07 16:04:23 -07:00
Romain Guy
9bda7101b8
Fix the MergeRootFrameLayout rule by checking the presence of padding.
...
Change-Id: I3a8b257025e74f6899233d9b99f7f86b5675e997
2009-10-07 12:31:17 -07:00
Android (Google) Code Review
7ce7a7835d
Merge change I47bf273a into eclair
...
* changes:
Update AVD creation UI to be easier for skin/sdcard.
2009-10-06 20:19:28 -04:00
Android (Google) Code Review
740e6ef010
Merge change Iafd22833 into eclair
...
* changes:
Add git ignore file for ninepatch eclipse project.
2009-10-06 20:19:02 -04:00
Xavier Ducrohet
2eae036a59
Update AVD creation UI to be easier for skin/sdcard.
...
BUG: 2162198
Change-Id: I47bf273a730a1bf6e0c3f47fb5247f02d06259a5
2009-10-06 17:06:51 -07:00
Xavier Ducrohet
32eed32acd
Add git ignore file for ninepatch eclipse project.
...
Change-Id: Iafd228336791a4a5b3b9443ba7ea075f8bf1d8a0
2009-10-06 16:59:38 -07:00
Romain Guy
ece784c583
Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
...
Change-Id: I2ab9b3c6b57744563c87cb8457c55afd0cbfcb57
2009-10-06 16:22:58 -07:00
Android (Google) Code Review
b5c1840392
Merge change Idc3d3b2f into eclair
...
* changes:
Moved the test data to their own package.
2009-10-06 18:19:28 -04:00
Android (Google) Code Review
2aaa22e057
Merge change Id7515f9a into eclair
...
* changes:
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
2009-10-06 17:56:15 -04:00
Android (Google) Code Review
8f24270334
Merge change I56443773 into eclair
...
* changes:
Add support for loading 9-patch from a stream.
2009-10-06 15:35:46 -04:00
Xavier Ducrohet
db9d3e2baf
Add support for loading 9-patch from a stream.
...
This will be used by the tests.
Also added the eclipse project files.
Change-Id: I56443773d90594475fc3f14464d48e56d5a1bbb5
2009-10-06 12:10:42 -07:00
Xavier Ducrohet
3f71486cbd
Moved the test data to their own package.
...
This allows us to select the whole package for binary inclusion
in adt-test (which doesn't automatically take any non java file for
packaging)
Change-Id: Idc3d3b2f27623de1b0fccd7e01dd88948923081c
2009-10-06 12:06:46 -07:00
Romain Guy
1e2cbdfa84
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
...
This change also refactors the uix library to remove an unnecessary class (LayoutNode.)
The refactoring helps writing cleaner script by accessing only the node object instead
of xml and node. This change also augment the capabilities of the node in Groovy scripts.
Change-Id: Id7515f9a79826909834d82496a6d9dfbc19988ad
2009-10-06 11:42:02 -07:00
Android (Google) Code Review
894825887e
Merge change Iddb7f466 into eclair
...
* changes:
Put kxml back in adt-test
2009-10-06 14:16:58 -04:00
Romain Guy
16a56b8ccd
Fix NPE in layoutopt when trying to open non-XML files.
...
Change-Id: I59900c35996ce4465e2ecfd2eb26a19e3fa66403
2009-10-06 10:51:05 -07:00
Xavier Ducrohet
cce979fcf5
Put kxml back in adt-test
...
Since adt doesn't export the package, it's just easier that way.
Change-Id: Iddb7f4660ccc0bc51374128a544975596cb051aa
2009-10-06 10:45:18 -07:00
Xavier Ducrohet
67d9bcdf5c
Only create folder if not present.
...
Change-Id: I77673e0f43d7a00f42e2a97663bd9aed2aaf09f2
2009-10-05 20:55:13 -07:00
Android (Google) Code Review
8251e4ef46
Merge change Iab62c8e9 into eclair
...
* changes:
Add layoutlib.jar to the classpath of adt-tests
2009-10-05 23:09:40 -04:00
Xavier Ducrohet
4aab78e0b9
Add layoutlib.jar to the classpath of adt-tests
...
Change-Id: Iab62c8e9849873e91640484c70110660aabd4b8e
2009-10-05 20:08:31 -07:00
Android (Google) Code Review
ee7c473929
Merge change Ic1eff784 into eclair
...
* changes:
Fix script (and build)
2009-10-05 22:35:24 -04:00
Xavier Ducrohet
ef6dcb646c
Fix script (and build)
...
Change-Id: Ic1eff7843219c42867e477ad8bfbdf89167a0061
2009-10-05 19:33:35 -07:00
Android (Google) Code Review
b7e69d20a4
Merge change Ic8fe0b36 into eclair
...
* changes:
Add 3 more rules to layoutopt/uix: - InefficientWeight - NestedScrollingWidgets - TooManyChildren
2009-10-05 21:07:00 -04:00
Romain Guy
4796120e05
Add 3 more rules to layoutopt/uix:
...
- InefficientWeight
- NestedScrollingWidgets
- TooManyChildren
Change-Id: Ic8fe0b36e0a7cac523d223e5f8d96d7959919da6
2009-10-05 18:05:44 -07:00
Xavier Ducrohet
24bf2fa3e4
Add tests from layoutlib to adt-tests
...
Change-Id: Ia7bac7fad90b77fe34fb4a4371d6d5945993efe9
2009-10-05 15:57:17 -07:00
Android (Google) Code Review
b6e85c0548
Merge change Ieb4e722b into eclair
...
* changes:
Add sdklib tests to the adt-tests Unit tests.
2009-10-05 17:45:04 -04:00
Android (Google) Code Review
6cc64cd26d
Merge change I90b4c0e7 into eclair
...
* changes:
Fix Eclipse sample tests.
2009-10-05 17:26:31 -04:00
Brett Chabot
071276efbd
Fix Eclipse sample tests.
2009-10-05 13:39:38 -07:00
Xavier Ducrohet
b7d28abce3
Add sdklib tests to the adt-tests Unit tests.
...
Change-Id: Ieb4e722b1b5a29cef250e2cb5575a71e09f956c3
2009-10-05 13:01:11 -07:00
Android (Google) Code Review
e96bc57aad
Merge change I7d761ffa into eclair
...
* changes:
Fix best match resource selection when there's only one match.
2009-10-05 15:29:16 -04:00
Xavier Ducrohet
98fcd41e1f
Fix best match resource selection when there's only one match.
...
Was using the wrong index.
Change-Id: I7d761ffa553f0aeec176a4752185dde238991e5e
2009-10-05 12:15:08 -07:00
Romain Guy
06d3ec157e
Only process XML files in layoutopt.
...
Change-Id: I847109409601ccfbb10abff3b9972afdb3032821
2009-10-05 12:08:48 -07:00