/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ // // Alas, this whole test is bitrotted when used for the real Android test environment. // package org.mozilla.android.sync.test; //import org.mozilla.android.sync.MainActivity; //import org.mozilla.android.sync.R; //import com.xtremelabs.robolectric.RobolectricTestRunner; //import org.junit.Test; //import org.junit.runner.RunWith; // //import static org.hamcrest.CoreMatchers.equalTo; //import static org.junit.Assert.assertThat; // ///* // * This test class is just kept around to show how // * robolectric can be used to test the UI. It was // * the example used for learning to use robolectric // * and could be useful later for testing the app itself. // * // * TODO delete me later // */ //@RunWith(RobolectricTestRunner.class) //public class MyActivityTest { // // @Test // public void shouldHaveHappySmiles() throws Exception { // String appName = new MainActivity().getResources().getString(R.string.app_name); // assertThat(appName, equalTo("Android-sync")); // } //}