コード例 #1
0
ファイル: PhotosSteps.cs プロジェクト: Reineke4/TEST
        public void WhenIGetTheOfTheFromReceivedPhoto()
        {
            ReceivedPhoto       receivedPhoto = ScenarioContext.Current.Get <ReceivedPhoto>(SolutionSharedSteps.CURRENT_PHOTO);
            HttpResponseMessage image         = DataManager.Receiver.CallGETWithPartialUrl(receivedPhoto.Url);

            ScenarioContext.Current[SolutionSharedSteps.CURRENT_RECEIVED_OBJECT] = image;
        }
コード例 #2
0
ファイル: PhotosSteps.cs プロジェクト: Reineke4/TEST
        public void WhenICallGETForPhotosWithIdOf(string photoId)
        {
            ReceivedPhoto receivedPhoto = DataManager.Receiver.CallGETById <ReceivedPhoto>(photoId);

            ScenarioContext.Current[SolutionSharedSteps.CURRENT_PHOTO] = receivedPhoto;
        }