Class LocalizationEditorSettingsTests
Inheritance
System.Object
LocalizationEditorSettingsTests
Syntax
public class LocalizationEditorSettingsTests
Properties
KeyDb
Declaration
protected KeyDatabase KeyDb { get; set; }
Property Value
Settings
Declaration
protected FakedLocalizationEditorSettings Settings { get; set; }
Property Value
Methods
AddLocale_WithNonPersistentLocale_GeneratesError()
Declaration
public void AddLocale_WithNonPersistentLocale_GeneratesError()
AllTableTypes()
Declaration
public static List<Type> AllTableTypes()
Returns
Type |
Description |
System.Collections.Generic.List<System.Type> |
|
CreateTables_AssignsTableNameToAllNewTables(Type)
Declaration
public void CreateTables_AssignsTableNameToAllNewTables(Type tableType)
Parameters
Type |
Name |
Description |
System.Type |
tableType |
|
CreateTables_WithKeyDatabaseProvided_DoesNotCreateANewKeyDatabase(Type)
Declaration
public void CreateTables_WithKeyDatabaseProvided_DoesNotCreateANewKeyDatabase(Type tableType)
Parameters
Type |
Name |
Description |
System.Type |
tableType |
|
CreateTables_WithNullKeyDatabaseArgument_CreatesAndAssignsNewKeyDatabase(Type)
Declaration
public void CreateTables_WithNullKeyDatabaseArgument_CreatesAndAssignsNewKeyDatabase(Type tableType)
Parameters
Type |
Name |
Description |
System.Type |
tableType |
|
GenerateSampleLocales()
Declaration
protected static List<Locale> GenerateSampleLocales()
Returns
Type |
Description |
System.Collections.Generic.List<Locale> |
|
Init()
Declaration
Declaration
public void IsLocaleLabel_WorksWithLabelsGeneratedUsing_FormatAssetLabel(Locale locale)
Parameters
Type |
Name |
Description |
Locale |
locale |
|
LocaleLabelToId_CorrectlyConvertsLabel(String, String)
Declaration
public void LocaleLabelToId_CorrectlyConvertsLabel(string label, string expectedCode)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String |
expectedCode |
|
Declaration
public void LocaleLabelToId_WorksWithLabelsGeneratedUsing_FormatAssetLabel(Locale locale)
Parameters
Type |
Name |
Description |
Locale |
locale |
|
Teardown()
Declaration