From a96f138036d17e386d46832f18cba14885115b0d Mon Sep 17 00:00:00 2001 From: philgei Date: Wed, 3 Jul 2024 11:18:57 +0200 Subject: [PATCH] Added auto props to coverage filter --- .runsettings | 16 ++++++++++++++++ AdLerBackend.Application.UnitTests/PocoTest.cs | 6 ++++++ AdLerBackend.sln.DotSettings | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 .runsettings diff --git a/.runsettings b/.runsettings new file mode 100644 index 00000000..c0728d50 --- /dev/null +++ b/.runsettings @@ -0,0 +1,16 @@ + + + + + + + + .*get_.* + .*set_.* + + + + + + + \ No newline at end of file diff --git a/AdLerBackend.Application.UnitTests/PocoTest.cs b/AdLerBackend.Application.UnitTests/PocoTest.cs index e39d8651..242fc574 100644 --- a/AdLerBackend.Application.UnitTests/PocoTest.cs +++ b/AdLerBackend.Application.UnitTests/PocoTest.cs @@ -1,4 +1,5 @@ using AdLerBackend.Application.Common.ElementStrategies.ScoreElementStrategies.MockPrimitiveH5PStrategy; +using AdLerBackend.Application.Common.InternalUseCases.GetLearningElement; using AdLerBackend.Application.Common.Responses.Adaptivity; using AdLerBackend.Application.Common.Responses.Adaptivity.Common; using AdLerBackend.Application.Common.Responses.Elements; @@ -51,5 +52,10 @@ private static IEnumerable GetTestCases() yield return new TestCaseData(new AdaptivityTrigger()); yield return new TestCaseData(new AdaptivityQuestionAnswer()); yield return new TestCaseData(new ContentReferenceAction()); + yield return new TestCaseData(new GetLearningElementCommand()); + yield return new TestCaseData(new LmsUuidResponse() + { + LmsContextId = 1, + }); } } \ No newline at end of file diff --git a/AdLerBackend.sln.DotSettings b/AdLerBackend.sln.DotSettings index c0d884ca..cd05238f 100644 --- a/AdLerBackend.sln.DotSettings +++ b/AdLerBackend.sln.DotSettings @@ -1,5 +1,7 @@  True + True + True True True True