<div dir="ltr">This is fantastic, Vivek. Thanks for pushing on this.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 5:04 PM, Vivek Balakrishnan <span dir="ltr"><<a href="mailto:vivekb.balakrishnan@gmail.com" target="_blank">vivekb.balakrishnan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span>Hello everyone,</span></div><div><br></div><div><span>I
wanted to let you know that the we are trying to provide Android Unit
test support that runs in a local JVM instead of phone/emulator (bug
1182193)</span><span>. We've imported the existing Android Sync test suite as a proof of concept.</span></div><div><br></div><div><span>As
a part of this change, we have raised the Gradle plugin version to 1.3.0 . I
have tested that this update does not break the IDE integration with the
latest IntelliJ (14.1.4) and Android Studio (1.3.2)</span></div><div><br></div><div><span>Please file a bug CCing me (:vivek) and Nick (:nalexander) if you find any incompatibility with IntelliJ or Android Studio. </span></div><div><br></div><div><span>The Android Sync test files are in mobile/android/</span><span>tests/background/junit4/</span><span> You can run the unit tests by running |mach gradle </span><span>cleanTest test</span><span>|. The tests aren't run unless you ask for them, and aren't run in automation (yet).</span></div><div><br></div><div><span>Depending on your setup, you may notice that </span><span>the</span><span> </span><span>tests fail</span><span> with the following exception</span></div><div><span>"org.mozilla.gecko.sync.crypto.CryptoException"</span></div><div><br></div><div><span>You will need to update your Sun Java Cryptographic Policy to resolve this.</span></div><div><span>Go to </span><span><a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html" target="_blank">http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html</a></span><span> accept the license agreement, and download the file named UnlimitedJCEPolicyJDK7.zip</span></div><div><span>Extract and copy US_export_policy.jar & local_policy.jar to JAVA_HOME/jre/lib/security/ .</span></div><div><br></div><div><br></div><div><span>Best,</span></div><div><span>Vivek</span></div></div>
<br>_______________________________________________<br>
mobile-firefox-dev mailing list<br>
<a href="mailto:mobile-firefox-dev@mozilla.org">mobile-firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/mobile-firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/mobile-firefox-dev</a><br>
<br></blockquote></div><br></div>