コード例 #1
0
        public void GetSlidesTheme()
        {
            GeneralTestExecutor <GetSlidesThemeRequest, ThemeResponse> testExecutor =
                new GeneralTestExecutor <GetSlidesThemeRequest, ThemeResponse>("GetSlidesTheme");
            GetSlidesThemeRequest request  = testExecutor.PrepareRequest();
            ThemeResponse         response = null;
            bool needAssertResponse        = false;

            try
            {
                response           = m_instance.GetSlidesTheme(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
コード例 #2
0
        public void DeleteNotesSlide()
        {
            GeneralTestExecutor <DeleteNotesSlideRequest, SlideResponse> testExecutor =
                new GeneralTestExecutor <DeleteNotesSlideRequest, SlideResponse>("DeleteNotesSlide");
            DeleteNotesSlideRequest request  = testExecutor.PrepareRequest();
            SlideResponse           response = null;
            bool needAssertResponse          = false;

            try
            {
                response           = m_instance.DeleteNotesSlide(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
        public void PutLayoutSlide()
        {
            GeneralTestExecutor <PutLayoutSlideRequest, LayoutSlideResponse> testExecutor =
                new GeneralTestExecutor <PutLayoutSlideRequest, LayoutSlideResponse>("PutLayoutSlide");
            PutLayoutSlideRequest request  = testExecutor.PrepareRequest();
            LayoutSlideResponse   response = null;
            bool needAssertResponse        = false;

            try
            {
                response           = m_instance.PutLayoutSlide(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
        public void PostCopyLayoutSlideFromSourcePresentation()
        {
            GeneralTestExecutor <PostCopyLayoutSlideFromSourcePresentationRequest, LayoutSlideResponse> testExecutor =
                new GeneralTestExecutor <PostCopyLayoutSlideFromSourcePresentationRequest, LayoutSlideResponse>("PostCopyLayoutSlideFromSourcePresentation");
            PostCopyLayoutSlideFromSourcePresentationRequest request = testExecutor.PrepareRequest();
            LayoutSlideResponse response = null;
            bool needAssertResponse      = false;

            try
            {
                response           = m_instance.PostCopyLayoutSlideFromSourcePresentation(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
コード例 #5
0
        public void PostSlidesSlideReplaceText()
        {
            GeneralTestExecutor <PostSlidesSlideReplaceTextRequest, SlideStringReplaceResponse> testExecutor =
                new GeneralTestExecutor <PostSlidesSlideReplaceTextRequest, SlideStringReplaceResponse>("PostSlidesSlideReplaceText");
            PostSlidesSlideReplaceTextRequest request  = testExecutor.PrepareRequest();
            SlideStringReplaceResponse        response = null;
            bool needAssertResponse = false;

            try
            {
                response           = m_instance.PostSlidesSlideReplaceText(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
コード例 #6
0
        public void PostSlidesSetDocumentProperties()
        {
            GeneralTestExecutor <PostSlidesSetDocumentPropertiesRequest, DocumentPropertiesResponse> testExecutor =
                new GeneralTestExecutor <PostSlidesSetDocumentPropertiesRequest, DocumentPropertiesResponse>("PostSlidesSetDocumentProperties");
            PostSlidesSetDocumentPropertiesRequest request  = testExecutor.PrepareRequest();
            DocumentPropertiesResponse             response = null;
            bool needAssertResponse = false;

            try
            {
                response           = m_instance.PostSlidesSetDocumentProperties(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
コード例 #7
0
        public void GetNotesSlideWithFormat()
        {
            GeneralTestExecutor <GetNotesSlideWithFormatRequest, System.IO.Stream> testExecutor =
                new GeneralTestExecutor <GetNotesSlideWithFormatRequest, System.IO.Stream>("GetNotesSlideWithFormat");
            GetNotesSlideWithFormatRequest request = testExecutor.PrepareRequest();

            System.IO.Stream response           = null;
            bool             needAssertResponse = false;

            try
            {
                response           = m_instance.GetNotesSlideWithFormat(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }