Table of Contents

Class TestData

Namespace
SunamoTest
Assembly
SunamoTest.dll

Provides commonly used test data constants and collections for unit testing.

public class TestData
Inheritance
TestData
Inherited Members
Extension Methods

Fields

A

Test string constant "a".

public const string A = "a"

Field Value

string

A2

Test string constant "a2".

public const string A2 = "a2"

Field Value

string

Ab

Test string constant "ab".

public const string Ab = "ab"

Field Value

string

Abc

Test string constant "abc".

public const string Abc = "abc"

Field Value

string

B

Test string constant "b".

public const string B = "b"

Field Value

string

C

Test string constant "c".

public const string C = "c"

Field Value

string

D

Test string constant "d".

public const string D = "d"

Field Value

string

FlatJson

A flat JSON string for testing JSON operations.

public static readonly string FlatJson

Field Value

string

FlatJsonSc

The "Sc" value extracted from the flat JSON test data.

public static readonly string FlatJsonSc

Field Value

string

Integers123

A list containing integers 1, 2, 3.

public static readonly List<int> Integers123

Field Value

List<int>

Integers321

A list containing integers 3, 2, 1.

public static readonly List<int> Integers321

Field Value

List<int>

List04

A list containing integers 0 through 4.

public static readonly List<int> List04

Field Value

List<int>

List1

A list containing integer 1.

public static readonly List<int> List1

Field Value

List<int>

List100Items

A list of 100 string items from "0" to "99".

public static readonly List<string> List100Items

Field Value

List<string>

List10Items

A list of 10 string items from "0" to "9".

public static readonly List<string> List10Items

Field Value

List<string>

List12

A list containing integers 1, 2.

public static readonly List<int> List12

Field Value

List<int>

List2

A list containing integer 2.

public static readonly List<int> List2

Field Value

List<int>

List34

A list containing integers 3, 4.

public static readonly List<int> List34

Field Value

List<int>

List59

A list containing integers 5 through 9.

public static readonly List<int> List59

Field Value

List<int>

ListA

A list containing string "a".

public static readonly List<string> ListA

Field Value

List<string>

ListAB1

A list containing strings "a", "b".

public static readonly List<string> ListAB1

Field Value

List<string>

ListAB2

A second list containing strings "a", "b".

public static readonly List<string> ListAB2

Field Value

List<string>

ListABC

A list containing strings "a", "b", "c".

public static readonly List<string> ListABC

Field Value

List<string>

ListABCCC

A list containing strings "a", "b", "c", "c", "c".

public static readonly List<string> ListABCCC

Field Value

List<string>

ListABCD

A list containing strings "a", "b", "c", "d".

public static readonly List<string> ListABCD

Field Value

List<string>

ListAC

A list containing strings "a", "c".

public static readonly List<string> ListAC

Field Value

List<string>

ListB

A list containing string "b".

public static readonly List<string> ListB

Field Value

List<string>

ListC

A list containing string "c".

public static readonly List<string> ListC

Field Value

List<string>

NotSortedBySize

A list of strings not sorted by size: "ab", "abc", "a".

public static readonly List<string> NotSortedBySize

Field Value

List<string>

One

Integer constant 1.

public const int One = 1

Field Value

int

Range0To100

A list of integers from 0 to 100.

public static readonly List<int> Range0To100

Field Value

List<int>

Range0To95

A list of integers from 0 to 95.

public static readonly List<int> Range0To95

Field Value

List<int>

Range1To100

A list of integers from 1 to 100.

public static readonly List<int> Range1To100

Field Value

List<int>

RangeBy10From0To95

A list of integer lists, each containing a range of 10, from 0 to 95.

public static readonly List<List<int>> RangeBy10From0To95

Field Value

List<List<int>>

Three

Integer constant 3.

public const int Three = 3

Field Value

int

Two

Integer constant 2.

public const int Two = 2

Field Value

int

Wildcard

Wildcard pattern for C# files.

public const string Wildcard = "*.cs"

Field Value

string

Methods

Init()

Placeholder initialization method for test data setup.

public static void Init()