File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
com.unity.netcode.gameobjects/Tests/Runtime/Transports Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -45,22 +45,6 @@ public IEnumerator Cleanup()
45
45
yield return null ;
46
46
}
47
47
48
- // Check that invalid endpoint addresses are detected and return false if detected
49
- [ Test ]
50
- public void DetectInvalidEndpoint ( )
51
- {
52
- using var netcodeLogAssert = new NetcodeLogAssert ( true ) ;
53
- InitializeTransport ( out m_Server , out m_ServerEvents ) ;
54
- InitializeTransport ( out m_Clients [ 0 ] , out m_ClientsEvents [ 0 ] ) ;
55
- m_Server . ConnectionData . Address = "Fubar" ;
56
- m_Server . ConnectionData . ServerListenAddress = "Fubar" ;
57
- m_Clients [ 0 ] . ConnectionData . Address = "MoreFubar" ;
58
- Assert . False ( m_Server . StartServer ( ) , "Server failed to detect invalid endpoint!" ) ;
59
- Assert . False ( m_Clients [ 0 ] . StartClient ( ) , "Client failed to detect invalid endpoint!" ) ;
60
- netcodeLogAssert . LogWasReceived ( LogType . Error , $ "Network listen address ({ m_Server . ConnectionData . Address } ) is Invalid!") ;
61
- netcodeLogAssert . LogWasReceived ( LogType . Error , $ "Target server network address ({ m_Clients [ 0 ] . ConnectionData . Address } ) is Invalid!") ;
62
- }
63
-
64
48
// Check connection with a single client.
65
49
[ UnityTest ]
66
50
public IEnumerator ConnectSingleClient ( )
You can’t perform that action at this time.
0 commit comments