Ejemplo n.º 1
0
 public PublishRideTests()
 {
     this.ride = new PublishRide();
 }
Ejemplo n.º 2
0
 public MyRidesTets()
 {
     this.request = new PostRequest();
     this.ride = new PublishRide();
 }
        public void PublishRide(PublishRide ride)
        {
            this.UIMap.PublishRideParams.UIPublishInputEditText = ride.source;
            this.UIMap.PublishRideParams.UIPublishInputEdit11Text = ride.destination;

            this.UIMap.PublishRideParams.UIDateEdit2Text = ride.date;
            this.UIMap.PublishRideParams.UIPublishFromTimeInputEditText = ride.fromTime;
            this.UIMap.PublishRideParams.UIPublishToTimeInputEditText = ride.toTime;

            this.UIMap.PublishRideParams.UIPostInputEdit2Text = ride.maxPassengers;
            this.UIMap.PublishRideParams.UIPublishInputEdit2Text = ride.price;

            this.UIMap.PublishRide(ride.smoking);
        }