Move SmtpTransport to separate package

This commit is contained in:
cketti 2017-03-14 04:54:26 +01:00
parent f927eadbdb
commit 0b22cd5b8f
5 changed files with 7 additions and 11 deletions

View file

@ -1,13 +1,8 @@
package com.fsck.k9.mail;
import android.content.Context;
import com.fsck.k9.mail.oauth.OAuth2TokenProvider;
import com.fsck.k9.mail.ssl.DefaultTrustedSocketFactory;
import com.fsck.k9.mail.store.StoreConfig;
import com.fsck.k9.mail.ServerSettings.Type;
import com.fsck.k9.mail.transport.SmtpTransport;
import com.fsck.k9.mail.transport.smtp.SmtpTransport;
import com.fsck.k9.mail.transport.WebDavTransport;
import java.io.UnsupportedEncodingException;

View file

@ -6,7 +6,7 @@ import android.content.Context;
import com.fsck.k9.mail.oauth.OAuth2TokenProvider;
import com.fsck.k9.mail.ssl.DefaultTrustedSocketFactory;
import com.fsck.k9.mail.store.StoreConfig;
import com.fsck.k9.mail.transport.SmtpTransport;
import com.fsck.k9.mail.transport.smtp.SmtpTransport;
import com.fsck.k9.mail.transport.WebDavTransport;
public class TransportProvider {

View file

@ -1,5 +1,5 @@
package com.fsck.k9.mail.transport;
package com.fsck.k9.mail.transport.smtp;
import java.io.BufferedInputStream;

View file

@ -1,4 +1,4 @@
package com.fsck.k9.mail.transport;
package com.fsck.k9.mail.transport.smtp;
import java.io.IOException;
@ -22,11 +22,11 @@ import com.fsck.k9.mail.oauth.OAuth2TokenProvider;
import com.fsck.k9.mail.ssl.TrustedSocketFactory;
import com.fsck.k9.mail.store.StoreConfig;
import com.fsck.k9.mail.transport.mockServer.MockSmtpServer;
import com.fsck.k9.mail.transport.smtp.SmtpTransport;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InOrder;
import org.robolectric.annotation.Config;
import static junit.framework.Assert.assertTrue;
import static junit.framework.Assert.fail;

View file

@ -1,4 +1,4 @@
package com.fsck.k9.mail.transport;
package com.fsck.k9.mail.transport.smtp;
import android.annotation.SuppressLint;
@ -6,6 +6,7 @@ import com.fsck.k9.mail.AuthType;
import com.fsck.k9.mail.ConnectionSecurity;
import com.fsck.k9.mail.ServerSettings;
import com.fsck.k9.mail.transport.smtp.SmtpTransport;
import org.junit.Test;
import static org.junit.Assert.assertEquals;