Skip to content

Commit 7b3ba5b

Browse files
committed
all unit tests passing after re-namespacing Core Handlers
1 parent c6b50e4 commit 7b3ba5b

38 files changed

Lines changed: 354 additions & 9713 deletions

Synapse.Common/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
// by using the '*' as shown below:
3939
// [assembly: AssemblyVersion("1.0.*")]
4040
[assembly: AssemblyVersion( "0.1.0.0" )]
41-
[assembly: AssemblyFileVersion( "0.1.17145.0" )]
41+
[assembly: AssemblyFileVersion( "0.1.17146.0" )]

Synapse.Core/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@
3737
// by using the '*' as shown below:
3838
// [assembly: AssemblyVersion("1.0.*")]
3939
[assembly: AssemblyVersion( "0.1.0.0" )]
40-
[assembly: AssemblyFileVersion( "0.1.17145.0" )]
40+
[assembly: AssemblyFileVersion( "0.1.17146.0" )]

Synapse.UnitTests/Plans/Plans/crypto_decr.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Actions:
4040
Dynamic:
4141
- Name: jsonPayload
4242
Path: Arguments:Expressions[0]:ReplaceWith
43+
Options: []
4344
Crypto:
4445
KeyUri: C:\Devo\synapse\synapse.core.net\Synapse.UnitTests\Plans\crypto\pubPriv.xml
4546
KeyContainerName: foo
@@ -51,10 +52,6 @@ Actions:
5152
- Values:Arguments:Expressions[2]:ReplaceWith:foo[1]:bar[1]:v3
5253
Errors:
5354
- Type
54-
- Values:Arguments:ArgString
55-
- Values:Arguments:Expressions[0]:Encoding
56-
- Values:Arguments:Expressions[1]:ReplaceWith:foo:bar[1]:v1
57-
- Values:Arguments:Expressions[2]:ReplaceWith:foo[1]:bar[1]:v3
5855
Actions: []
5956
- Name: Xml
6057
Handler:
@@ -85,15 +82,11 @@ Actions:
8582
- /CXmlDoc[1]/CNode0[1]
8683
- /CXmlDoc[1]/CNode3[1]/CNode3_1[1]/@CAttr3_1
8784
- /CXmlDoc[1]/CNode3[1]/CNode3_2[1]
88-
Errors:
89-
- /CXmlDoc[1]/CNode0[1]
90-
- /CXmlDoc[1]/CNode3[1]/CNode3_1[1]/@CAttr3_1
91-
- /CXmlDoc[1]/CNode3[1]/CNode3_2[1]
9285
Actions: []
9386
Crypto:
9487
KeyUri: C:\Devo\synapse\synapse.core.net\Synapse.UnitTests\Plans\crypto\pubPriv.xml
9588
KeyContainerName: foo
9689
Elements: []
9790
Errors: []
9891
StartInfo: {}
99-
LastModified: 5/8/2017 6:57:58 PM
92+
LastModified: 5/26/2017 7:30:12 AM

