Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b22cd5b authored by cketti's avatar cketti
Browse files

Move SmtpTransport to separate package

parent f927eadb
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line

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;
+1 −1
Original line number Diff line number Diff line
@@ -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 −1
Original line number Diff line number Diff line

package com.fsck.k9.mail.transport;
package com.fsck.k9.mail.transport.smtp;


import java.io.BufferedInputStream;
+2 −2
Original line number Diff line number Diff line
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;
+2 −1
Original line number Diff line number Diff line
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;