Show / Hide Table of Contents

    Class ParameterExtensionsTests

    Inheritance
    System.Object
    ParameterExtensionsTests
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ArgentSea.Pg.Test
    Assembly: ArgentSea.Pg.Test.dll
    Syntax
    public class ParameterExtensionsTests

    Properties

    | Improve this Doc View Source

    BinaryTestData

    Declaration
    public static TheoryData<byte[], int> BinaryTestData { get; }
    Property Value
    Type Description
    Xunit.TheoryData<System.Byte[], System.Int32>
    | Improve this Doc View Source

    DateTimeOffsetTestData

    Declaration
    public static TheoryData<DateTimeOffset> DateTimeOffsetTestData { get; }
    Property Value
    Type Description
    Xunit.TheoryData<System.DateTimeOffset>
    | Improve this Doc View Source

    DateTimeTestData

    Declaration
    public static TheoryData<DateTime> DateTimeTestData { get; }
    Property Value
    Type Description
    Xunit.TheoryData<System.DateTime>
    | Improve this Doc View Source

    DecimalTestData

    Declaration
    public static TheoryData<decimal, byte, byte> DecimalTestData { get; }
    Property Value
    Type Description
    Xunit.TheoryData<System.Decimal, System.Byte, System.Byte>
    | Improve this Doc View Source

    GuidTestData

    Declaration
    public static TheoryData<Guid> GuidTestData { get; }
    Property Value
    Type Description
    Xunit.TheoryData<System.Guid>

    Methods

    | Improve this Doc View Source

    BinaryTests(Byte[], Int32)

    Declaration
    [Theory]
    [MemberData("BinaryTestData", new object[]{})]
    public void BinaryTests(byte[] value, int length)
    Parameters
    Type Name Description
    System.Byte[] value
    System.Int32 length
    | Improve this Doc View Source

    BooleanTests(Boolean)

    Declaration
    [Theory]
    [InlineData(new object[]{true})]
    [InlineData(new object[]{false})]
    public void BooleanTests(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    | Improve this Doc View Source

    ByteTests(Byte)

    Declaration
    [Theory]
    [InlineData(new object[]{0})]
    [InlineData(new object[]{(byte)255})]
    public void ByteTests(byte value)
    Parameters
    Type Name Description
    System.Byte value
    | Improve this Doc View Source

    CharTests(String, Int32)

    Declaration
    [Theory]
    [InlineData(new object[]{null, -1})]
    [InlineData(new object[]{"", 4})]
    [InlineData(new object[]{"Test", 25})]
    public void CharTests(string value, int length)
    Parameters
    Type Name Description
    System.String value
    System.Int32 length
    | Improve this Doc View Source

    DateTests(DateTime)

    Declaration
    [Theory]
    [MemberData("DateTimeTestData", new object[]{})]
    public void DateTests(DateTime value)
    Parameters
    Type Name Description
    System.DateTime value
    | Improve this Doc View Source

    DecimalTests(Decimal, Byte, Byte)

    Declaration
    [Theory]
    [MemberData("DecimalTestData", new object[]{})]
    public void DecimalTests(decimal value, byte precision, byte scale)
    Parameters
    Type Name Description
    System.Decimal value
    System.Byte precision
    System.Byte scale
    | Improve this Doc View Source

    DoubleTests(Double)

    Declaration
    [Theory]
    [InlineData(new object[]{0})]
    [InlineData(new object[]{1.7976931348623157E+308})]
    [InlineData(new object[]{-1.7976931348623157E+308})]
    public void DoubleTests(double value)
    Parameters
    Type Name Description
    System.Double value
    | Improve this Doc View Source

    FloatTests(Single)

    Declaration
    [Theory]
    [InlineData(new object[]{0})]
    [InlineData(new object[]{3.40282347E+38F})]
    [InlineData(new object[]{-3.40282347E+38F})]
    public void FloatTests(float value)
    Parameters
    Type Name Description
    System.Single value
    | Improve this Doc View Source

    IntegerTests(Int32)

    Declaration
    [Theory]
    [InlineData(new object[]{0})]
    [InlineData(new object[]{2147483647})]
    [InlineData(new object[]{-2147483648})]
    public void IntegerTests(int value)
    Parameters
    Type Name Description
    System.Int32 value
    | Improve this Doc View Source

    IntervalTests(DateTimeOffset)

    Declaration
    [Theory]
    [MemberData("DateTimeOffsetTestData", new object[]{})]
    public void IntervalTests(DateTimeOffset value)
    Parameters
    Type Name Description
    System.DateTimeOffset value
    | Improve this Doc View Source

    LongTests(Int64)

    Declaration
    [Theory]
    [InlineData(new object[]{0})]
    [InlineData(new object[]{9223372036854775807L})]
    [InlineData(new object[]{-9223372036854775808L})]
    public void LongTests(long value)
    Parameters
    Type Name Description
    System.Int64 value
    | Improve this Doc View Source

    NullBooleanTest()

    Declaration
    [Fact]
    public void NullBooleanTest()
    | Improve this Doc View Source

    NullByteTest()

    Declaration
    [Fact]
    public void NullByteTest()
    | Improve this Doc View Source

    NullDateTimeOffsetTest()

    Declaration
    [Fact]
    public void NullDateTimeOffsetTest()
    | Improve this Doc View Source

    NullDateTimeTest()

    Declaration
    [Fact]
    public void NullDateTimeTest()
    | Improve this Doc View Source

    NullDecimalTest()

    Declaration
    [Fact]
    public void NullDecimalTest()
    | Improve this Doc View Source

    NullDoubleTest()

    Declaration
    [Fact]
    public void NullDoubleTest()
    | Improve this Doc View Source

    NullFloatTest()

    Declaration
    [Fact]
    public void NullFloatTest()
    | Improve this Doc View Source

    NullGuidTest()

    Declaration
    [Fact]
    public void NullGuidTest()
    | Improve this Doc View Source

    NullIntegerTest()

    Declaration
    [Fact]
    public void NullIntegerTest()
    | Improve this Doc View Source

    NullLongTest()

    Declaration
    [Fact]
    public void NullLongTest()
    | Improve this Doc View Source

    NullShortTest()

    Declaration
    [Fact]
    public void NullShortTest()
    | Improve this Doc View Source

    ShortTests(Int16)

    Declaration
    [Theory]
    [InlineData(new object[]{0})]
    [InlineData(new object[]{(short)32767})]
    [InlineData(new object[]{(short)-32768})]
    public void ShortTests(short value)
    Parameters
    Type Name Description
    System.Int16 value
    | Improve this Doc View Source

    TextTests(String)

    Declaration
    [Theory]
    [InlineData(null)]
    [InlineData(new object[]{""})]
    [InlineData(new object[]{"Test"})]
    public void TextTests(string value)
    Parameters
    Type Name Description
    System.String value
    | Improve this Doc View Source

    TimestampTests(DateTime)

    Declaration
    [Theory]
    [MemberData("DateTimeTestData", new object[]{})]
    public void TimestampTests(DateTime value)
    Parameters
    Type Name Description
    System.DateTime value
    | Improve this Doc View Source

    TimestampTzTests(DateTimeOffset)

    Declaration
    [Theory]
    [MemberData("DateTimeOffsetTestData", new object[]{})]
    public void TimestampTzTests(DateTimeOffset value)
    Parameters
    Type Name Description
    System.DateTimeOffset value
    | Improve this Doc View Source

    TimeTests(DateTime)

    Declaration
    [Theory]
    [MemberData("DateTimeTestData", new object[]{})]
    public void TimeTests(DateTime value)
    Parameters
    Type Name Description
    System.DateTime value
    | Improve this Doc View Source

    TimeTzTests(DateTimeOffset)

    Declaration
    [Theory]
    [MemberData("DateTimeOffsetTestData", new object[]{})]
    public void TimeTzTests(DateTimeOffset value)
    Parameters
    Type Name Description
    System.DateTimeOffset value
    | Improve this Doc View Source

    UuidTests(Guid)

    Declaration
    [Theory]
    [MemberData("GuidTestData", new object[]{})]
    public void UuidTests(Guid value)
    Parameters
    Type Name Description
    System.Guid value
    | Improve this Doc View Source

    VarCharTests(String, Int32)

    Declaration
    [Theory]
    [InlineData(new object[]{null, -1})]
    [InlineData(new object[]{"", 4})]
    [InlineData(new object[]{"Test", 25})]
    public void VarCharTests(string value, int length)
    Parameters
    Type Name Description
    System.String value
    System.Int32 length
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX