<div dir="ltr">On Wed, May 29, 2013 at 1:36 PM, Apostolos Emmanouilidis <span dir="ltr"><<a href="mailto:aemmanou@redhat.com" target="_blank">aemmanou@redhat.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>
<div>
Hi,<br>
<br>
We have added some tests [1] for the AeroGear Android Pipes. The tests are executed on TravisCI [2]<br>
<br>
Both [3] simulation tests (like those included inside the aerogear-android-integration-tests which simulate the HTTP response) and real tests (using a rest service which is deployed on a JBoss AS 7 instance on the TravisCI machine) are executed in each build.<br>
<br>
The TravisCI build procedure is the following:<br>
<blockquote>
1. The Android SDK is installed on the TravisCI headless machine<br>
2. An Android emulator is started (without skin)<br>
3. The REST service is built. Jboss AS 7 distribution is downloaded<br>
4. The JBoss Server is started. This script [4] waits until the server is started up.<br>
5. The REST service WAR is deployed on JBoss AS.<br>
6. The Android tests are executed inside the emulator<br></blockquote></div></blockquote><div>Nice test case</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><blockquote>
</blockquote>
I'd like to add some cases to test the CORs support. Is there any specific configuration on pipelines/pipes or CORs is enabled and supported by default? <br></div></blockquote><div><br></div><div>You don't need any configuration for it.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
[1]: <a href="https://github.com/tolis-e/aerogear-android-pipe-tests" target="_blank">https://github.com/tolis-e/aerogear-android-pipe-tests</a> <br>
[2]: <a href="https://travis-ci.org/tolis-e/aerogear-android-pipe-tests" target="_blank">https://travis-ci.org/tolis-e/aerogear-android-pipe-tests</a><br>
[3]: <a href="https://github.com/tolis-e/aerogear-android-pipe-tests/blob/master/aerogear-android-pipe-tests/src/org/jboss/aerogear/android/test/RestFullPipeTestCase.java" target="_blank">https://github.com/tolis-e/aerogear-android-pipe-tests/blob/master/aerogear-android-pipe-tests/src/org/jboss/aerogear/android/test/RestFullPipeTestCase.java </a> <br>
[4]: <a href="https://github.com/tolis-e/aerogear-android-pipe-tests/blob/master/wait_jboss_to_start_up" target="_blank">https://github.com/tolis-e/aerogear-android-pipe-tests/blob/master/wait_jboss_to_start_up</a> <br>
<br>
Thanks,<br>
Tolis Emmanouilidis</div></blockquote></div></div></div>