Edit

ValueTypeFieldCodecTester<TField,TCodec> Class

Definition

public abstract class ValueTypeFieldCodecTester<TField,TCodec> : Orleans.Serialization.TestKit.FieldCodecTester<TField,TCodec> where TField : struct where TCodec : class, IFieldCodec<TField>
type ValueTypeFieldCodecTester<'Field, 'Codec (requires 'Field : struct and 'Codec : null and 'Codec :> IFieldCodec<'Field>)> = class
    inherit FieldCodecTester<'Field, 'Codec (requires 'Field : struct and 'Codec : null and 'Codec :> IFieldCodec<'Field>)>
Public MustInherit Class ValueTypeFieldCodecTester(Of TField, TCodec)
Inherits FieldCodecTester(Of TField, TCodec)

Type Parameters

TField
TCodec
Inheritance
FieldCodecTester<TField,TCodec>
ValueTypeFieldCodecTester<TField,TCodec>

Constructors

Name Description
ValueTypeFieldCodecTester<TField,TCodec>(ITestOutputHelper)

Properties

Name Description
MaxSegmentSizes

Gets the maximum segment sizes for buffer testing.

(Inherited from FieldCodecTester<TValue,TCodec>)
Random

Gets the random number generator.

(Inherited from FieldCodecTester<TValue,TCodec>)
ServiceProvider

Gets the service provider.

(Inherited from FieldCodecTester<TValue,TCodec>)
SessionPool

Gets the session pool.

(Inherited from FieldCodecTester<TValue,TCodec>)
TestValues

Gets test values.

(Inherited from FieldCodecTester<TValue,TCodec>)
ValueProvider

Gets a value provider delegate.

(Inherited from FieldCodecTester<TValue,TCodec>)

Methods

Name Description
CanCopyCollectionViaSerializer() (Inherited from FieldCodecTester<TValue,TCodec>)
CanCopyCollectionViaUntypedSerializer() (Inherited from FieldCodecTester<TValue,TCodec>)
CanCopyTupleViaSerializer_Untyped() (Inherited from FieldCodecTester<TValue,TCodec>)
CanCopyTupleViaSerializer() (Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripCollectionViaSerializer()

Checks whether a strongly typed collection of values can be round-tripped.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripDefaultValueViaCodec()

Checks if round-tripped default values are equal.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripTupleViaSerializer()

Checks if values can be round-tripped when used as a field in a tuple.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaObjectSerializer()

Checks if values can be round-tripped through Serializer<T> when using Object as the type parameter.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer_Array()

Checks whether the codec correctly round-trips values when writing to an array.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer_Memory()

Checks whether the codec correctly round-trips values when writing to a memory slice.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer_MemoryStream()

Checks whether the codec correctly round-trips values when writing to a memory stream.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer_ReadByteByByte()

Checks whether the codec correctly round-trips values when reading byte-by-byte, simulating fragmented reads.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer_Span()

Checks whether the codec correctly round-trips values when writing to a span.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer_StreamPooled()

Checks whether the codec correctly round-trips values when using a pooled stream.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripViaSerializer()

Checks if values can be round-tripped through Serializer<T> when using TValue as the type parameter.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanRoundTripWeaklyTypedCollectionViaSerializer()

Checks whether a strongly typed collection of values can be round-tripped.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanSkipDefaultValue()

Checks if default values can be skipped over.

(Inherited from FieldCodecTester<TValue,TCodec>)
CanSkipValue()

Checks if values can be skipped over.

(Inherited from FieldCodecTester<TValue,TCodec>)
Configure(ISerializerBuilder)

Configures the serializer.

(Inherited from FieldCodecTester<TValue,TCodec>)
CorrectlyAdvancesReferenceCounter()

Checks whether the codec correctly advances the reference counter when writing to a pipe and reading from a pipe.

(Inherited from FieldCodecTester<TValue,TCodec>)
CorrectlyAdvancesReferenceCounterStream()

Checks whether the codec correctly advances the reference counter when writing to a stream and reading from a stream.

(Inherited from FieldCodecTester<TValue,TCodec>)
CorrectlyHandlesBuffers()

Checks if buffers are handled correctly.

(Inherited from FieldCodecTester<TValue,TCodec>)
CreateCodec()

Creates a codec.

(Inherited from FieldCodecTester<TValue,TCodec>)
CreateValue()

Creates a value.

(Inherited from FieldCodecTester<TValue,TCodec>)
DirectAccessValueSerializerRoundTrip()
Equals(TValue, TValue)

Compares two values for equality.

(Inherited from FieldCodecTester<TValue,TCodec>)
GetWriteCopy(TValue) (Inherited from FieldCodecTester<TValue,TCodec>)
ProducesValidBitStream()

Checks whether the codec produces a valid bit stream.

(Inherited from FieldCodecTester<TValue,TCodec>)
RoundTrippedValuesEqual()

Checks if round-tripped values are equal.

(Inherited from FieldCodecTester<TValue,TCodec>)
RoundTripThroughCodec<T>(T)

Round-trips a value through the codec.

(Inherited from FieldCodecTester<TValue,TCodec>)
RoundTripThroughUntypedSerializer(Object, String)

Round-trips a value through an untyped serializer.

(Inherited from FieldCodecTester<TValue,TCodec>)
ValueSerializerRoundTrip()
WritersProduceSameResults()

Checks whether various buffer writers produce bit-wise identical results.

(Inherited from FieldCodecTester<TValue,TCodec>)

Explicit Interface Implementations

Name Description
IDisposable.Dispose() (Inherited from FieldCodecTester<TValue,TCodec>)

Applies to