Produced by Araxis Merge on 11/5/2018 10:30:00 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | CRM_PE_OCT.zip\Integrations\UnitTests | IrisUnitTests.cs | Thu Sep 27 22:21:18 2018 UTC |
2 | CRM_PE_OCT.zip\Integrations\UnitTests | IrisUnitTests.cs | Mon Nov 5 02:45:26 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 104 |
Changed | 2 | 6 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | using Syst em; | |
2 | using Micr osoft.Visu alStudio.T estTools.U nitTesting ; | |
3 | using VIMT .VeteranWe bService.M essages; | |
4 | using Iris .VEFT.Mess ages; | |
5 | using VRM. Integratio n.Serviceb us.Core; | |
6 | using VRMR est.WebApi ; | |
7 | ||
8 | namespace IRISUnitTe sts | |
9 | { | |
10 | [TestC lass] | |
11 | public class IRI SIntegrati onTest | |
12 | { | |
13 | private st atic strin g onPremis eVIMTDACSt ring = "ht tps:// URL /INT/VEFT/ VINEXT"; / /VINeXt on BAH, thro ugh LB/RP - http | |
14 | pr ivate stat ic WebServ iceDetails _OnPremDA Cwsd = nul l; | |
15 | pr ivate stat ic Uri _on PremDACUri = null; | |
16 | ||
17 | #r egion Init ialize | |
18 | [T estInitial ize] | |
19 | pu blic void IRISInitia lize() | |
20 | { | |
21 | _onPremD ACUri = ne w Uri(onPr emiseVIMTD ACString); | |
22 | ||
23 | _OnPremD ACwsd = ne w WebServi ceDetails( ) | |
24 | { | |
25 | Targ etURL = on PremiseVIM TDACString , | |
26 | WSUserName = " AI ", | |
27 | Password = "
|
|
28 | }; | |
29 | } | |
30 | #e ndregion I nitialize | |
31 | ||
32 | [T estMethod] | |
33 | pu blic void TestIrisCr eate() | |
34 | { | |
35 | var req = new Iris CreateInte ractionReq uest() | |
36 | { | |
37 | inci dentNumber = "12345" , | |
38 | cont actDate = "11/11/201 7", | |
39 | firs tName = "B ob", | |
40 | inst itution = "699", | |
41 | issu eText = "I had a pro blem!", | |
42 | last Name = "Ho pe", | |
43 | Mess ageId = Gu id.NewGuid ().ToStrin g(), | |
44 | meth odOfContac t = "Phone ", | |
45 | meth odOfContac tData = "1 23-123-123 4", | |
46 | orga nizationNa me = "ftp" , | |
47 | rela tionToVet = "Father" , | |
48 | ssn = "1231231 23" | |
49 | }; | |
50 | var res = WebApiUt ility.Send Receive<Ir isCreateIn teractionR esponse>(_ onPremDACU ri, "IrisC reateInter actionRequ est", req, null, _On PremDACwsd ); | |
51 | //var re s = req.Se ndReceive< CreateInte ractionRes ponse>(Mes sageProces sType.Loca l); | |
52 | var test = res.Mes sageId; | |
53 | } | |
54 | } | |
55 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.