forked from ddrilling/AsbCloudServer
Правка автотестов
This commit is contained in:
parent
679575a49d
commit
8944591a87
@ -16,7 +16,7 @@ public class ProcessMapPlanRotor : ProcessMapPlanBase
|
|||||||
[Column("pressure_max"), Comment("Максимально допустимое давление, атм")]
|
[Column("pressure_max"), Comment("Максимально допустимое давление, атм")]
|
||||||
[Range(0.0, 400.0)]
|
[Range(0.0, 400.0)]
|
||||||
[Required]
|
[Required]
|
||||||
public double PressureLimitMax { get; set; }
|
public double PressureMax { get; set; }
|
||||||
|
|
||||||
[Column("differential_pressure"), Comment("Перепад давления, атм. Уставка")]
|
[Column("differential_pressure"), Comment("Перепад давления, атм. Уставка")]
|
||||||
[Range(0.0, 60.0)]
|
[Range(0.0, 60.0)]
|
||||||
|
@ -5,7 +5,7 @@ using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план противоаварийное вращение
|
/// РТК план противоаварийное вращение
|
||||||
@ -13,7 +13,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanAntiCrashRotationControllerTest :
|
public class ProcessMapPlanAntiCrashRotationControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanAntiCrashRotation, ProcessMapPlanAntiCrashRotationDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanAntiCrashRotation, ProcessMapPlanAntiCrashRotationDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanAntiCrashRotationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsAnticrashRotation")
|
public ProcessMapPlanAntiCrashRotationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanAntiCrashRotation")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanAntiCrashRotationDto dto = new ProcessMapPlanAntiCrashRotationDto()
|
private readonly ProcessMapPlanAntiCrashRotationDto dto = new ProcessMapPlanAntiCrashRotationDto()
|
||||||
@ -23,6 +23,10 @@ public class ProcessMapPlanAntiCrashRotationControllerTest :
|
|||||||
DepthEnd = 2,
|
DepthEnd = 2,
|
||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
|
Note = "1",
|
||||||
|
TopDriveRpmMin = 1,
|
||||||
|
TopDriveStartMinFlowRate = 1,
|
||||||
|
TopDriveTorqueMax = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanAntiCrashRotation entity = new ProcessMapPlanAntiCrashRotation()
|
private readonly ProcessMapPlanAntiCrashRotation entity = new ProcessMapPlanAntiCrashRotation()
|
||||||
@ -34,7 +38,11 @@ public class ProcessMapPlanAntiCrashRotationControllerTest :
|
|||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
IdAuthor = 1,
|
IdAuthor = 1,
|
||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow
|
Creation = DateTimeOffset.UtcNow,
|
||||||
|
Note = "1",
|
||||||
|
TopDriveRpmMin = 1,
|
||||||
|
TopDriveStartMinFlowRate = 1,
|
||||||
|
TopDriveTorqueMax = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -10,7 +10,7 @@ using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план автоудержание
|
/// РТК план автоудержание
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanAutoHoldTFControllerTest :
|
public class ProcessMapPlanAutoHoldTFControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanAutoHoldTF, ProcessMapPlanAutoHoldTFDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanAutoHoldTF, ProcessMapPlanAutoHoldTFDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanAutoHoldTFControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsAutoHold")
|
public ProcessMapPlanAutoHoldTFControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanAutoHoldTF")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanAutoHoldTFDto dto = new ProcessMapPlanAutoHoldTFDto()
|
private readonly ProcessMapPlanAutoHoldTFDto dto = new ProcessMapPlanAutoHoldTFDto()
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Functions;
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план демпфер
|
/// РТК план демпфер
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanDamperControllerTest :
|
public class ProcessMapPlanDamperControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanDamper, ProcessMapPlanDamperDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanDamper, ProcessMapPlanDamperDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanDamperControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsDamper")
|
public ProcessMapPlanDamperControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanDamper")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanDamperDto dto = new ProcessMapPlanDamperDto()
|
private readonly ProcessMapPlanDamperDto dto = new ProcessMapPlanDamperDto()
|
||||||
@ -29,7 +29,7 @@ public class ProcessMapPlanDamperControllerTest :
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
StickSlip = 1
|
StickSlip = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanDamper entity = new ProcessMapPlanDamper()
|
private readonly ProcessMapPlanDamper entity = new ProcessMapPlanDamper()
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Functions;
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план дрилтест
|
/// РТК план дрилтест
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanDrillTestControllerTest :
|
public class ProcessMapPlanDrillTestControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanDrillTest, ProcessMapPlanDrillTestDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanDrillTest, ProcessMapPlanDrillTestDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanDrillTestControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsDrillTest")
|
public ProcessMapPlanDrillTestControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanDrillTest")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanDrillTestDto dto = new ProcessMapPlanDrillTestDto()
|
private readonly ProcessMapPlanDrillTestDto dto = new ProcessMapPlanDrillTestDto()
|
||||||
@ -30,7 +30,10 @@ public class ProcessMapPlanDrillTestControllerTest :
|
|||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
LengthStep = 1,
|
LengthStep = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
WeightOnBitMin = 1
|
WeightOnBitMin = 1,
|
||||||
|
RpmMin = 1,
|
||||||
|
RpmStepsCount = 1,
|
||||||
|
WeightOnBitStepsCount = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanDrillTest entity = new ProcessMapPlanDrillTest()
|
private readonly ProcessMapPlanDrillTest entity = new ProcessMapPlanDrillTest()
|
||||||
@ -45,7 +48,10 @@ public class ProcessMapPlanDrillTestControllerTest :
|
|||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
LengthStep = 1,
|
LengthStep = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
WeightOnBitMin = 1
|
WeightOnBitMin = 1,
|
||||||
|
RpmMin = 1,
|
||||||
|
RpmStepsCount = 1,
|
||||||
|
WeightOnBitStepsCount = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Functions;
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план осцилляция
|
/// РТК план осцилляция
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanOscillationControllerTest :
|
public class ProcessMapPlanOscillationControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanOscillation, ProcessMapPlanOscillationDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanOscillation, ProcessMapPlanOscillationDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanOscillationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsOscillation")
|
public ProcessMapPlanOscillationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOscillation")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanOscillationDto dto = new ProcessMapPlanOscillationDto()
|
private readonly ProcessMapPlanOscillationDto dto = new ProcessMapPlanOscillationDto()
|
||||||
@ -30,7 +30,11 @@ public class ProcessMapPlanOscillationControllerTest :
|
|||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
Mode = 1,
|
Mode = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
OptimalOscillationAngle = 1
|
OptimalOscillationAngle = 1,
|
||||||
|
RpmLeft = 1,
|
||||||
|
RpmRight = 2,
|
||||||
|
TorqueMaxLeft = 2,
|
||||||
|
TorqueMaxRight = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanOscillation entity = new ProcessMapPlanOscillation()
|
private readonly ProcessMapPlanOscillation entity = new ProcessMapPlanOscillation()
|
||||||
@ -45,7 +49,11 @@ public class ProcessMapPlanOscillationControllerTest :
|
|||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
Mode = 1,
|
Mode = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
OptimalOscillationAngle = 1
|
OptimalOscillationAngle = 1,
|
||||||
|
RpmLeft = 1,
|
||||||
|
RpmRight = 2,
|
||||||
|
TorqueMaxLeft = 2,
|
||||||
|
TorqueMaxRight = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Functions;
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план shock test
|
/// РТК план shock test
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanShockTestControllerTest :
|
public class ProcessMapPlanShockTestControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanShockTest, ProcessMapPlanShockTestDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanShockTest, ProcessMapPlanShockTestDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanShockTestControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsShockTest")
|
public ProcessMapPlanShockTestControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanShockTest")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanShockTestDto dto = new ProcessMapPlanShockTestDto()
|
private readonly ProcessMapPlanShockTestDto dto = new ProcessMapPlanShockTestDto()
|
||||||
@ -33,7 +33,8 @@ public class ProcessMapPlanShockTestControllerTest :
|
|||||||
Note = "1",
|
Note = "1",
|
||||||
StickSlip = 1,
|
StickSlip = 1,
|
||||||
WeightOnBitMin = 1,
|
WeightOnBitMin = 1,
|
||||||
Whirl = 1
|
Whirl = 1,
|
||||||
|
RpmMin = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanShockTest entity = new ProcessMapPlanShockTest()
|
private readonly ProcessMapPlanShockTest entity = new ProcessMapPlanShockTest()
|
||||||
@ -51,7 +52,8 @@ public class ProcessMapPlanShockTestControllerTest :
|
|||||||
Note = "1",
|
Note = "1",
|
||||||
StickSlip = 1,
|
StickSlip = 1,
|
||||||
WeightOnBitMin = 1,
|
WeightOnBitMin = 1,
|
||||||
Whirl = 1
|
Whirl = 1,
|
||||||
|
RpmMin = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Functions;
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план выход статического замера
|
/// РТК план выход статического замера
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanStaticMeasurementOutputControllerTest :
|
public class ProcessMapPlanStaticMeasurementOutputControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanStaticMeasurementOutput, ProcessMapPlanStaticMeasurementOutputDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanStaticMeasurementOutput, ProcessMapPlanStaticMeasurementOutputDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanStaticMeasurementOutputControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsStaticMeasure")
|
public ProcessMapPlanStaticMeasurementOutputControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanStaticMeasurementOutput")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanStaticMeasurementOutputDto dto = new ProcessMapPlanStaticMeasurementOutputDto()
|
private readonly ProcessMapPlanStaticMeasurementOutputDto dto = new ProcessMapPlanStaticMeasurementOutputDto()
|
||||||
@ -29,6 +29,7 @@ public class ProcessMapPlanStaticMeasurementOutputControllerTest :
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
SignalWaitingTime = 1,
|
SignalWaitingTime = 1,
|
||||||
|
Note = "1"
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanStaticMeasurementOutput entity = new ProcessMapPlanStaticMeasurementOutput()
|
private readonly ProcessMapPlanStaticMeasurementOutput entity = new ProcessMapPlanStaticMeasurementOutput()
|
||||||
@ -42,6 +43,7 @@ public class ProcessMapPlanStaticMeasurementOutputControllerTest :
|
|||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
SignalWaitingTime = 1,
|
SignalWaitingTime = 1,
|
||||||
|
Note = "1"
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
using AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Functions;
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Functions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план обновление холостого хода
|
/// РТК план обновление холостого хода
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanUpdatingNoloadParametersControllerTest :
|
public class ProcessMapPlanUpdatingNoloadParametersControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanUpdatingNoloadParameters, ProcessMapPlanUpdatingNoloadParametersDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanUpdatingNoloadParameters, ProcessMapPlanUpdatingNoloadParametersDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanUpdatingNoloadParametersControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsUpgradeNoload")
|
public ProcessMapPlanUpdatingNoloadParametersControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanUpdatingNoloadParameters")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanUpdatingNoloadParametersDto dto = new ProcessMapPlanUpdatingNoloadParametersDto()
|
private readonly ProcessMapPlanUpdatingNoloadParametersDto dto = new ProcessMapPlanUpdatingNoloadParametersDto()
|
||||||
@ -29,7 +29,7 @@ public class ProcessMapPlanUpdatingNoloadParametersControllerTest :
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
IdDeclineSocketColumn = true,
|
IdDeclineSocketColumn = true,
|
||||||
Note = "1"
|
Note = "1",
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanUpdatingNoloadParameters entity = new ProcessMapPlanUpdatingNoloadParameters()
|
private readonly ProcessMapPlanUpdatingNoloadParameters entity = new ProcessMapPlanUpdatingNoloadParameters()
|
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanLoadCapacityControllerTest :
|
public class ProcessMapPlanLoadCapacityControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanLoadCapacity, ProcessMapPlanLoadCapacityDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanLoadCapacity, ProcessMapPlanLoadCapacityDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanLoadCapacityControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationLoadCapacity")
|
public ProcessMapPlanLoadCapacityControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanLoadCapacity")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanLoadCapacityDto dto = new ProcessMapPlanLoadCapacityDto()
|
private readonly ProcessMapPlanLoadCapacityDto dto = new ProcessMapPlanLoadCapacityDto()
|
||||||
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Operations;
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план определения углов осцилляции
|
/// РТК план определения углов осцилляции
|
||||||
@ -28,6 +28,11 @@ public class ProcessMapPlanOscillationAnglesControllerTest :
|
|||||||
DepthEnd = 2,
|
DepthEnd = 2,
|
||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
|
Note = "1",
|
||||||
|
Rpm = 1,
|
||||||
|
RpmMax = 2,
|
||||||
|
TopDriveTorque = 2,
|
||||||
|
TopDriveTorqueMax = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanOscillationAngles entity = new ProcessMapPlanOscillationAngles()
|
private readonly ProcessMapPlanOscillationAngles entity = new ProcessMapPlanOscillationAngles()
|
||||||
@ -40,6 +45,11 @@ public class ProcessMapPlanOscillationAnglesControllerTest :
|
|||||||
IdAuthor = 1,
|
IdAuthor = 1,
|
||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
|
Note = "1",
|
||||||
|
Rpm = 1,
|
||||||
|
RpmMax = 2,
|
||||||
|
TopDriveTorque = 2,
|
||||||
|
TopDriveTorqueMax = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanPositioningOffTheBottomControllerTest :
|
public class ProcessMapPlanPositioningOffTheBottomControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanPositioningOffTheBottom, ProcessMapPlanPositioningOffTheBottomDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanPositioningOffTheBottom, ProcessMapPlanPositioningOffTheBottomDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanPositioningOffTheBottomControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationPositioningOffTheBottom")
|
public ProcessMapPlanPositioningOffTheBottomControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanPositioningOffTheBottom")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanPositioningOffTheBottomDto dto = new ProcessMapPlanPositioningOffTheBottomDto()
|
private readonly ProcessMapPlanPositioningOffTheBottomDto dto = new ProcessMapPlanPositioningOffTheBottomDto()
|
||||||
@ -28,7 +28,19 @@ public class ProcessMapPlanPositioningOffTheBottomControllerTest :
|
|||||||
DepthEnd = 2,
|
DepthEnd = 2,
|
||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
StopOffTheBottom = 1
|
StopOffTheBottom = 1,
|
||||||
|
DifferentialPressure = 1,
|
||||||
|
FlowRateDown = 1,
|
||||||
|
FlowRateUp = 1,
|
||||||
|
Note = "1",
|
||||||
|
RopDown = 1,
|
||||||
|
RopUp = 1,
|
||||||
|
PressureMax = 1,
|
||||||
|
RpmDown = 1,
|
||||||
|
RpmUp = 1,
|
||||||
|
SlackingOff = 1,
|
||||||
|
Tight = 1,
|
||||||
|
TorqueMax = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanPositioningOffTheBottom entity = new ProcessMapPlanPositioningOffTheBottom()
|
private readonly ProcessMapPlanPositioningOffTheBottom entity = new ProcessMapPlanPositioningOffTheBottom()
|
||||||
@ -41,7 +53,19 @@ public class ProcessMapPlanPositioningOffTheBottomControllerTest :
|
|||||||
IdAuthor = 1,
|
IdAuthor = 1,
|
||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
StopOffTheBottom = 1
|
StopOffTheBottom = 1,
|
||||||
|
DifferentialPressure = 1,
|
||||||
|
FlowRateDown = 1,
|
||||||
|
FlowRateUp = 1,
|
||||||
|
Note = "1",
|
||||||
|
RopDown = 1,
|
||||||
|
RopUp = 1,
|
||||||
|
PressureMax = 1,
|
||||||
|
RpmDown = 1,
|
||||||
|
RpmUp = 1,
|
||||||
|
SlackingOff = 1,
|
||||||
|
Tight = 1,
|
||||||
|
TorqueMax = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanReamingRotorControllerTest :
|
public class ProcessMapPlanReamingRotorControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanReamingRotor, ProcessMapPlanReamingRotorDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanReamingRotor, ProcessMapPlanReamingRotorDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanReamingRotorControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationReamingRotor")
|
public ProcessMapPlanReamingRotorControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanReamingRotor")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanReamingRotorDto dto = new ProcessMapPlanReamingRotorDto()
|
private readonly ProcessMapPlanReamingRotorDto dto = new ProcessMapPlanReamingRotorDto()
|
||||||
@ -42,6 +42,25 @@ public class ProcessMapPlanReamingRotorControllerTest :
|
|||||||
Reaming2StopPointOffBottom = 1,
|
Reaming2StopPointOffBottom = 1,
|
||||||
Reaming3Interval = 2,
|
Reaming3Interval = 2,
|
||||||
Reaming3StopPointOffBottom = 4,
|
Reaming3StopPointOffBottom = 4,
|
||||||
|
Reaming3RopDown = 5,
|
||||||
|
TorqueMax = 6,
|
||||||
|
Tight = 6,
|
||||||
|
SlackingOff = 7,
|
||||||
|
PressureMax = 8,
|
||||||
|
Reaming1RepetitionsCount = 9,
|
||||||
|
Reaming1RopDown = 10,
|
||||||
|
Reaming1RopUp = 11,
|
||||||
|
Reaming1RpmDown = 12,
|
||||||
|
Reaming1RpmUp = 13,
|
||||||
|
Reaming2RpmDown = 14,
|
||||||
|
Reaming2RepetitionsCount = 15,
|
||||||
|
Reaming2RopDown = 16,
|
||||||
|
Reaming2RopUp = 17,
|
||||||
|
Reaming3RpmDown = 18,
|
||||||
|
Reaming3RpmUp = 19,
|
||||||
|
Reaming2RpmUp = 20,
|
||||||
|
Reaming3RepetitionsCount = 20,
|
||||||
|
Reaming3RopUp = 21,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanReamingRotor entity = new ProcessMapPlanReamingRotor()
|
private readonly ProcessMapPlanReamingRotor entity = new ProcessMapPlanReamingRotor()
|
||||||
@ -68,6 +87,25 @@ public class ProcessMapPlanReamingRotorControllerTest :
|
|||||||
Reaming2StopPointOffBottom = 1,
|
Reaming2StopPointOffBottom = 1,
|
||||||
Reaming3Interval = 2,
|
Reaming3Interval = 2,
|
||||||
Reaming3StopPointOffBottom = 4,
|
Reaming3StopPointOffBottom = 4,
|
||||||
|
Reaming3RopDown = 5,
|
||||||
|
TorqueMax = 6,
|
||||||
|
Tight = 6,
|
||||||
|
SlackingOff = 7,
|
||||||
|
PressureMax = 8,
|
||||||
|
Reaming1RepetitionsCount = 9,
|
||||||
|
Reaming1RopDown = 10,
|
||||||
|
Reaming1RopUp = 11,
|
||||||
|
Reaming1RpmDown = 12,
|
||||||
|
Reaming1RpmUp = 13,
|
||||||
|
Reaming2RpmDown = 14,
|
||||||
|
Reaming2RepetitionsCount = 15,
|
||||||
|
Reaming2RopDown = 16,
|
||||||
|
Reaming2RopUp = 17,
|
||||||
|
Reaming3RpmDown = 18,
|
||||||
|
Reaming3RpmUp = 19,
|
||||||
|
Reaming2RpmUp = 20,
|
||||||
|
Reaming3RepetitionsCount = 20,
|
||||||
|
Reaming3RopUp = 21,
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanReamingSlideControllerTest :
|
public class ProcessMapPlanReamingSlideControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanReamingSlide, ProcessMapPlanReamingSlideDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanReamingSlide, ProcessMapPlanReamingSlideDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanReamingSlideControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationReamingSlide")
|
public ProcessMapPlanReamingSlideControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanReamingSlide")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanReamingSlideDto dto = new ProcessMapPlanReamingSlideDto()
|
private readonly ProcessMapPlanReamingSlideDto dto = new ProcessMapPlanReamingSlideDto()
|
||||||
|
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanRecordingStaticMeasurementControllerTest :
|
public class ProcessMapPlanRecordingStaticMeasurementControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanRecordingStaticMeasurement, ProcessMapPlanRecordingStaticMeasurementDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanRecordingStaticMeasurement, ProcessMapPlanRecordingStaticMeasurementDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanRecordingStaticMeasurementControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanSurvey")
|
public ProcessMapPlanRecordingStaticMeasurementControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanRecordingStaticMeasurement")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanRecordingStaticMeasurementDto dto = new ProcessMapPlanRecordingStaticMeasurementDto()
|
private readonly ProcessMapPlanRecordingStaticMeasurementDto dto = new ProcessMapPlanRecordingStaticMeasurementDto()
|
||||||
@ -29,6 +29,7 @@ public class ProcessMapPlanRecordingStaticMeasurementControllerTest :
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
MeasurementRecordingTime = 1,
|
MeasurementRecordingTime = 1,
|
||||||
|
Note = "1"
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanRecordingStaticMeasurement entity = new ProcessMapPlanRecordingStaticMeasurement()
|
private readonly ProcessMapPlanRecordingStaticMeasurement entity = new ProcessMapPlanRecordingStaticMeasurement()
|
||||||
@ -42,6 +43,7 @@ public class ProcessMapPlanRecordingStaticMeasurementControllerTest :
|
|||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
MeasurementRecordingTime = 1,
|
MeasurementRecordingTime = 1,
|
||||||
|
Note = "1"
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
@ -5,7 +5,7 @@ using Mapster;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
||||||
public class ProcessMapPlanRotorControllerTest : ProcessMapPlanBaseControllerTest<ProcessMapPlanRotor, ProcessMapPlanRotorDto>
|
public class ProcessMapPlanRotorControllerTest : ProcessMapPlanBaseControllerTest<ProcessMapPlanRotor, ProcessMapPlanRotorDto>
|
||||||
{
|
{
|
||||||
private readonly ProcessMapPlanRotorDto dto = new ProcessMapPlanRotorDto()
|
private readonly ProcessMapPlanRotorDto dto = new ProcessMapPlanRotorDto()
|
||||||
@ -42,7 +42,7 @@ public class ProcessMapPlanRotorControllerTest : ProcessMapPlanBaseControllerTes
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
PressureLimitMax = 2,
|
PressureMax = 2,
|
||||||
Rpm = 3,
|
Rpm = 3,
|
||||||
RpmMax = 4,
|
RpmMax = 4,
|
||||||
RopMax = 5,
|
RopMax = 5,
|
@ -1,14 +1,7 @@
|
|||||||
using AsbCloudApp.Repositories;
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
||||||
using AsbCloudApp.Requests;
|
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
||||||
using AsbCloudApp.Services;
|
|
||||||
using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
|
|
||||||
using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
|
|
||||||
using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
|
|
||||||
using AsbCloudWebApi.IntegrationTests;
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
|
||||||
using AsbCloudApp.Data.ProcessMaps.Operations;
|
|
||||||
|
|
||||||
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
||||||
|
|
||||||
@ -18,7 +11,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanRotorRpmAccelerationControllerTest :
|
public class ProcessMapPlanRotorRpmAccelerationControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanRotorRpmAcceleration, ProcessMapPlanRotorRpmAccelerationDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanRotorRpmAcceleration, ProcessMapPlanRotorRpmAccelerationDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanRotorRpmAccelerationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsJarrDrillTool")
|
public ProcessMapPlanRotorRpmAccelerationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanRotorRpmAcceleration")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanRotorRpmAccelerationDto dto = new ProcessMapPlanRotorRpmAccelerationDto()
|
private readonly ProcessMapPlanRotorRpmAccelerationDto dto = new ProcessMapPlanRotorRpmAccelerationDto()
|
||||||
@ -29,6 +22,10 @@ public class ProcessMapPlanRotorRpmAccelerationControllerTest :
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
|
Rpm = 1,
|
||||||
|
RpmMax = 2,
|
||||||
|
TopDriveTorque = 2,
|
||||||
|
TopDriveTorqueMax = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanRotorRpmAcceleration entity = new ProcessMapPlanRotorRpmAcceleration()
|
private readonly ProcessMapPlanRotorRpmAcceleration entity = new ProcessMapPlanRotorRpmAcceleration()
|
||||||
@ -42,6 +39,10 @@ public class ProcessMapPlanRotorRpmAccelerationControllerTest :
|
|||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
Note = "1",
|
Note = "1",
|
||||||
|
Rpm = 1,
|
||||||
|
RpmMax = 2,
|
||||||
|
TopDriveTorque = 2,
|
||||||
|
TopDriveTorqueMax = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
@ -4,7 +4,7 @@ using Mapster;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
||||||
public class ProcessMapPlanSlideControllerTest : ProcessMapPlanBaseControllerTest<ProcessMapPlanSlide, ProcessMapPlanSlideDto>
|
public class ProcessMapPlanSlideControllerTest : ProcessMapPlanBaseControllerTest<ProcessMapPlanSlide, ProcessMapPlanSlideDto>
|
||||||
{
|
{
|
||||||
private readonly ProcessMapPlanSlideDto dto = new ProcessMapPlanSlideDto()
|
private readonly ProcessMapPlanSlideDto dto = new ProcessMapPlanSlideDto()
|
||||||
@ -24,7 +24,7 @@ public class ProcessMapPlanSlideControllerTest : ProcessMapPlanBaseControllerTes
|
|||||||
Buckling = 12,
|
Buckling = 12,
|
||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
Note = "13"
|
Note = "13",
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanSlide entity = new ProcessMapPlanSlide()
|
private readonly ProcessMapPlanSlide entity = new ProcessMapPlanSlide()
|
@ -10,7 +10,7 @@ using Xunit;
|
|||||||
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
||||||
using AsbCloudApp.Data.ProcessMaps.Operations;
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
||||||
|
|
||||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// РТК план выключение насоса
|
/// РТК план выключение насоса
|
||||||
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
|||||||
public class ProcessMapPlanSwitchingOffThePumpControllerTest :
|
public class ProcessMapPlanSwitchingOffThePumpControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanSwitchingOffThePump, ProcessMapPlanSwitchingOffThePumpDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanSwitchingOffThePump, ProcessMapPlanSwitchingOffThePumpDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanSwitchingOffThePumpControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationSwitchPump")
|
public ProcessMapPlanSwitchingOffThePumpControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanSwitchingOffThePump")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanSwitchingOffThePumpDto dto = new ProcessMapPlanSwitchingOffThePumpDto()
|
private readonly ProcessMapPlanSwitchingOffThePumpDto dto = new ProcessMapPlanSwitchingOffThePumpDto()
|
||||||
@ -30,6 +30,7 @@ public class ProcessMapPlanSwitchingOffThePumpControllerTest :
|
|||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
Duration = 1,
|
Duration = 1,
|
||||||
ResidualPressureLimit = 1,
|
ResidualPressureLimit = 1,
|
||||||
|
Note = "5"
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanSwitchingOffThePump entity = new ProcessMapPlanSwitchingOffThePump()
|
private readonly ProcessMapPlanSwitchingOffThePump entity = new ProcessMapPlanSwitchingOffThePump()
|
||||||
@ -44,6 +45,7 @@ public class ProcessMapPlanSwitchingOffThePumpControllerTest :
|
|||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
Duration = 1,
|
Duration = 1,
|
||||||
ResidualPressureLimit = 1,
|
ResidualPressureLimit = 1,
|
||||||
|
Note = "5"
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
@ -13,7 +13,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanSwitchingToTheModeControllerTest :
|
public class ProcessMapPlanSwitchingToTheModeControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanSwitchingToTheMode, ProcessMapPlanSwitchingToTheModeDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanSwitchingToTheMode, ProcessMapPlanSwitchingToTheModeDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanSwitchingToTheModeControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationSwitchingToTheMode")
|
public ProcessMapPlanSwitchingToTheModeControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanSwitchingToTheMode")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanSwitchingToTheModeDto dto = new ProcessMapPlanSwitchingToTheModeDto()
|
private readonly ProcessMapPlanSwitchingToTheModeDto dto = new ProcessMapPlanSwitchingToTheModeDto()
|
||||||
@ -23,6 +23,10 @@ public class ProcessMapPlanSwitchingToTheModeControllerTest :
|
|||||||
DepthEnd = 2,
|
DepthEnd = 2,
|
||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
|
FlowRate = 1,
|
||||||
|
PressureMax = 1,
|
||||||
|
RampTime = 1,
|
||||||
|
Note = "10"
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanSwitchingToTheMode entity = new ProcessMapPlanSwitchingToTheMode()
|
private readonly ProcessMapPlanSwitchingToTheMode entity = new ProcessMapPlanSwitchingToTheMode()
|
||||||
@ -35,6 +39,10 @@ public class ProcessMapPlanSwitchingToTheModeControllerTest :
|
|||||||
IdAuthor = 1,
|
IdAuthor = 1,
|
||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
|
FlowRate = 1,
|
||||||
|
PressureMax = 1,
|
||||||
|
RampTime = 1,
|
||||||
|
Note = "10"
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
@ -18,7 +18,7 @@ namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations;
|
|||||||
public class ProcessMapPlanTFOrientationControllerTest :
|
public class ProcessMapPlanTFOrientationControllerTest :
|
||||||
ProcessMapPlanBaseControllerTest<ProcessMapPlanTFOrientation, ProcessMapPlanTFOrientationDto>
|
ProcessMapPlanBaseControllerTest<ProcessMapPlanTFOrientation, ProcessMapPlanTFOrientationDto>
|
||||||
{
|
{
|
||||||
public ProcessMapPlanTFOrientationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationTFOrientation")
|
public ProcessMapPlanTFOrientationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanTFOrientation")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
private readonly ProcessMapPlanTFOrientationDto dto = new ProcessMapPlanTFOrientationDto()
|
private readonly ProcessMapPlanTFOrientationDto dto = new ProcessMapPlanTFOrientationDto()
|
||||||
@ -29,7 +29,20 @@ public class ProcessMapPlanTFOrientationControllerTest :
|
|||||||
Id = 0,
|
Id = 0,
|
||||||
IdWellSectionType = 1,
|
IdWellSectionType = 1,
|
||||||
DifferentialPressure = 1,
|
DifferentialPressure = 1,
|
||||||
Spring = 1
|
Spring = 1,
|
||||||
|
FlowRateDown = 1,
|
||||||
|
FlowRateUp = 1,
|
||||||
|
Interval = 1,
|
||||||
|
Note = "1",
|
||||||
|
PressureMax = 1,
|
||||||
|
RepetitionsCount = 1,
|
||||||
|
RopDown = 1,
|
||||||
|
RopUp = 1,
|
||||||
|
SlackingOff = 1,
|
||||||
|
StopPointOffBottom = 1,
|
||||||
|
TFSetpoint = 1,
|
||||||
|
Tight = 1,
|
||||||
|
TorqueMax = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly ProcessMapPlanTFOrientation entity = new ProcessMapPlanTFOrientation()
|
private readonly ProcessMapPlanTFOrientation entity = new ProcessMapPlanTFOrientation()
|
||||||
@ -43,7 +56,20 @@ public class ProcessMapPlanTFOrientationControllerTest :
|
|||||||
IdEditor = 1,
|
IdEditor = 1,
|
||||||
Creation = DateTimeOffset.UtcNow,
|
Creation = DateTimeOffset.UtcNow,
|
||||||
DifferentialPressure = 1,
|
DifferentialPressure = 1,
|
||||||
Spring = 1
|
Spring = 1,
|
||||||
|
FlowRateDown = 1,
|
||||||
|
FlowRateUp = 1,
|
||||||
|
Interval = 1,
|
||||||
|
Note = "1",
|
||||||
|
PressureMax = 1,
|
||||||
|
RepetitionsCount = 1,
|
||||||
|
RopDown = 1,
|
||||||
|
RopUp = 1,
|
||||||
|
SlackingOff = 1,
|
||||||
|
StopPointOffBottom = 1,
|
||||||
|
TFSetpoint = 1,
|
||||||
|
Tight = 1,
|
||||||
|
TorqueMax = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
Loading…
Reference in New Issue
Block a user