On Tue, Aug 16, 2011 at 6:32 PM, Thomas Mortagne <[email protected]>wrote:
> On Fri, Aug 12, 2011 at 3:15 PM, Chamika Weerasinghe <[email protected]> > wrote: > > On Fri, Aug 12, 2011 at 5:52 PM, Thomas Mortagne > > <[email protected]>wrote: > > > >> On Fri, Aug 12, 2011 at 1:47 AM, Chamika Weerasinghe < > [email protected]> > >> 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. :) > > Done, an emulator with a 2.1 (API 7) device is automatically started > with jenkins on agent-3. Thank you. Now Jenkins builds were successful. > Tell me if you want some specific setup for the definition of the > screen or whatever, currently it's using the default. > There is no need to setup other settings and it should also work with any configuration :) > > > > > > >> > >> > > >> > > >> > Best Regards, > >> > Chamika Weerasinghe > >> > _______________________________________________ > >> > devs mailing list > >> > [email protected] > >> > http://lists.xwiki.org/mailman/listinfo/devs > >> > > >> > >> > >> > >> -- > >> Thomas Mortagne > >> _______________________________________________ > >> devs mailing list > >> [email protected] > >> http://lists.xwiki.org/mailman/listinfo/devs > >> > > _______________________________________________ > > devs mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/devs > > > > > > -- > Thomas Mortagne > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

