File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
TLS-Core/src/test/java/de/rub/nds/tlsattacker/core/config/delegate Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments