Exemple #1
0
        public void SBQueue2SBQueue_VerifyReplayFunctionForm()
        {
            ReplayFunctionPage page = GetReplayPage(ServiceBusArgumentsDisplayFunctions.SBQueue2SBQueueMethodInfo);

            Collection <FormElement> parameters = page.GetParameters();

            Assert.Equal(2, parameters.Count);

            FormElement element = parameters[0];

            Assert.Equal("start Enter the queue message body", element.Label);
            Assert.Equal("E2E", element.InputValue);

            element = parameters[1];
            Assert.Equal("message Enter the output entity name", element.Label);
            Assert.Equal("servicebus-output1", element.InputValue);
        }
Exemple #2
0
        public void SBTopicListener_VerifyReplayFunctionForm()
        {
            ReplayFunctionPage page = GetReplayPage(ServiceBusArgumentsDisplayFunctions.SBTopicListenerMethodInfo);

            Collection <FormElement> parameters = page.GetParameters();

            Assert.Equal(2, parameters.Count);

            FormElement element = parameters[0];

            Assert.Equal("message Enter the queue message body", element.Label);
            Assert.Equal("E2E-SBQueue2SBQueue-SBQueue2SBTopic", element.InputValue);

            element = parameters[1];
            Assert.Equal("done Enter the output queue name", element.Label);
            Assert.Equal("queue-done", element.InputValue);
        }