Skip to content

Commit 2a5f826

Browse files
committed
Removed obsolete (already @ignored) tests
1 parent f2f6798 commit 2a5f826

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

modules/simple-java-mail/src/test/java/org/simplejavamail/mailer/internal/ServerConfigTest.java

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.simplejavamail.mailer.internal;
22

33
import org.jetbrains.annotations.Nullable;
4-
import org.junit.Ignore;
54
import org.junit.Test;
65
import org.simplejavamail.api.mailer.config.ServerConfig;
76
import testutil.ConfigLoaderTestHelper;
@@ -11,31 +10,6 @@
1110

1211
public class ServerConfigTest {
1312

14-
@Test
15-
@Ignore("Enable once the notnull plugin is enabled again or substituted")
16-
public void NoArgconstructor_WithoutConfigFile_WithoutHost() {
17-
ConfigLoaderTestHelper.clearConfigProperties();
18-
19-
try {
20-
new ServerConfigImpl(null, null, null, null, null, null);
21-
fail("IllegalArgumentException expected for host");
22-
} catch (IllegalArgumentException e) {
23-
// ok
24-
}
25-
}
26-
27-
@Test
28-
@Ignore("Enable once the notnull plugin is enabled again or substituted")
29-
public void NoArgconstructor_WithoutConfigFile_WithoutPort() {
30-
ConfigLoaderTestHelper.clearConfigProperties();
31-
try {
32-
new ServerConfigImpl("host", null, null, null, null, null);
33-
fail("IllegalArgumentException expected for port");
34-
} catch (IllegalArgumentException e) {
35-
// ok
36-
}
37-
}
38-
3913
@Test
4014
public void NoArgconstructor_WithoutConfigFile_MissingPasswordOrUsername() {
4115
ConfigLoaderTestHelper.clearConfigProperties();

0 commit comments

Comments
 (0)