예제 #1
0
        public void Tc011()
        {
            var collection = GetCurrentUserCollection();

            // Find a random wrap
            var wrapToGo = collection.GetRandomWrap();
            var wtId     = wrapToGo.WtId;

            StfAssert.IsNotNull("Got a random wrap", wrapToGo);

            var anotherUser    = GetAnotherUser(WrapTrackShell);
            var ownershipStart = WtTestscriptUtils.TodayPlusDays(2, "yyyy-MM-dd");
            var passOn         = wrapToGo.PassOn(anotherUser, ownershipStart);

            StfAssert.IsTrue("PassedOn", passOn);
            StfAssert.IsTrue("PassedOn Validated", ValidatePassOn(wtId, anotherUser));
            StfAssert.IsTrue("Dummy (waiting for bug #24)", true);
        }
예제 #2
0
 public void TestInitialize()
 {
     WrapTrackShell    = this.Get <IWrapTrackWebShell>();
     wtTestscriptUtils = new WtTestscriptUtils(StfLogger);
 }