Produced by Araxis Merge on 9/9/2019 5:42:10 PM Eastern Daylight 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 | Webvram-v4.zip\20190725-webvram-source.zip\Sources\VistaRPCClient.NET\VistaRPCClient.Tests\Procedures\XUS | SignonSetupUnitTest1.cs | Tue Jul 23 23:11:38 2019 UTC |
2 | Webvram-v4.zip\20190725-webvram-source.zip\Sources\VistaRPCClient.NET\VistaRPCClient.Tests\Procedures\XUS | SignonSetupUnitTest1.cs | Fri Sep 6 20:13:30 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 92 |
Changed | 1 | 2 |
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 Syst em.Securit y; | |
3 | using Micr osoft.Visu alStudio.T estTools.U nitTesting ; | |
4 | ||
5 | namespace Vista.RPC. Procedures .XUS | |
6 | { | |
7 | [TestC lass] | |
8 | public class Sig nonSetupUn itTest1 : BaseRpcTes t | |
9 | { | |
10 | [T estMethod] | |
11 | pu blic void TestMethod 1() | |
12 | { | |
13 | const st ring VRAM_ KEY = "It' s better t o light a candle tha n curse th e the dark ness"; | |
14 | SecureSt ring bseTo ken; | |
15 | ||
16 | var rpcC lient = Co nnectAndLo gin(); | |
17 | ||
18 | var divi sion = new DivisionG et(); | |
19 | rpcClien t.Call(div ision); | |
20 | ||
21 | var rpc = new Visi torSet(); | |
22 | rpcClien t.Call(rpc ); | |
23 | ||
24 | Assert.I sTrue(rpc. GetVisitor Token() != null); | |
25 | Assert.I sTrue(rpc. GetVisitor Token().Le ngth > 0); | |
26 | Console. WriteLine( "BSE token : " + rpc. GetVisitor Token()); | |
27 | bseToken = rpc.Get VisitorTok en().ToSec ureString( ); | |
28 | ||
29 | rpcClien t.Disconne ct(); | |
30 | ||
31 | var logg er = RpcLo gging.Crea teLogger<R pcClient>( ); | |
32 | rpcClient = new RpcC lient(logg er, " DN S
|
|
33 | rpcClien t.Connect( ); | |
34 | ||
35 | var sign on = new S ignonSetup (VRAM_KEY. ToSecureSt ring(), bs eToken); | |
36 | rpcClien t.Call(sig non); | |
37 | ||
38 | Console. WriteLine( signon.Res ponse); | |
39 | ||
40 | var toke n = new To kenGet(); | |
41 | rpcClien t.Call(tok en); | |
42 | ||
43 | Console. WriteLine( token.Toke n); | |
44 | } | |
45 | ||
46 | } | |
47 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.