Synapse.UnitTests/Plans/Plans/crypto_encr.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ Actions:
1515
Values:
1616
Parser: Regex
1717
Arguments:
18-
ArgString: TaPXtG+KCcNcY/dS8oy2xXtADwObuX1tCb16sLLCJlrbnUexSrTT7Syady98RGpRVRVsTbwXlriCvIAGheDXUMU2Th9gJgUC47K9Sm5bTbC9N97H583DjoC04HJxbZXflM7jYd4Jrst+Sv0qgPtvoH60zWojNT9o1lHaFspeGI0=
18+
ArgString: ghfpEyIFVhOExfTPcG0GhOTacbAw1Pi79ilxOEtIimD6zXTxkB+Nte/qFwRtvrw9nojoQhQPec9tiDlCyYMS5BRmkH7eQZZIvvklpV6cFc5XSDJYZJrJmKB5O9DZ5TF+hqn8Mhru5zM0F0sFiyfYuSckPlRtdbt/PVCR2SpWBxc=
1919
Expressions:
2020
- Find: ~~PARAMS~~
2121
ReplaceWith: foo
22-
Encoding: cYFjd/vQEe9ADD0/7dc12qVRS9EuF/Ni9p1lFTUCof8QKIwHEz4vCNEJmNArg8i7xOD1+RKM+M+XxGYpl3SsPE0cGlLmIBnaXpTGJT6YyBBunzsLYxSrOo+bAFWcNosEPtGLlZ7FDS+5gjZNntmim2nlfPyyKrqpYHsm+FbI8qE=
22+
Encoding: PNDHKH15xrPjmUWhVCG653S1lj/oZ7qZiiO1I+KHDYWQ6hEGoJKVcEGNulcZrT3ufEG9lMSWkMjhbE+uHUStynnKHhiehKm148f9GQb4DMJ75aiHZ8F8htsy0awGejlg6nDMky31NiKUfx8oYWpZq6N4ok4q7hQa3G4AigZFqqo=
2323
- Find: ~~1~~
2424
ReplaceWith:
2525
foo:
2626
bar:
2727
- v0: 0
28-
- v1: HFFCrGIoY04Yp3kORUTmszwQsadFhdufTxzvdbuWeBTtIQT1fLQVyXy0bBep/ouOa4HcXxwFXVAVUCI3zwSxWnA45i67TuvOucrS0AMUsM0JwNR8DBL2zQlUUS9d9BZPNWxDSWzMa0MVmN9qKijjf3TzR+Tc3hVrlepVC9AI2gY=
28+
- v1: vEijjZN2046p7nw2jaq9xJ5lVW/V1P3ooM/sfstbkGOOYFGlMaq5ntYB0ekR327sQSsgpNEVYXGm+zxyb0q2L1h4DrtdmhVn937MmPxSaHyxIQOfh1bmUe29dgLQlxyT8hegh8SCI4/7zVFmwGSsqPS7H5n/d3ErL/GqlLTGIug=
2929
Encoding: Base64
3030
- Find: ~~2~~
3131
ReplaceWith:
@@ -35,11 +35,12 @@ Actions:
3535
- v1: 1
3636
- bar:
3737
- v2: 2
38-
- v3: 3UN8EM+siRru9GctADXG5aosBATV4v9AjfEqf91GPnhYZ1wy+9wGrq3W/b5XyaH+5HLqcbhPIXOs/shst4HyYi+BzBcH2wzmf8sB1z1qGupY5VdJwEkM7plXaFA9T9Sw+cz1utlt4Rair/JMTrzqQOF+T341YVWG/7bwJ9ns9O4=
38+
- v3: beHwlQ+vudhMZQXPo3+znrnh996xzpDLO5DT0an59sHNyZ/vPy7njxTWvpj3yU3mYnMplVIgZUyoon241guyG9lHNnZd0kCSkbWHCUZrPcQfu/TUwOK2FkAi2jcvVH52Xa6vdk2R1P2k5exE0FmzD4gdhNq8zJvKd2xPojP81c8=
3939
Encoding: Base64
4040
Dynamic:
4141
- Name: jsonPayload
4242
Path: Arguments:Expressions[0]:ReplaceWith
43+
Options: []
4344
Crypto:
4445
KeyUri: C:\Devo\synapse\synapse.core.net\Synapse.UnitTests\Plans\crypto\pubPriv.xml
4546
KeyContainerName: foo
@@ -61,15 +62,15 @@ Actions:
6162
Values: >-
6263
<CXmlDoc>
6364
64-
<CNode0>k3I+7PtfSGkNzNY5elon+v1n2W7jYwnCN3/3Nnn8tdnZ74j9n7utuCj5xXfYvh4PhfiCS1goypBR3j9MVO+YuBXemCXBdARCzblYI9gf4x1d4DqArC/LI22qQfxD7nLkeRtcvK/a7Wi4Wd+vyYBI7b1NrsUOr5K5818OtBwC1OQ=</CNode0>
65+
<CNode0>evTVLgpWp2AVHnHk8R9AuEiDmz+Uh5H+67PqJx515uiMfQuS1YmWqw3+2qV5z3qS9JsD0mVOIZjsYq++sHXS58I/4bjaN9y0wj9rSGswaSbAzu9mqHkH8K7BUF8icva3T2FLhscsFe/N0vsTt7/3ViInpq7MtNATR27smaGFvxA=</CNode0>
6566
6667
<CNode1>CValue1_inline</CNode1>
6768
6869
<CNode3>
6970
70-
<CNode3_1 CAttr3_1="ayDEJH4Jb+o5DCQFEtnYSLcrdcKQi29gSnFznxZANMjMLZeeA0mFYfSQJCE/2INPP+KzzgHarB05Cduvu9Zp9coxBvyTKGGnLo7YmfRQ2hV0bHTF2fuYbdp3V9ImIwGNMFWxdtbDgyHSfUzAFYshFep98BY0OytwGA68NFqlZeQ=">CValue3_1_inline</CNode3_1>
71+
<CNode3_1 CAttr3_1="bXBmpJqz2Z9zlIYSHmuspsSPsAn4b7PSWnTQrPafG0jlXggjmykmm3g7Wrgk2kSLP4eFFTimWj2KS/3ZdK4JlZ5IvCeRqsHqjAxQo6n0F98fDaSZNlTo8+uF725eEyZGLPL/3MDPnzprqgx79EH2r5e2bpKIcD8r69Iu4+GC09Q=">CValue3_1_inline</CNode3_1>
7172
72-
<CNode3_2>tkvBygAVRKbtqAs+MIDikVhDh8axc1z75eTeg0TsjGIn+P5Jk5mat/4uhaYaLW0LCL/0xSWb7TMPbGLICCq4PfoicMtxQodlnDtxns71m3Ehasb2mNba9cs6z7c2+D0qRD6nkxhWRDZhopWBpvpFvN48pwWMNwEUWMD7Q3seWd4=</CNode3_2>
73+
<CNode3_2>0BSgygca61e9XZKhQezNvawkNGJDwmMDOAeCXprwDk91mfhoEEmCgkXtmBFMw9fIfaAxRK0d8K1KjY3b0M02KQEwTuboySj1+ZywpfIRtlNcNPJx639NMNSGqSAXZZ/x0aP1uo8olYEnYknqok11N69VGqWB5n7MVamk2HD4Bbc=</CNode3_2>
7374
7475
</CNode3>
7576
@@ -88,4 +89,4 @@ Crypto:
8889
Elements: []
8990
Errors: []
9091
StartInfo: {}
91-
LastModified: 5/8/2017 6:57:58 PM
92+
LastModified: 5/26/2017 7:30:12 AM

