Fix tests

Change-Id: I89370919dd5a8a129ea946f2d3429f0d4a056eb6
This commit is contained in:
Tony Mantler 2014-02-21 11:43:19 -08:00
parent 5f72d21df9
commit c5685ba600
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@ import com.android.emailcommon.Device;
import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
import com.android.emailcommon.provider.Credential;
import com.android.emailcommon.provider.HostAuth;
import com.google.common.annotations.VisibleForTesting;
import java.io.IOException;
@ -118,6 +119,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
}
}
@VisibleForTesting
public void setPassword(final String password) {
mPasswordEdit.setText(password);
}

View File

@ -179,7 +179,7 @@ public class AccountSetupOutgoingTests extends
mActivity = getActivity();
mFragment = mActivity.mFragment;
mServerView = (EditText) mActivity.findViewById(R.id.account_server);
mAuthenticationView = (AuthenticationView) mActivity.findViewById(R.id.account_server);
mAuthenticationView = (AuthenticationView) mActivity.findViewById(R.id.authentication_view);
}
/**