public void ReturnTestRealNameActivateVlanID() { string TestName = "activate"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("activate", TestName); }
public void ReturnTestRealNameIP() { string TestName = "proxy-ip"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("ip", TestName); }
public void TestParseInObjectGetOpening() { List <string> FakeConfig = new List <string>() { "configure network", " network-dev 312", " name blub", " tagging untagged", " activate", " exit", " interface network-if 21", " name blab", " activate", " exit", "exit", "configure voip", " proxy-set 21", " proxy-name bleb", " activate", " exit", " proxy-ip 21/32", " proxy-address 1.2.4.1:blib", " activate", " exit", "exit" }; ACConfig TestAC = new Input2Object().ParseInTestObject(new StreamReader(GenerateStreamFromList(FakeConfig))); Assert.True(TestAC.configureNetwork.networkdev[0].tag.ToString() == "untagged"); Assert.True(TestAC.configureNetwork.networkdev[0].activate == true); Assert.True(TestAC.configureNetwork.interfacenetworkif[0].Name == "blab"); Assert.True(TestAC.configureviop.proxyset[0].activate == true); Assert.True(TestAC.configureviop.proxyip[0].proxyaddress == "1.2.4.1:blib"); }
public void ReturnTestRealNameProxyEnablekeepAlive() { string TestName = "proxy-enable-keep-alive"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("proxyenablekeepalive", TestName); }
public void ReturnTestRealNameDefault() { string TestName = "blub"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Null(TestName); }
public void ReturnTestRealNameName() { string TestName = "name"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("Name", TestName); }
public void ReturnTestRealNameApptype() { string TestName = "application-type"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("apptype", TestName); }
public void ReturnTestRealNameHotSwap() { string TestName = "is-proxy-hot-swap"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("isproxyhotswap", TestName); }
public void ReturnTestRealNameProxyBalancingMethode() { string TestName = "proxy-load-balancing-method"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("proxyloadbalancingmethod", TestName); }
public void ReturnTestRealNameSuccessint() { string TestName = "success-detect-int"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("successdetectint", TestName); }
public void ReturnTestRealNameProxyRedunadacyMode() { string TestName = "proxy-redundancy-mode"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("proxyredundancymode", TestName); }
public void ReturnTestRealNameListID() { string TestName = "network-dev"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("listid", TestName); }
public void ReturnTestRealNameKeepAliveFailResp() { string TestName = "keepalive-fail-resp"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("keepalivefailresp", TestName); }
public void ReturnTestRealNameSPCIV4() { string TestName = "sbcipv4-sip-int-name"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("sbcipv4sipintname", TestName); }
public void ReturnTestRealNameVlanID() { string TestName = "vlan-id"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("vlan", TestName); }
public void ReturnTestRealNameMinActive() { string TestName = "min-active-serv-lb"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("minactiveservlb", TestName); }
public void ReturnTestRealNameUnderlyingDev() { string TestName = "underlying-dev"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("underlyingdev", TestName); }
public void ReturnTestRealNameProxyAddress() { string TestName = "proxy-address"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("proxyaddress", TestName); }
public void ReturnTestRealNameTagging() { string TestName = "tagging"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("tag", TestName); }
public void ReturnTestRealNameTransportType() { string TestName = "transport-type"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("transporttype", TestName); }
public void ReturnTestRealNameIPAdress() { string TestName = "ip-address"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("ipaddress", TestName); }
public void ReturnTestRealNameGateway() { string TestName = "gateway"; TestName = new Input2Object().ReturnTestName(TestName); Assert.Contains("gateway", TestName); }