Fix tests for the flavors project.
authorXavier Ducrohet <xav@android.com>
Fri, 21 Sep 2012 20:58:36 +0000 (13:58 -0700)
committerXavier Ducrohet <xav@android.com>
Fri, 21 Sep 2012 20:59:05 +0000 (13:59 -0700)
commitd3079f3988a2d9d21b981c9fd1c1bd616c2e3f02
tree3e5867bf356cf3889eeefd3665e6c4f9b5d0a95c
parent4518ee9ba3a30450b7d92e0a040706d8de7c5bd4
Fix tests for the flavors project.

The test folders are case-sensitive and the camelcase was
not respected. We might need warning on this.

Also fixed a case where if the first task to run is the
compile one, the builder wouldn't be instantiated yet
and the runtimejar query would fail with an NPE.

Change-Id: Id6f27cb8ea45f212f5b93ac19b3b3c12c3f3ed85
gradle/src/main/groovy/com/android/build/gradle/AndroidBasePlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/BaseAndroidTask.groovy
testapps/flavors/src/testF1/java/com/android/tests/flavors/MainActivityGroup1Test.java [moved from testapps/flavors/src/testF1/java/com/android/tests/flavors/MainActivityTest.java with 96% similarity]
testapps/flavors/src/testF2/java/com/android/tests/flavors/MainActivityGroup1Test.java [moved from testapps/flavors/src/testF2/java/com/android/tests/flavors/MainActivityTest.java with 96% similarity]
testapps/flavors/src/testFa/java/com/android/tests/flavors/MainActivityGroup2Test.java [moved from testapps/flavors/src/testFA/java/com/android/tests/flavors/MainActivityTest.java with 92% similarity]
testapps/flavors/src/testFb/java/com/android/tests/flavors/MainActivityGroup2Test.java [moved from testapps/flavors/src/testFB/java/com/android/tests/flavors/MainActivityTest.java with 92% similarity]