public void SoapServiceInsertCommunityTest() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.InsertMyCommunity("pavanipenmetsa55", 900, 4, "Condo", "creeks", "5110 rockhill rd", "Kansas city", "MO", "64110", "38.9760518", "-94.5960809"); Assert.Pass("info: Success insert", returnMsg); }
public void SoapServiceSelectTest() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.GetUserData("pavanipenmetsa", "Pavani-10"); Assert.Pass("info: user exists", returnMsg); }
public void SoapServiceSelectCommunityTest() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.selectCommunity("pavanipenmetsa1"); Assert.Pass("info: User not in MyCommunity", returnMsg); }
public void SoapServiceNoUserSelectTest() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.GetUserData("umkc1", "spring"); Assert.Pass("info: user not exists", returnMsg); }
public void SoapServiceInsertUtilBillTest() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.InsertUtilityBill("pavanipenmetsa55", "765", "April", 2014); Assert.Pass("info: Success insert", returnMsg); }
public void SoapServiceInsertTest() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.InsertUserData("umkc1000", "*****@*****.**", "Spring", "Spring","65th Street", "8164688902"); Assert.AreEqual("Success insert", returnMsg); }
public void SoapServiceCalRewardPoints() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); int returnMsg = ws.CalculateRewardPoints("pavanipenmetsa10", "765", "May", 2015); Assert.Pass("info: 3", returnMsg); }
public void SoapServiceCalnearComnRewardPoints() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.RewardPointsByCommunity("May", 2015); Assert.Pass("info: 3", returnMsg); }
public void SoapServiceCalComnRewardPoints() { SoapWebReference.WebService ws = new SoapWebReference.WebService(); string returnMsg = ws.CommunityRewardPoints("pavanipenmetsa10", "May", 2015); Assert.Pass("info: 3", returnMsg); }