All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.tidalwave.bluebill.mobile.android.preferences.PreferencesActivityTestHelper Maven / Gradle / Ivy

There is a newer version: 0.15
Show newest version
/***********************************************************************************************************************
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 **********************************************************************************************************************/
package it.tidalwave.bluebill.mobile.android.preferences;

import android.test.ActivityInstrumentationTestCase2;
import android.widget.ListView;
import android.widget.Spinner;
import com.jayway.android.robotium.solo.Solo;
import it.tidalwave.bluebill.mobile.android.ActivityTestHelper;
import java.util.List;
import javax.annotation.Nonnull;

/***********************************************************************************************************************
 *
 * @author  Fabrizio Giudici
 * @version $Id: $
 *
 **********************************************************************************************************************/
public class PreferencesActivityTestHelper extends ActivityTestHelper
  {
    public PreferencesActivityTestHelper (final @Nonnull ActivityInstrumentationTestCase2 instrumentationTestCase,
                                          final @Nonnull Solo solo)
      {
        super(instrumentationTestCase, solo);
      }

    public void clickOnCheckListSelector()
      {
        testHelper.clickOnListView(solo.getCurrentListViews().get(0), "Checklist.*");
      }

    public void waitForActivity()
      {
        solo.sleep(200);
//        testHelper.waitForActivity(PreferencesActivity.class);
      }
  }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy