Skip to content

Commit d5fd08e

Browse files
author
Aditya Abhishek
committed
fix conflict issues
1 parent c93dd99 commit d5fd08e

4 files changed

Lines changed: 14 additions & 300 deletions

File tree

src/VirtualClient/VirtualClient.Contracts.UnitTests/ExecutionProfileTests.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ public void ExecutionProfileCanDeserializeProfileFilesWithParallelLoopExecutionC
9393
Assert.IsTrue(profile.Actions[1].Components.Count() == 2);
9494
}
9595

96+
[Test]
97+
[TestCase("TEST-PROFILE-1-SEQUENTIAL.json")]
98+
public void ExecutionProfileCanDeserializeProfileFilesWithSequentialExecutionComponents(string profileName)
99+
{
100+
ExecutionProfile profile = File.ReadAllText(Path.Combine(MockFixture.TestAssemblyDirectory, "Resources", profileName))
101+
.FromJson<ExecutionProfile>();
102+
103+
Assert.IsNotEmpty(profile.Actions);
104+
Assert.IsTrue(profile.Actions.Count == 2);
105+
106+
Assert.IsNotEmpty(profile.Actions[1].Components);
107+
Assert.IsTrue(profile.Actions[1].Components.Count() == 2);
108+
}
109+
96110
[Test]
97111
public void ExecutionProfileImplementsHashCodeSemanticsCorrectly()
98112
{

src/VirtualClient/VirtualClient.Contracts.UnitTests/LoopExecutionTests.cs

Lines changed: 0 additions & 165 deletions
This file was deleted.

src/VirtualClient/VirtualClient.Contracts.UnitTests/Resources/TEST-PROFILE-1-LOOP.json

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/VirtualClient/VirtualClient.Contracts/LoopExecution.cs

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)