-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTestCases.txt
More file actions
66 lines (57 loc) · 4.01 KB
/
TestCases.txt
File metadata and controls
66 lines (57 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Test Cases:
Outputs:
Error Records
Delete Output (Exception) - MessageStrings.CannotDeleteErrorOutput
Change typeOfOutput to anything else (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Change masterRecordID (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Change rowTypeValue (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Add Column (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Delete Column (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Set ANY Column property on ANY column (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Set ANY Column data type values (Exception) - MessageStrings.CantChangeOutputProperties("Error")
Rows Processed
Delete Output (Exception) - MessageStrings.CannotDeleteRowsProcessedOutput
Change typeOfOutput to anything else (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Change masterRecordID (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Change rowTypeValue (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Add Column (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Delete Column (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Set ANY Column property on ANY column (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Set ANY Column data type values (Exception) - MessageStrings.CantChangeOutputProperties("RowsProcessed")
Key Records
W Delete Output (Exception) - MessageStrings.CannotDeleteKeyOutput
W Change typeOfOutput to anything else (Exception) - MessageStrings.CantChangeOutputProperties("Key")
W Change masterRecordID (Exception) - MessageStrings.CantChangeOutputProperties("Key")
W Change rowTypeValue (Succeed)
W Add Column (Succeed)
W Delete Passthrough Column (Succeed)
W Delete Key Column (Exception) - MessageStrings.CantDeleteKeyColumn
W Set UsageOfColumn to any value From Key (Exception) - MessageStrings.InvalidPropertyValue(outputName, columnName, propertyName, propertyValue)
W Set UsageOfColumn to any value From Passthrough (Exception) - MessageStrings.InvalidPropertyValue(outputName, columnName, propertyName, propertyValue)
W Set keyOutputColumnID to any value (Exception) - MessageStrings.InvalidPropertyValue(outputName, columnName, propertyName, propertyValue)
W Set dotNetFormatString on column with usageOfColumn = Key (Exception) - MessageStrings.InvalidPropertyValue(outputName, columnName, propertyName, propertyValue)
W Set dotNetFormatString on column with usageOfColumn = passThrough (Succeed)
W Set isColumnOptional on column with usageOfColumn = Key (Exception) - MessageStrings.InvalidPropertyValue(outputName, columnName, propertyName, propertyValue)
W Set isColumnOptional on column with usageOfColumn = passThrough and NOT last non optional column (Exception) - MessageStrings.CanOnlySetOptionalOnLastNonOptionalColumn
W Set isColumnOptional on column with usageOfColumn = passThrough and last column (Succeed)
W Set isColumnOptional on column with usageOfColumn = passThrough and last non optional column (2nd last column) (Succeed)
W Set isColumnOptional OFF on column with usageOfColumn = passThrough and last 2 columns optional (last column) (Exception) - MessageStrings.CanOnlySetNonOptionalOnLastOptionalColumn
W Set isColumnOptional OFF on column with usageOfColumn = passThrough and last 2 columns optional (2nd last column) (Succeed)
W Set Key Column Data Types (Exception) - MessageStrings.CantChangeOutputProperties("Key")
W Set Passthrough Column Data Types (Succeed)
W Set Invalid Property for a Column (Exception) - MessageStrings.YouCanNotSetThatPropertyOnAColumn(thisOutput.Name, thisColumn.Name, propertyName)
rowType Not Set Validation (Exception) - Warning of some type.
Data Records
Pass Through
Master Records
Child Master Records
Child Records
Test Data Tests
Key Records Only (Succeed)
usageOfColumnEnum
RowType
, RowData
, Passthrough
, Key
, Ignore
, MasterValue