freepascal / android-mock

Automatically exported from code.google.com/p/android-mock
0 stars 0 forks source link

Add pregenerated mocks for newer platforms #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
AndroidMock doesn't currently support the newests platforms: 2.3.3, 3.0 and 3.1

Original issue reported on code.google.com by arace...@google.com on 27 Jun 2011 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by ach...@gmail.com on 28 Jun 2011 at 4:22

GoogleCodeExporter commented 9 years ago
Also, if you could compile up the android_framework_mocks.jar for 2.3.4 as well 
that would be a big help as this is the latest version supported by Google's 
Nexus S. 

Incidentally, I've been trying to get the Ant build to build these for me but 
the build.xml only seems to build the generator and runtime jars. Is there a 
trick to getting it to work? Some documentation helping users to help 
themselves would be really useful. 

Original comment by t...@leach.it on 1 Jul 2011 at 8:06

GoogleCodeExporter commented 9 years ago
EDIT: I figured it out. You simply need to invoke the frameworkgen.build build 
target.

Original comment by t...@leach.it on 1 Jul 2011 at 8:34

GoogleCodeExporter commented 9 years ago
Doesn't 2.3.3 work for you?  From 
http://developer.android.com/sdk/android-2.3.4.html
"Android 2.3.4 is a maintenance release that adds several bug fixes and patches 
to the Android 2.3 platform, without any API changes from Android 2.3.3."

Since it is still api level 10 I assumed it would work. If it doesn't, could 
you separate a different bug to track it? Thanks!

Original comment by ach...@gmail.com on 6 Jul 2011 at 5:35

GoogleCodeExporter commented 9 years ago
No you're right - 2.3.3 does indeed work. Thanks. 

Original comment by t...@leach.it on 6 Jul 2011 at 10:41