Fixed issue with another test... no idea how it didn't show up failing before. Fixes issue with string extensions and an infinite loop when the string to strip is empty/null.
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
namespace Umbraco.Tests.TestHelpers
|
|
{
|
|
/// <summary>
|
|
/// The behavior used to control how the database is handled for test fixtures inheriting from BaseDatabaseFactoryTest
|
|
/// </summary>
|
|
public enum DatabaseBehavior
|
|
{
|
|
/// <summary>
|
|
/// A database is not required whatsoever for the fixture
|
|
/// </summary>
|
|
NoDatabasePerFixture,
|
|
|
|
/// <summary>
|
|
/// For each test a new database file and schema will be created
|
|
/// </summary>
|
|
NewDbFileAndSchemaPerTest,
|
|
|
|
/// <summary>
|
|
/// For each test a new schema will be created on the existing database file
|
|
/// </summary>
|
|
NewSchemaPerTest,
|
|
|
|
/// <summary>
|
|
/// Creates a new database file and schema for the whole fixture, each test will use the pre-existing one
|
|
/// </summary>
|
|
NewDbFileAndSchemaPerFixture,
|
|
|
|
/// <summary>
|
|
/// Creates a new schema based on the existing database file for the whole fixture, each test will use the pre-existing one
|
|
/// </summary>
|
|
NewSchemaPerFixture,
|
|
}
|
|
} |