.NET API
VersionedAgentSourceContract
Tracon.Testing.Contracts.Xunit.dllAdditional behavior tests for an IVersionedAgentSource.
public abstract class VersionedAgentSourceContract : AgentSourceContract, IAsyncLifetime, IAsyncDisposableInheritance
Section titled “Inheritance”object ← AgentSourceContract ← VersionedAgentSourceContract
Implements
Section titled “Implements”IAsyncLifetime, IAsyncDisposable
Inherited Members
Section titled “Inherited Members”AgentSourceContract.CreateSourceAsync(), AgentSourceContract.InitializeAsync(), AgentSourceContract.DisposeAsync(), AgentSourceContract.Name_is_not_empty(), AgentSourceContract.Priority_is_stable_across_calls(), AgentSourceContract.Listing_is_repeatable(), AgentSourceContract.Listing_is_safe_under_concurrency(), AgentSourceContract.Resolution_is_safe_under_concurrency(), AgentSourceContract.Listed_names_are_unique_and_valid(), AgentSourceContract.Listed_descriptors_name_the_source(), AgentSourceContract.Known_agent_resolves(), AgentSourceContract.Unknown_agent_returns_null(), AgentSourceContract.Every_listed_agent_resolves(), AgentSourceContract.Resolved_agent_is_listed(), AgentSourceContract.A_pre_cancelled_token_is_honored(), AgentSourceContract.Source, AgentSourceContract.KnownAgentName, AgentSourceContract.UnknownAgentName, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”VersionedAgentSourceContract()
Section titled “ VersionedAgentSourceContract()”protected VersionedAgentSourceContract()Properties
Section titled “Properties”KnownVersion
Section titled “ KnownVersion”Gets the version that exists for AgentSourceContract.KnownAgentName.
protected abstract int KnownVersion { get; }Property Value
Section titled “Property Value”UnknownVersion
Section titled “ UnknownVersion”Gets a version that does not exist for AgentSourceContract.KnownAgentName.
protected virtual int UnknownVersion { get; }Property Value
Section titled “Property Value”VersionedSource
Section titled “ VersionedSource”Gets the versioned source under test.
protected IVersionedAgentSource VersionedSource { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Known_version_resolves()
Section titled “ Known_version_resolves()”[Fact("/Users/farukatasoy/Desktop/projects/Tracon/src/Tracon.Testing.Contracts.Xunit/Contracts/AgentSources/VersionedAgentSourceContract.cs", 15)]public Task Known_version_resolves()Returns
Section titled “Returns”Unknown_version_returns_null()
Section titled “ Unknown_version_returns_null()”[Fact("/Users/farukatasoy/Desktop/projects/Tracon/src/Tracon.Testing.Contracts.Xunit/Contracts/AgentSources/VersionedAgentSourceContract.cs", 19)]public Task Unknown_version_returns_null()