public void ExecuteTestWithInputParameters(TestInputParameters input) { var command = new SaveAzureVhdCommand { Source = input.Source, }; try { //command.ValidateParameters(); if(!input.ExpectedResult) { Assert.Fail(input.Description); } } catch (Exception) { if(input.ExpectedResult) { Assert.Fail(input.Description); } } }
public void ExecuteTestWithInputParameters(TestInputParameters input) { var command = new AddAzureVhdCommand { Destination = input.Destination, BaseImageUriToPatch = input.BaseImage }; try { command.ValidateParameters(); if(!input.ExpectedResult) { Assert.Fail(input.Description); } } catch (Exception) { if(input.ExpectedResult) { Assert.Fail(input.Description); } } }
public void ExecuteTestWithInputParameters(TestInputParameters input) { var command = new SaveAzureVhdCommand { Source = input.Source, }; try { //command.ValidateParameters(); if (!input.ExpectedResult) { Assert.Fail(input.Description); } } catch (Exception) { if (input.ExpectedResult) { Assert.Fail(input.Description); } } }
public void ExecuteTestWithInputParameters(TestInputParameters input) { var command = new AddAzureVhdCommand { Destination = input.Destination, BaseImageUriToPatch = input.BaseImage }; try { command.ValidateParameters(); if (!input.ExpectedResult) { Assert.Fail(input.Description); } } catch (Exception) { if (input.ExpectedResult) { Assert.Fail(input.Description); } } }