package se.chalmers.watchmetest;

public class Constants {
	
	public static final int ADD_MOVIE_BUTTON = 1;
	public static final int TITLE_FIELD = 0;
	public static final int TAG_FIELD = 1;
	public static final int NOTE_FIELD = 2;
	public static final int DATE_PICKER = 0;
	public static final int RATING_BAR = 0;
	
	public static final int TAG_LIST_FRAGMENT_VIEW_PAGER_ID = 1;
	public static final int MOVIE_LIST_FRAGMENT_VIEW_PAGER_ID = 0;
	
	public static final int WAIT_FOR_DIALOG_TO_CLOSE_TIME = 1000;
}

package se.chalmers.watchmetest;

/**
 * A class containing constant values used in testing of the application WatchME
 * @author mattiashenriksson
 *
 */
public class Constants {
	
	/**
	 * Index for "Add movie"-button in add movie view in robotium ui-tests.
	 */
	public static final int ADD_MOVIE_BUTTON = 1;
	
	/**
	 * Index for title text field in add movie view in robotium ui-tests.
	 */
	public static final int TITLE_FIELD = 0;
	
	/**
	 * Index for tag field in add movie view in robotium ui-tests.
	 */
	public static final int TAG_FIELD = 1;
	
	/**
	 * Index for note field in add movie view in robotium ui-tests.
	 */
	public static final int NOTE_FIELD = 2;
	
	/**
	 * Index for date picker in add movie view in robotium ui-tests.
	 */
	public static final int DATE_PICKER = 0;
	
	/**
	 * Index for rating bar in add movie view in robotium ui-tests.
	 */
	public static final int RATING_BAR = 0;
	
	
	/**
	 * When added in view pager fragment gets an id. This is the tag lists id.
	 */
	public static final int TAG_LIST_FRAGMENT_VIEW_PAGER_ID = 1;
	
	/**
	 * When added in view pager fragment gets an id. This is the tag lists id.
	 */
	public static final int MOVIE_LIST_FRAGMENT_VIEW_PAGER_ID = 0;
	
	
	/**
	 * Milliseconds to wait before closing a dialog in robotium ui-tests.
	 */
	public static final int WAIT_FOR_DIALOG_TO_CLOSE_TIME = 1000;
}

Add comments in Constants class