コード例 #1
0
        public void InvokeCoreNodeStatusWithNonGenericHelperAndEntitySetNameAndTypeSucceeds()
        {
            // Arrange
            var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);

            svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

            // Act
            var result = svc.InvokeEntityActionWithSingleResult("Nodes", CoreTest.nodeId, "Status", typeof(Job), null);

            // Assert
            Assert.IsNotNull(result);
        }
コード例 #2
0
        public void InvokeCoreNodeStatusWithNonGenericHelperAndEntityAndObjectSucceeds()
        {
            // Arrange
            var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);

            svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

            // Act
            var result = svc.InvokeEntityActionWithSingleResult(new Node()
            {
                Id = CoreTest.nodeId
            }, "Status", new Job(), null);

            // Assert
            Assert.IsNotNull(result);
        }
コード例 #3
0
        public void InvokeCoreNodeStatusWithNonGenericHelperAndEntityAndTypeSucceeds()
        {
            // Arrange
            var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);
            svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

            // Act
            var result = svc.InvokeEntityActionWithSingleResult(new Node() { Id = CoreTest.nodeId }, "Status", typeof(Job), null);

            // Assert
            Assert.IsNotNull(result);
        }
コード例 #4
0
        public void InvokeCoreNodeStatusWithNonGenericHelperAndEntitySetNameAndObjectSucceeds()
        {
            // Arrange
            var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);
            svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

            // Act
            var result = svc.InvokeEntityActionWithSingleResult("Nodes", CoreTest.nodeId, "Status", new Job(), null);

            // Assert
            Assert.IsNotNull(result);
        }