Skip to content

Commit

Permalink
Addressing internal comments, small changes for consistency and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAlcerreca committed Mar 1, 2016
1 parent 7e7420d commit 56abccb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public void orientationChange_menuAndTaskPersist() {

TestUtils.rotateOrientation(mTaskDetailActivityTestRule);

// Check that the task is shown
onView(withId(R.id.task_detail_title)).check(matches(withText(TASK_TITLE)));
onView(withId(R.id.task_detail_description)).check(matches(withText(TASK_DESCRIPTION)));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ public TaskDetailPresenter(@Nullable String taskId,

@Override
public void start() {
openTask();
}

private void openTask() {
mLoaderManager.initLoader(TASK_QUERY, null, this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public void orientationChange_menuAndTaskPersist() {

TestUtils.rotateOrientation(mTaskDetailActivityTestRule);

// Check that the task is shown
onView(withId(R.id.task_detail_title)).check(matches(withText(TASK_TITLE)));
onView(withId(R.id.task_detail_description)).check(matches(withText(TASK_DESCRIPTION)));

Expand Down

0 comments on commit 56abccb

Please sign in to comment.