Move SmtpTransport to separate package
This commit is contained in:
parent
f927eadbdb
commit
0b22cd5b8f
5 changed files with 7 additions and 11 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
package com.fsck.k9.mail.transport;
|
||||
package com.fsck.k9.mail.transport.smtp;
|
||||
|
||||
|
||||
import java.io.BufferedInputStream;
|
|
@ -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;
|
|
@ -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;
|
Loading…
Reference in a new issue