-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make body-less messages work, specifically 35=n
* Change DataDictionary class to also check the tag 35 enum when determining if msg type is valid * Put some null-protection around calls to DataDictionary.Message [] accessor * ATs of course * Renamed 35=n to "XML_NON_FIX" in the tag 35 enum in all DD xmls
- Loading branch information
1 parent
9e7f0aa
commit 88e09ad
Showing
16 changed files
with
170 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
AcceptanceTest/definitions/server/fix43/ReceiveXmlMessage.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Engine can receive complex type 'n' messages | ||
# and is not confused if the xml content contains SOH or FIX tags | ||
|
||
iCONNECT | ||
I8=FIX.4.335=A34=149=TW52=<TIME>56=ISLD98=0108=6 | ||
E8=FIX.4.335=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=610=0 | ||
|
||
# Receive encapsulated ExecutionReport and get News response. | ||
# (Need the News response to ensure that FIX parses it and passes it up to the app; | ||
# without this response, the test will false pass) | ||
I8=FIX.4.335=n34=249=TW52=<TIME>56=ISLD212=55213=<RTRF>8=FIX.4.39=37735=834=208blah blah blah</RTRF> | ||
E8=FIX.4.335=B34=249=ISLD52=00000000-00:00:00.00056=TW33=0148=Successfully received 'n' message with seqNo=210=0 | ||
|
||
# logout message and response | ||
I8=FIX.4.335=534=349=TW52=<TIME>56=ISLD | ||
E8=FIX.4.335=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
eDISCONNECT | ||
|
18 changes: 18 additions & 0 deletions
18
AcceptanceTest/definitions/server/fix44/ReceiveXmlMessage.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Engine can receive complex type 'n' messages | ||
# and is not confused if the xml content contains SOH or FIX tags | ||
|
||
iCONNECT | ||
I8=FIX.4.435=A34=149=TW52=<TIME>56=ISLD98=0108=6 | ||
E8=FIX.4.435=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=610=0 | ||
|
||
# Receive encapsulated ExecutionReport and get News response. | ||
# (Need the News response to ensure that FIX parses it and passes it up to the app; | ||
# without this response, the test will false pass) | ||
I8=FIX.4.435=n34=249=TW52=<TIME>56=ISLD212=55213=<RTRF>8=FIX.4.39=37735=834=208blah blah blah</RTRF> | ||
E8=FIX.4.435=B34=249=ISLD52=00000000-00:00:00.00056=TW33=0148=Successfully received 'n' message with seqNo=210=0 | ||
|
||
# logout message and response | ||
I8=FIX.4.435=534=349=TW52=<TIME>56=ISLD | ||
E8=FIX.4.435=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
eDISCONNECT | ||
|
18 changes: 18 additions & 0 deletions
18
AcceptanceTest/definitions/server/fix50/ReceiveXmlMessage.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Engine can receive complex type 'n' messages | ||
# and is not confused if the xml content contains SOH or FIX tags | ||
|
||
iCONNECT | ||
I8=FIXT.1.135=A34=149=TW52=<TIME>56=ISLD98=0108=61137=7 | ||
E8=FIXT.1.135=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=61137=710=0 | ||
|
||
# Receive encapsulated ExecutionReport and get News response. | ||
# (Need the News response to ensure that FIX parses it and passes it up to the app; | ||
# without this response, the test will false pass) | ||
I8=FIXT.1.135=n34=249=TW52=<TIME>56=ISLD212=55213=<RTRF>8=FIX.4.39=37735=834=208blah blah blah</RTRF> | ||
E8=FIXT.1.135=B34=249=ISLD52=00000000-00:00:00.00056=TW33=0148=Successfully received 'n' message with seqNo=210=0 | ||
|
||
# logout message and response | ||
I8=FIXT.1.135=534=349=TW52=<TIME>56=ISLD | ||
E8=FIXT.1.135=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
eDISCONNECT | ||
|
18 changes: 18 additions & 0 deletions
18
AcceptanceTest/definitions/server/fix50sp1/ReceiveXmlMessage.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Engine can receive complex type 'n' messages | ||
# and is not confused if the xml content contains SOH or FIX tags | ||
|
||
iCONNECT | ||
I8=FIXT.1.135=A34=149=TW52=<TIME>56=ISLD98=0108=61137=8 | ||
E8=FIXT.1.135=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=61137=810=0 | ||
|
||
# Receive encapsulated ExecutionReport and get News response. | ||
# (Need the News response to ensure that FIX parses it and passes it up to the app; | ||
# without this response, the test will false pass) | ||
I8=FIXT.1.135=n34=249=TW52=<TIME>56=ISLD212=55213=<RTRF>8=FIX.4.39=37735=834=208blah blah blah</RTRF> | ||
E8=FIXT.1.135=B34=249=ISLD52=00000000-00:00:00.00056=TW33=0148=Successfully received 'n' message with seqNo=210=0 | ||
|
||
# logout message and response | ||
I8=FIXT.1.135=534=349=TW52=<TIME>56=ISLD | ||
E8=FIXT.1.135=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
eDISCONNECT | ||
|
18 changes: 18 additions & 0 deletions
18
AcceptanceTest/definitions/server/fix50sp2/ReceiveXmlMessage.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Engine can receive complex type 'n' messages | ||
# and is not confused if the xml content contains SOH or FIX tags | ||
|
||
iCONNECT | ||
I8=FIXT.1.135=A34=149=TW52=<TIME>56=ISLD98=0108=61137=9 | ||
E8=FIXT.1.135=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=61137=910=0 | ||
|
||
# Receive encapsulated ExecutionReport and get News response. | ||
# (Need the News response to ensure that FIX parses it and passes it up to the app; | ||
# without this response, the test will false pass) | ||
I8=FIXT.1.135=n34=249=TW52=<TIME>56=ISLD212=55213=<RTRF>8=FIX.4.39=37735=834=208blah blah blah</RTRF> | ||
E8=FIXT.1.135=B34=249=ISLD52=00000000-00:00:00.00056=TW33=0148=Successfully received 'n' message with seqNo=210=0 | ||
|
||
# logout message and response | ||
I8=FIXT.1.135=534=349=TW52=<TIME>56=ISLD | ||
E8=FIXT.1.135=534=349=ISLD52=00000000-00:00:00.00056=TW10=0 | ||
eDISCONNECT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters