예제 #1
0
            public void UnauthorizedCore()
            {
                BaseAPI baseObj = new BaseAPI(Helper.GetUserName(), Helper.GetPassword(), Helper.GetCoreID() + "00");

                // test we can access the core by asking its name
                Assert.AreEqual(baseObj.GetCoreInfo().Name, Helper.GetCoreName());
            }
예제 #2
0
            public void CreateWithIDAndPassword()
            {
                BaseAPI baseObj = new BaseAPI(Helper.GetUserName(), Helper.GetPassword(), Helper.GetCoreID());

                // test we can access the core by asking its name
                Assert.AreEqual(baseObj.GetCoreInfo().Name, Helper.GetCoreName());
            }