.NET API
TenantAwareAgentSourceContract
Tracon.Testing.Contracts.Xunit.dllAdditional behavior tests for a tenant-aware agent source.
public abstract class TenantAwareAgentSourceContract : AgentSourceContract, IAsyncLifetime, IAsyncDisposableInheritance
Section titled “Inheritance”object ← AgentSourceContract ← TenantAwareAgentSourceContract
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”TenantAwareAgentSourceContract()
Section titled “ TenantAwareAgentSourceContract()”protected TenantAwareAgentSourceContract()Methods
Section titled “Methods”Tenant_lists_do_not_leak_between_tenants()
Section titled “ Tenant_lists_do_not_leak_between_tenants()”[Fact("/Users/farukatasoy/Desktop/projects/Tracon/src/Tracon.Testing.Contracts.Xunit/Contracts/AgentSources/TenantAwareAgentSourceContract.cs", 9)]public Task Tenant_lists_do_not_leak_between_tenants()Returns
Section titled “Returns”UseTenantAsync(string)
Section titled “ UseTenantAsync(string)”Switches the source to a tenant and returns its known agent name.
protected abstract ValueTask<string> UseTenantAsync(string tenantId)Parameters
Section titled “Parameters”tenantId string