On Fri, Aug 12, 2011 at 5:52 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote;wrote:
On Fri, Aug 12, 2011 at 1:47 AM, Chamika Weerasinghe
<chamikaw(a)gmail.com>
wrote:
Hi all,
I almost finished developing Android Client with following modules and
automated testing has to be done in next week.
xwiki-android-client = working android client application
xwiki-android-components = user interface components for XWiki Android
Development
xwiki-android-rest = XWiki RESTful library for Android
**xwiki-android-test-rest = Android REST library unit test module
(sample
test added)
**xwiki-android-tests-instrumentation = UI instrumentation tests module
(sample test added)
xwiki-rest-model-gson = XWiki REST model for GSON(Currently not
necessary)
xwiki-rest-model-simplexml = XWiki REST model for
Simple-xml (As a
replacement for JAXB)
I did the documentation on Android Client in extensions section and some
final touches have to be added to it.
(
http://extensions.xwiki.org/xwiki/bin/view/Extension/Google+Android+Client
)
Very nice already !
Issues: Testing Android
Android applications or libraries cannot be tested as normal builds since
they have to be tested on a device or an emulator.
So logically there is no tests in maven build for Android.
When we add test cases and other test related classes, Android Debug
Bridge(adb) will run the tests inside a valid device/simulator and gives
the
test reports.
Due to this reason Jenkins failed to build the test related modules with
the
error [ERROR] error: device not found
Other modules will be built successfully*. *
So if I create a virtual device on the Jenkins agent it should be ok, right
?
Yeah. and virtual device should be started. Then adb will automatically
detect running device and use it for testing. :)
Best Regards,
Chamika Weerasinghe
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs