source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/BMX41000/IHS BMX Framework/IndianHealthService.BMXNet.Test/LoginTestSuite.cs@ 1222

Last change on this file since 1222 was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 2.8 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using NUnit.Framework;
5using System.Data;
6
7namespace IndianHealthService.BMXNet.Tests
8{
9
10 /// <summary>
11 /// BMX ADO SS^BMX TEST FILE^^~~~~~
12 ///
13 /// </summary>
14 ///
15
16 public class LoginTestSuite : BmxValidUserTestSuite
17 {
18 /*
19
20 [Test]
21 public void LoginAutoServerManualAccessVerify()
22 {
23 BMXBroker Broker;
24 BMXNetConnectInfo connectInfo = new BMXNetConnectInfo();
25 connectInfo.ChangeServerInfo();
26 connectInfo.LoadConnectInfo("greg4330", "ira-4330");
27
28 if (connectInfo.UserDivisions.Rows.Count > 1)
29 {
30 connectInfo.ChangeDivision(null);
31 }
32 connectInfo.AppContext = "AMHGRPC";
33
34 Broker = connectInfo.bmxBroker;
35 Broker.ReceiveTimeout = 999999;
36 Broker.RWLTimeout = 9999999;
37 String DUZ = connectInfo.DUZ;
38 String DUZ2 = connectInfo.DUZ2;
39 String sDivisionName = connectInfo.DivisionName;
40 String sConnectionString = connectInfo.GetDSN("AMHGRPC");
41 }
42
43 [Test]
44 public void LoginAutoServerAutoAccessVerify()
45 {
46 BMXBroker Broker;
47 BMXNetConnectInfo connectInfo = new BMXNetConnectInfo();
48 connectInfo.ChangeServerInfo();
49 connectInfo.LoadConnectInfo();
50
51 if (connectInfo.UserDivisions.Rows.Count > 1)
52 {
53 connectInfo.ChangeDivision(null);
54 }
55 connectInfo.AppContext = "AMHGRPC";
56
57 Broker = connectInfo.bmxBroker;
58 Broker.ReceiveTimeout = 999999;
59 Broker.RWLTimeout = 9999999;
60 String DUZ = connectInfo.DUZ;
61 String DUZ2 = connectInfo.DUZ2;
62 String sDivisionName = connectInfo.DivisionName;
63 String sConnectionString = connectInfo.GetDSN("AMHGRPC");
64 }
65
66 [Test]
67 public void BehaviorialHealthLoginScript()
68 {
69
70 BMXBroker Broker;
71 BMXNetConnectInfo connectInfo = new BMXNetConnectInfo();
72 connectInfo.ChangeServerInfo();
73 connectInfo.LoadConnectInfo();
74
75 if (connectInfo.UserDivisions.Rows.Count > 1)
76 {
77 connectInfo.ChangeDivision(null);
78 }
79 connectInfo.AppContext = "AMHGRPC";
80
81 Broker = connectInfo.bmxBroker;
82 Broker.ReceiveTimeout = 999999;
83 Broker.RWLTimeout = 9999999;
84 String DUZ = connectInfo.DUZ;
85 String DUZ2 = connectInfo.DUZ2;
86 String sDivisionName = connectInfo.DivisionName;
87 String sConnectionString = connectInfo.GetDSN("AMHGRPC");
88
89
90 }
91 */
92
93 }
94}
Note: See TracBrowser for help on using the repository browser.