Synapse.UnitTests/Plans/Plans/executeCase_out.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description: Tests selection of ActionGroup/Actions based on Status match to Exe
33
Actions:
44
- Name: ac0
55
Handler:
6-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
6+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
77
Config: {}
88
StartInfo:
99
Parameters: >+
@@ -44,7 +44,7 @@ Actions:
4444
Values:
4545
ReturnStatus: Initializing
4646
Actions: []
47-
InstanceId: 2
47+
InstanceId: 3
4848
- Name: ac0.g
4949
ExecuteCase: Any
5050
Handler:
@@ -60,7 +60,7 @@ Actions:
6060
- Name: ac0.g.0
6161
ExecuteCase: Complete
6262
Handler:
63-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
63+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
6464
Config: {}
6565
StartInfo:
6666
Parameters: >+
@@ -75,11 +75,11 @@ Actions:
7575
Values:
7676
ReturnStatus: Failed
7777
Actions: []
78-
InstanceId: 4
78+
InstanceId: 5
7979
- Name: ac0.g.1
8080
ExecuteCase: Complete
8181
Handler:
82-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
82+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
8383
Config: {}
8484
StartInfo:
8585
Parameters: >+
@@ -94,14 +94,14 @@ Actions:
9494
Values:
9595
ReturnStatus: Waiting
9696
Actions: []
97-
InstanceId: 5
98-
InstanceId: 3
99-
InstanceId: 1
97+
InstanceId: 6
98+
InstanceId: 4
99+
InstanceId: 2
100100
Actions:
101101
- Name: ac0.1
102102
ExecuteCase: Complete
103103
Handler:
104-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
104+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
105105
Config: {}
106106
StartInfo:
107107
ParentExitData: EmptyHandler ExitData default value.
@@ -112,7 +112,7 @@ Actions:
112112
Actions:
113113
- Name: ac0.1.1
114114
Handler:
115-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
115+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
116116
Config: {}
117117
StartInfo:
118118
Parameters: >+
@@ -130,7 +130,7 @@ Actions:
130130
- Name: ac0.1.1.0
131131
ExecuteCase: Complete
132132
Handler:
133-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
133+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
134134
Config: {}
135135
StartInfo:
136136
Parameters: >+
@@ -145,12 +145,12 @@ Actions:
145145
Values:
146146
ReturnStatus: CompletedWithErrors
147147
Actions: []
148-
InstanceId: 8
149-
InstanceId: 7
150-
InstanceId: 6
148+
InstanceId: 9
149+
InstanceId: 8
150+
InstanceId: 7
151151
- Name: ac2
152152
Handler:
153-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
153+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
154154
Config: {}
155155
StartInfo:
156156
Parameters: >+
@@ -164,9 +164,9 @@ Actions:
164164
Values:
165165
ReturnStatus: CompletedWithErrors
166166
Actions: []
167-
InstanceId: 9
167+
InstanceId: 1
168168
StartInfo: {}
169169
Result:
170170
Status: Failed
171171
BranchStatus: Failed
172-
LastModified: 5/8/2017 6:57:58 PM
172+
LastModified: 5/26/2017 7:30:12 AM

