public EdgeHubTest(EdgeHubFixture edgeHubFixture) { this.edgeHubFixture = edgeHubFixture; if (protocolHeadFixtureInstance == null) { lock (FixtureLock) { if (protocolHeadFixtureInstance == null) { protocolHeadFixtureInstance = this.edgeHubFixture.GetFixture(); } } } }
public BackupAndRestoreTest(EdgeHubFixture edgeHubFixture, ITestOutputHelper testOutputHelper) { this.edgeHubFixture = edgeHubFixture; string tempFolder = Path.GetTempPath(); this.backupFolder = Path.Combine(tempFolder, $"edgeTestBackup{Guid.NewGuid()}"); if (Directory.Exists(this.backupFolder)) { Directory.Delete(this.backupFolder); } Directory.CreateDirectory(this.backupFolder); ConfigHelper.TestConfig["UsePersistentStorage"] = "false"; ConfigHelper.TestConfig["BackupFolder"] = this.backupFolder; ConfigHelper.TestConfig["EnableNonPersistentStorageBackup"] = "true"; this.logger = new TestConsoleLogger(testOutputHelper); }
public StressTest(EdgeHubFixture edgeHubFixture) : base(edgeHubFixture) { }
public TwinDiffE2ETest(EdgeHubFixture edgeHubFixture) : base(edgeHubFixture) { }
public Cloud2DeviceTest(EdgeHubFixture edgeHubFixture) : base(edgeHubFixture) { }
public TelemetryTest(EdgeHubFixture edgeHubFixture) : base(edgeHubFixture) { }
public EdgeHubConnectionTest(EdgeHubFixture edgeHubFixture) : base(edgeHubFixture) { }
public EdgeToDeviceMethodTest(EdgeHubFixture edgeHubFixture, ITestOutputHelper testOutputHelper) : base(new EdgeHubTest(edgeHubFixture), testOutputHelper) { }