Cosmos/Tests/Cosmos.TestRunner.UnitTest/EngineConfiguration.cs
José Pedro 11e9fcd174
Renamed test runner configuration property.
StackCorruptionChecksLevel -> StackCorruptionDetectionLevel.
2018-01-23 13:37:29 +00:00

38 lines
915 B
C#

using System;
using System.Collections.Generic;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
namespace Cosmos.TestRunner.UnitTest
{
internal class EngineConfiguration : DefaultEngineConfiguration
{
private Type mKernelType;
public EngineConfiguration(Type aKernelType)
{
mKernelType = aKernelType;
}
public override int AllowedSecondsInKernel => 1200;
public override IEnumerable<RunTargetEnum> RunTargets
{
get
{
yield return RunTargetEnum.Bochs;
}
}
public override StackCorruptionDetectionLevel StackCorruptionDetectionLevel => StackCorruptionDetectionLevel.MethodFooters;
public override IEnumerable<Type> KernelTypesToRun
{
get
{
yield return mKernelType;
}
}
}
}