Skip to Main Content

BTD_Mod_Helper​.Api​.Testing​.ModContentDefaultTest_T_


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Testing

ModContentDefaultTest Class

A default ModTest for a particular kind of ModContent

public abstract class ModContentDefaultTest<T> : BTD_Mod_Helper.Api.Testing.ModTest
    where T : BTD_Mod_Helper.Api.ModContent, BTD_Mod_Helper.Api.Testing.IHasDefaultTest

Type parameters

T

ModContent type

Inheritance System.ObjectModContentModTest  ModContentDefaultTest

Derived
ModBloonTest
ModDisplayTest
ModGameModeTest
ModRoundSetTest
ModTowerTest
ModVanillaContentTest

Properties

ModContentDefaultTest.AllContent Property

All the ModContent of this type to test

public T[] AllContent { get; set; }

Property Value

T[]

ModContentDefaultTest.Content Property

The ModContent that this is a test for

public T Content { get; set; }

Property Value

T

ModContentDefaultTest.IsAvailable Property

Whether this test is available for purposes like running every test added by a mod

public override bool IsAvailable { get; }

Property Value

System.Boolean

ModContentDefaultTest.Name Property

The name that will be at the end of the ID for this ModContent, by default the class name

public override string Name { get; }

Property Value

System.String

ModContentDefaultTest.OneTestToRuleThemAll Property

Tests all the ModContent of this type within a single test instead of individually

public virtual bool OneTestToRuleThemAll { get; }

Property Value

System.Boolean