File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed
com.unity.netcode.gameobjects/Tests/Runtime/Rpc
testproject/Assets/Tests/Runtime Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ public RpcInvocationTests(NetworkTopologyTypes topologyType) : base(topologyType
2323
2424 private Dictionary < NetworkManager , InvokePermissionBehaviour > m_InvokeInstances = new ( ) ;
2525
26- // TODO: [CmbServiceTests] Enable once the CMB service fixes the client spoofing issue.
27- protected override bool UseCMBService ( ) => false ;
28-
2926 protected override void OnServerAndClientsCreated ( )
3027 {
3128 m_Prefab = CreateNetworkObjectPrefab ( "RpcInvokePermissionTest" ) ;
Original file line number Diff line number Diff line change 1010
1111namespace TestProject . RuntimeTests
1212{
13- [ TestFixture ( HostOrServer . Host ) ]
14- [ TestFixture ( HostOrServer . DAHost ) ]
13+ [ TestFixture ( NetworkTopologyTypes . ClientServer ) ]
14+ [ TestFixture ( NetworkTopologyTypes . DistributedAuthority ) ]
1515 public class SceneObjectsNotDestroyedOnShutdownTest : NetcodeIntegrationTest
1616 {
1717 protected override int NumberOfClients => 0 ;
@@ -21,7 +21,7 @@ public class SceneObjectsNotDestroyedOnShutdownTest : NetcodeIntegrationTest
2121 private Scene m_TestScene ;
2222 private WaitForSeconds m_DefaultWaitForTick = new ( 1.0f / 30 ) ;
2323
24- public SceneObjectsNotDestroyedOnShutdownTest ( HostOrServer hostOrServer ) : base ( hostOrServer ) { }
24+ public SceneObjectsNotDestroyedOnShutdownTest ( NetworkTopologyTypes topology ) : base ( topology ) { }
2525
2626 [ UnityTest ]
2727 public IEnumerator SceneObjectsNotDestroyedOnShutdown ( )
Original file line number Diff line number Diff line change 1010
1111namespace TestProject . RuntimeTests
1212{
13-
14- [ TestFixture ( NetworkTopologyTypes . DistributedAuthority ) ]
15- [ TestFixture ( NetworkTopologyTypes . ClientServer ) ]
1613 public class SenderIdTests : NetcodeIntegrationTest
1714 {
1815 protected override int NumberOfClients => 2 ;
1916
20- // TODO: [CmbServiceTests] Adapt to run with the service
21- protected override bool UseCMBService ( )
22- {
23- return false ;
24- }
25-
2617 private NetworkManager FirstClient => m_ClientNetworkManagers [ 0 ] ;
2718 private NetworkManager SecondClient => m_ClientNetworkManagers [ 1 ] ;
2819
You can’t perform that action at this time.
0 commit comments