Fix tests
Change-Id: I89370919dd5a8a129ea946f2d3429f0d4a056eb6
This commit is contained in:
parent
5f72d21df9
commit
c5685ba600
@ -20,6 +20,7 @@ import com.android.emailcommon.Device;
|
|||||||
import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
|
import com.android.emailcommon.VendorPolicyLoader.OAuthProvider;
|
||||||
import com.android.emailcommon.provider.Credential;
|
import com.android.emailcommon.provider.Credential;
|
||||||
import com.android.emailcommon.provider.HostAuth;
|
import com.android.emailcommon.provider.HostAuth;
|
||||||
|
import com.google.common.annotations.VisibleForTesting;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
@ -118,6 +119,7 @@ public class AuthenticationView extends LinearLayout implements OnClickListener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@VisibleForTesting
|
||||||
public void setPassword(final String password) {
|
public void setPassword(final String password) {
|
||||||
mPasswordEdit.setText(password);
|
mPasswordEdit.setText(password);
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ public class AccountSetupOutgoingTests extends
|
|||||||
mActivity = getActivity();
|
mActivity = getActivity();
|
||||||
mFragment = mActivity.mFragment;
|
mFragment = mActivity.mFragment;
|
||||||
mServerView = (EditText) mActivity.findViewById(R.id.account_server);
|
mServerView = (EditText) mActivity.findViewById(R.id.account_server);
|
||||||
mAuthenticationView = (AuthenticationView) mActivity.findViewById(R.id.account_server);
|
mAuthenticationView = (AuthenticationView) mActivity.findViewById(R.id.authentication_view);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user