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
A2
Test string constant "a2".
public const string A2 = "a2"
Field Value
Ab
Test string constant "ab".
public const string Ab = "ab"
Field Value
Abc
Test string constant "abc".
public const string Abc = "abc"
Field Value
B
Test string constant "b".
public const string B = "b"
Field Value
C
Test string constant "c".
public const string C = "c"
Field Value
D
Test string constant "d".
public const string D = "d"
Field Value
FlatJson
A flat JSON string for testing JSON operations.
public static readonly string FlatJson
Field Value
FlatJsonSc
The "Sc" value extracted from the flat JSON test data.
public static readonly string FlatJsonSc
Field Value
Integers123
A list containing integers 1, 2, 3.
public static readonly List<int> Integers123
Field Value
Integers321
A list containing integers 3, 2, 1.
public static readonly List<int> Integers321
Field Value
List04
A list containing integers 0 through 4.
public static readonly List<int> List04
Field Value
List1
A list containing integer 1.
public static readonly List<int> List1
Field Value
List100Items
A list of 100 string items from "0" to "99".
public static readonly List<string> List100Items
Field Value
List10Items
A list of 10 string items from "0" to "9".
public static readonly List<string> List10Items
Field Value
List12
A list containing integers 1, 2.
public static readonly List<int> List12
Field Value
List2
A list containing integer 2.
public static readonly List<int> List2
Field Value
List34
A list containing integers 3, 4.
public static readonly List<int> List34
Field Value
List59
A list containing integers 5 through 9.
public static readonly List<int> List59
Field Value
ListA
A list containing string "a".
public static readonly List<string> ListA
Field Value
ListAB1
A list containing strings "a", "b".
public static readonly List<string> ListAB1
Field Value
ListAB2
A second list containing strings "a", "b".
public static readonly List<string> ListAB2
Field Value
ListABC
A list containing strings "a", "b", "c".
public static readonly List<string> ListABC
Field Value
ListABCCC
A list containing strings "a", "b", "c", "c", "c".
public static readonly List<string> ListABCCC
Field Value
ListABCD
A list containing strings "a", "b", "c", "d".
public static readonly List<string> ListABCD
Field Value
ListAC
A list containing strings "a", "c".
public static readonly List<string> ListAC
Field Value
ListB
A list containing string "b".
public static readonly List<string> ListB
Field Value
ListC
A list containing string "c".
public static readonly List<string> ListC
Field Value
NotSortedBySize
A list of strings not sorted by size: "ab", "abc", "a".
public static readonly List<string> NotSortedBySize
Field Value
One
Integer constant 1.
public const int One = 1
Field Value
Range0To100
A list of integers from 0 to 100.
public static readonly List<int> Range0To100
Field Value
Range0To95
A list of integers from 0 to 95.
public static readonly List<int> Range0To95
Field Value
Range1To100
A list of integers from 1 to 100.
public static readonly List<int> Range1To100
Field Value
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
Three
Integer constant 3.
public const int Three = 3
Field Value
Two
Integer constant 2.
public const int Two = 2
Field Value
Wildcard
Wildcard pattern for C# files.
public const string Wildcard = "*.cs"
Field Value
Methods
Init()
Placeholder initialization method for test data setup.
public static void Init()