Skip to content

Commit ddf5469

Browse files
committed
removed useless test
1 parent 1fd7a12 commit ddf5469

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

TLS-Core/src/test/java/de/rub/nds/tlsattacker/core/config/delegate/ClientDelegateTest.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -71,26 +71,6 @@ public void testSetHost() {
7171
assertTrue(delegate.getHost().equals("123456"));
7272
}
7373

74-
/**
75-
* Test of applyDelegate method, of class ClientDelegate.
76-
*/
77-
@Test
78-
public void testApplyDelegate() {
79-
Config config = Config.createConfig();
80-
args = new String[2];
81-
args[0] = "-connect";
82-
args[1] = "99.99.99.99:1448";
83-
84-
jcommander.parse(args);
85-
delegate.applyDelegate(config);
86-
87-
AliasedConnection actual = config.getDefaultClientConnection();
88-
assertNotNull(actual);
89-
assertThat(actual.getHostname(), equalTo("99.99.99.99"));
90-
assertThat(actual.getPort(), equalTo(1448));
91-
assertThat(actual.getLocalConnectionEndType(), equalTo(ConnectionEndType.CLIENT));
92-
}
93-
9474
/**
9575
* Make sure that applying with host = null fails properly.
9676
*/

0 commit comments

Comments
 (0)