Example #1
0
 public MyRidesTets()
 {
     this.request = new PostRequest();
     this.ride = new PublishRide();
 }
 public PostRequestTests()
 {
     this.request = new PostRequest();
 }
        public void PostRequest(PostRequest request)
        {
            var args = this.UIMap.PostRequestParams;

            args.UIPostInputEditText = request.source;
            args.UIPostInputEdit1Text = request.destination;

            args.UIYesRadioButton1Selected = true;
            args.UINORadioButton1Selected = true;
            args.UIDontcareRadioButton1Selected = true;

            args.UIBigbagRadioButton1Selected = true;
            args.UINoneSmallbagRadioButton1Selected = true;

            args.UIDateEdit1Text = request.date;
            args.UIPostFromTimeInputEdit1Text = request.fromTime;
            args.UIPostToTimeInputEdit1Text = request.toTime;

            this.UIMap.PostRequest(request.smoking, request.bags);
        }