mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
38 lines
915 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|