Synapse.UnitTests/Plans/Plans/executeCase_signed.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: executeCase
22
Description: Tests selection of ActionGroup/Actions based on Status match to ExecuteCase
3-
DefaultHandlerType: Synapse.Core:Synapse.Handlers.EmptyHandler
3+
DefaultHandlerType: Synapse.Core:EmptyHandler
44
Actions:
55
- Name: ac0
66
Parameters:
@@ -75,5 +75,5 @@ Actions:
7575
ReturnStatus: CompletedWithErrors
7676
Actions: []
7777
StartInfo: {}
78-
LastModified: 5/8/2017 6:57:59 PM
79-
Signature: PZUhsxNIZHdgt6/PfEtphgaHnbT05PmDLbwWlaUglLVFDokJV7ZyaJCNrfNWImEsfTvilef7a7fjxLWQKu1T08EYqH6+Eyl7PflFK9uF7dok8hn5MRl8GUTEr/dztD/HvifuhCYTvY9c9CyP2R4q8aVdPV4h+lmpV8brFMgdEz8=
78+
LastModified: 5/26/2017 7:30:13 AM
79+
Signature: HSt/UeW+aZvGjJz0Z4RQtds5IMjYlZvfHzjen5ho8a6ifNCmDbdoawx2pDpWU1N02idlbqieZNNVOeCnFOSSLNXWuWe2TV5HRSc5CtgSf0zMuscVr+6iAZg0N6eXgIhsEEZHBqiNcfBg25SJOj6Plj6efisjNhhasGKeMYBV9xw=

Synapse.UnitTests/Plans/Plans/handlerLoadFail_out.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ StartInfo: {}
6262
Result:
6363
Status: Failed
6464
BranchStatus: Failed
65-
LastModified: 5/8/2017 6:57:58 PM
65+
LastModified: 5/26/2017 7:30:12 AM

Synapse.UnitTests/Plans/Plans/handlerLoad_out.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description: Load handlers with full or partial names. Hierarchy below to enabl
33
Actions:
44
- Name: FullName-Assembly:FullyQualifiedClassName
55
Handler:
6-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
6+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
77
Config: {}
88
StartInfo: {}
99
Result:
@@ -12,7 +12,7 @@ Actions:
1212
Actions:
1313
- Name: FullyQualifiedClassName
1414
Handler:
15-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
15+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
1616
Config: {}
1717
StartInfo:
1818
ParentExitData: EmptyHandler ExitData default value.
@@ -22,7 +22,7 @@ Actions:
2222
Actions:
2323
- Name: SimpleClassName
2424
Handler:
25-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
25+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
2626
Config: {}
2727
StartInfo:
2828
ParentExitData: EmptyHandler ExitData default value.
@@ -32,7 +32,7 @@ Actions:
3232
Actions:
3333
- Name: AbbreviatedClassName
3434
Handler:
35-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
35+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
3636
Config: {}
3737
StartInfo:
3838
ParentExitData: EmptyHandler ExitData default value.
@@ -42,7 +42,7 @@ Actions:
4242
Actions:
4343
- Name: NoHandlerSpecified-Use:Plan.DefaultHandlerType
4444
Handler:
45-
Type: Synapse.Handlers.EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
45+
Type: EmptyHandler, Synapse.Core, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6de1cc56b73f982
4646
Config: {}
4747
StartInfo:
4848
ParentExitData: EmptyHandler ExitData default value.
@@ -57,4 +57,4 @@ Actions:
5757
InstanceId: 10
5858
StartInfo: {}
5959
Result: {}
60-
LastModified: 5/8/2017 6:57:58 PM
60+
LastModified: 5/26/2017 7:30:12 AM

0 commit comments

Comments
 (0)