-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from Ali-YousefiTelori/develop
add delay
- Loading branch information
Showing
8 changed files
with
35 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/CSharp/EasyMicroservices.Cores.Tests/Fixtures/BaseWhiteLabelFixture.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using EasyMicroservices.Cores.Tests.Database; | ||
using EasyMicroservices.Cores.Tests.DatabaseLogics.Database.Contexts; | ||
using EasyMicroservices.WhiteLabelsMicroservice.VirtualServerForTests; | ||
using EasyMicroservices.WhiteLabelsMicroservice.VirtualServerForTests.TestResources; | ||
|
||
namespace EasyMicroservices.Cores.Tests.Fixtures; | ||
public class BaseWhiteLabelFixture | ||
{ | ||
public static async Task Run(int port) | ||
{ | ||
var whiteLabelVirtualTestManager = new WhiteLabelVirtualTestManager(); | ||
|
||
if (await whiteLabelVirtualTestManager.OnInitialize(port)) | ||
{ | ||
Console.WriteLine($"WhiteLabelVirtualTestManager Initialized! {port}"); | ||
foreach (var item in WhiteLabelResource.GetResources(new MyTestContext(new DatabaseBuilder()), "TextExample")) | ||
{ | ||
whiteLabelVirtualTestManager.AppendService(port, item.Key, item.Value); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters