Class WebGLExportClassifierPredicateTests
Characterization tests for the Serenity.Global.Infrastructure.Editor.Utils.WebGL.WebGLExportClassifier predicates that used to resolve
their own asset type through AssetDatabase, and now take the resolved type instead.
Inherited Members
Namespace: Serenity.Global.Tests.Editor.WebGL
Assembly: Tests.Editor.dll
Syntax
public class WebGLExportClassifierPredicateTests
Remarks
Moving the lookup to the caller is what makes them testable at all: the decisions were always about a type's namespace, never about the asset database, so the query was the only thing standing between them and a test.
Constructors
WebGLExportClassifierPredicateTests()
Declaration
public WebGLExportClassifierPredicateTests()
Methods
CategorizeDependency_ATextMeshProFontAsset_IsFiledUnderFonts()
Declaration
public void CategorizeDependency_ATextMeshProFontAsset_IsFiledUnderFonts()
CategorizeDependency_AnExtensionNobodyClaims_IsFiledUnderMisc()
Declaration
public void CategorizeDependency_AnExtensionNobodyClaims_IsFiledUnderMisc()
CategorizeDependency_AnExtensionTheMapKnows_DecidesWithoutTheType(string, string)
Declaration
public void CategorizeDependency_AnExtensionTheMapKnows_DecidesWithoutTheType(string assetPath, string expectedCategory)
Parameters
| Type | Name | Description |
|---|---|---|
| string | assetPath | |
| string | expectedCategory |
CategorizeDependency_AnyOtherGenericAsset_IsFiledUnderMisc()
Declaration
public void CategorizeDependency_AnyOtherGenericAsset_IsFiledUnderMisc()
IsEditorOnlyByScriptReference_MatchesTheGuidWhateverItsCasing()
Declaration
public void IsEditorOnlyByScriptReference_MatchesTheGuidWhateverItsCasing()
IsEditorOnlyByScriptReference_YamlItCannotRead_IsAllowed(string)
Declaration
public void IsEditorOnlyByScriptReference_YamlItCannotRead_IsAllowed(string yaml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | yaml |
IsEditorOnlyByScriptReference_YamlNamingABlockedScript_IsRefused()
Declaration
public void IsEditorOnlyByScriptReference_YamlNamingABlockedScript_IsRefused()
IsEditorOnlyByScriptReference_YamlNamingAnyOtherScript_IsAllowed()
Declaration
public void IsEditorOnlyByScriptReference_YamlNamingAnyOtherScript_IsAllowed()
IsEditorOnlyType_ARuntimeTypeOrNone_IsNot()
Declaration
public void IsEditorOnlyType_ARuntimeTypeOrNone_IsNot()
IsEditorOnlyType_ATypeInAnEditorNamespace_IsEditorOnly()
Declaration
public void IsEditorOnlyType_ATypeInAnEditorNamespace_IsEditorOnly()
IsUnityLocalizationRuntimeType_ALocalizationTable_StaysWhereItIs()
Declaration
public void IsUnityLocalizationRuntimeType_ALocalizationTable_StaysWhereItIs()
IsUnityLocalizationRuntimeType_AnEditorLocalizationTypeOrNone_IsNot()
Declaration
public void IsUnityLocalizationRuntimeType_AnEditorLocalizationTypeOrNone_IsNot()