@@ -23,7 +23,7 @@ namespace Unity.Netcode.RuntimeTests
2323 /// </summary>
2424 [ TestFixture ( HostOrServer . Host ) ]
2525 [ TestFixture ( HostOrServer . Server ) ]
26- public class NetworkVariableCollectionsTests : NetcodeIntegrationTest
26+ internal class NetworkVariableCollectionsTests : NetcodeIntegrationTest
2727 {
2828 protected override int NumberOfClients => 2 ;
2929
@@ -1218,7 +1218,7 @@ public IEnumerator TestHashSetBuiltInTypeCollections()
12181218 [ TestFixture ( HostOrServer . Host , CollectionTypes . Dictionary ) ]
12191219 [ TestFixture ( HostOrServer . Server , CollectionTypes . List ) ]
12201220 [ TestFixture ( HostOrServer . Server , CollectionTypes . Dictionary ) ]
1221- public class NetworkVariableCollectionsChangingTests : NetcodeIntegrationTest
1221+ internal class NetworkVariableCollectionsChangingTests : NetcodeIntegrationTest
12221222 {
12231223 protected override int NumberOfClients => 2 ;
12241224 public enum CollectionTypes
@@ -1411,7 +1411,7 @@ public IEnumerator CollectionAndOwnershipChangingTest()
14111411 /// Helper class to test adding <see cref="NetworkVariable{T}"/> dictionary entries rapidly with frequent ownership changes.
14121412 /// This includes a companion <see cref="NetworkVariable{T}"/> integer that is continually incremented and used as the key value for each entry.
14131413 /// </summary>
1414- public class DictionaryCollectionUpdateHelper : BaseCollectionUpdateHelper
1414+ internal class DictionaryCollectionUpdateHelper : BaseCollectionUpdateHelper
14151415 {
14161416 private NetworkVariable < Dictionary < int , int > > m_DictionaryCollection = new NetworkVariable < Dictionary < int , int > > ( new Dictionary < int , int > ( ) , NetworkVariableReadPermission . Everyone , NetworkVariableWritePermission . Owner ) ;
14171417 private NetworkVariable < int > m_CurrentKeyValue = new NetworkVariable < int > ( 0 , NetworkVariableReadPermission . Everyone , NetworkVariableWritePermission . Owner ) ;
@@ -1459,7 +1459,7 @@ protected override void AddItem()
14591459 /// <summary>
14601460 /// Helper class to test adding list entries rapidly with frequent ownership changes
14611461 /// </summary>
1462- public class ListCollectionUpdateHelper : BaseCollectionUpdateHelper
1462+ internal class ListCollectionUpdateHelper : BaseCollectionUpdateHelper
14631463 {
14641464 private NetworkVariable < List < int > > m_ListCollection = new NetworkVariable < List < int > > ( new List < int > ( ) , NetworkVariableReadPermission . Everyone , NetworkVariableWritePermission . Owner ) ;
14651465
@@ -1507,7 +1507,7 @@ protected override void AddItem()
15071507 /// <summary>
15081508 /// The base class to test rapidly adding items to a collection type
15091509 /// </summary>
1510- public class BaseCollectionUpdateHelper : NetworkBehaviour
1510+ internal class BaseCollectionUpdateHelper : NetworkBehaviour
15111511 {
15121512 public static bool VerboseMode ;
15131513 private const int k_OwnershipTickDelay = 1 ;
@@ -1700,7 +1700,7 @@ protected void Log(string msg)
17001700 #endregion
17011701
17021702 #region HASHSET COMPONENT HELPERS
1703- public class HashSetBaseTypeTestHelper : ListTestHelperBase , IHashSetTestHelperBase < int >
1703+ internal class HashSetBaseTypeTestHelper : ListTestHelperBase , IHashSetTestHelperBase < int >
17041704 {
17051705 public static Dictionary < ulong , Dictionary < ulong , HashSetBaseTypeTestHelper > > Instances = new Dictionary < ulong , Dictionary < ulong , HashSetBaseTypeTestHelper > > ( ) ;
17061706
@@ -1949,7 +1949,7 @@ public override void OnNetworkDespawn()
19491949 #endregion
19501950
19511951 #region DICTIONARY COMPONENT HELPERS
1952- public class NestedDictionaryTestHelper : ListTestHelperBase , IDictionaryTestHelperBase < int , Dictionary < int , SerializableObject > >
1952+ internal class NestedDictionaryTestHelper : ListTestHelperBase , IDictionaryTestHelperBase < int , Dictionary < int , SerializableObject > >
19531953 {
19541954 public static Dictionary < ulong , Dictionary < ulong , NestedDictionaryTestHelper > > Instances = new Dictionary < ulong , Dictionary < ulong , NestedDictionaryTestHelper > > ( ) ;
19551955
@@ -2256,7 +2256,7 @@ public override void OnNetworkDespawn()
22562256 }
22572257 }
22582258
2259- public class DictionaryTestHelper : ListTestHelperBase , IDictionaryTestHelperBase < int , SerializableObject >
2259+ internal class DictionaryTestHelper : ListTestHelperBase , IDictionaryTestHelperBase < int , SerializableObject >
22602260 {
22612261 public static Dictionary < ulong , Dictionary < ulong , DictionaryTestHelper > > Instances = new Dictionary < ulong , Dictionary < ulong , DictionaryTestHelper > > ( ) ;
22622262
@@ -2542,7 +2542,7 @@ public override void OnNetworkDespawn()
25422542 #endregion
25432543
25442544 #region INETWORKSERIALIZABLE LIST TEST COMPONENT HELPERS
2545- public class SerializableObject : INetworkSerializable , IEquatable < SerializableObject >
2545+ internal class SerializableObject : INetworkSerializable , IEquatable < SerializableObject >
25462546 {
25472547 public static SerializableObject GetRandomObject ( )
25482548 {
@@ -2598,7 +2598,7 @@ public bool Equals(SerializableObject other)
25982598
25992599 }
26002600
2601- public class ListTestHelperListSerializableObject : ListTestHelperBase , IListTestHelperBase < List < SerializableObject > >
2601+ internal class ListTestHelperListSerializableObject : ListTestHelperBase , IListTestHelperBase < List < SerializableObject > >
26022602 {
26032603 public static Dictionary < ulong , Dictionary < ulong , ListTestHelperListSerializableObject > > Instances = new Dictionary < ulong , Dictionary < ulong , ListTestHelperListSerializableObject > > ( ) ;
26042604
@@ -2897,7 +2897,7 @@ public override void OnNetworkDespawn()
28972897 }
28982898 }
28992899
2900- public class ListTestHelperSerializableObject : ListTestHelperBase , IListTestHelperBase < SerializableObject >
2900+ internal class ListTestHelperSerializableObject : ListTestHelperBase , IListTestHelperBase < SerializableObject >
29012901 {
29022902 public static Dictionary < ulong , Dictionary < ulong , ListTestHelperSerializableObject > > Instances = new Dictionary < ulong , Dictionary < ulong , ListTestHelperSerializableObject > > ( ) ;
29032903
@@ -3162,7 +3162,7 @@ public override void OnNetworkDespawn()
31623162 #endregion
31633163
31643164 #region BUILT-IN LIST TEST COMPONENT HELPERS
3165- public class ListTestHelperListInt : ListTestHelperBase , IListTestHelperBase < List < int > >
3165+ internal class ListTestHelperListInt : ListTestHelperBase , IListTestHelperBase < List < int > >
31663166 {
31673167 public static Dictionary < ulong , Dictionary < ulong , ListTestHelperListInt > > Instances = new Dictionary < ulong , Dictionary < ulong , ListTestHelperListInt > > ( ) ;
31683168
@@ -3466,7 +3466,7 @@ public override void OnNetworkDespawn()
34663466
34673467 }
34683468
3469- public class ListTestHelperInt : ListTestHelperBase , IListTestHelperBase < int >
3469+ internal class ListTestHelperInt : ListTestHelperBase , IListTestHelperBase < int >
34703470 {
34713471 public static Dictionary < ulong , Dictionary < ulong , ListTestHelperInt > > Instances = new Dictionary < ulong , Dictionary < ulong , ListTestHelperInt > > ( ) ;
34723472
@@ -3735,7 +3735,7 @@ public override void OnNetworkDespawn()
37353735 #endregion
37363736
37373737 #region BASE TEST COMPONENT HELPERS
3738- public class ListTestHelperBase : NetworkBehaviour
3738+ internal class ListTestHelperBase : NetworkBehaviour
37393739 {
37403740 protected static bool IsDebugMode { get ; private set ; }
37413741
@@ -3782,7 +3782,7 @@ public virtual bool CompareTrackedChanges(Targets target)
37823782 }
37833783 }
37843784
3785- public interface IListTestHelperBase < T >
3785+ internal interface IListTestHelperBase < T >
37863786 {
37873787 public bool ValidateInstances ( ) ;
37883788
@@ -3815,7 +3815,7 @@ public interface IListTestHelperBase<T>
38153815 public void ResetTrackedChanges ( ) ;
38163816 }
38173817
3818- public interface IDictionaryTestHelperBase < TKey , TValue >
3818+ internal interface IDictionaryTestHelperBase < TKey , TValue >
38193819 {
38203820 public bool ValidateInstances ( ) ;
38213821
@@ -3844,7 +3844,7 @@ public interface IDictionaryTestHelperBase<TKey, TValue>
38443844 public void ResetTrackedChanges ( ) ;
38453845 }
38463846
3847- public interface IHashSetTestHelperBase < T >
3847+ internal interface IHashSetTestHelperBase < T >
38483848 {
38493849 public bool ValidateInstances ( ) ;
38503850
0 commit comments