C# Class MyTested.AspNetCore.Mvc.Utilities.Validators.DataProviderValidator

Mostrar archivo Open project: ivaylokenov/MyTested.AspNetCore.Mvc

Public Methods

Method Description
ThrowNewDataProviderAssertionException ( ComponentTestContext testContext, string name, string expectedValue, string actualValue ) : void
ThrowNewDataProviderAssertionExceptionWithNoEntries ( ComponentTestContext testContext, string name ) : void
ValidateDataProviderNumberOfEntries ( ComponentTestContext testContext, string name, int expectedCount, int actualCount ) : void

Method Details

ThrowNewDataProviderAssertionException() public static method

public static ThrowNewDataProviderAssertionException ( ComponentTestContext testContext, string name, string expectedValue, string actualValue ) : void
testContext ComponentTestContext
name string
expectedValue string
actualValue string
return void

ThrowNewDataProviderAssertionExceptionWithNoEntries() public static method

public static ThrowNewDataProviderAssertionExceptionWithNoEntries ( ComponentTestContext testContext, string name ) : void
testContext ComponentTestContext
name string
return void

ValidateDataProviderNumberOfEntries() public static method

public static ValidateDataProviderNumberOfEntries ( ComponentTestContext testContext, string name, int expectedCount, int actualCount ) : void
testContext ComponentTestContext
name string
expectedCount int
actualCount int
return void