Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewsEntryCarrierEvaluation"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public NewsEntryCarrierEvaluation(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
     HeaderText   = "Not implemented yet";
     WrapText     = "Not implemented yet";
     CriteriaText = "Not implemented yet";
 }
        public void TestInitialize()
        {
            wrapTrackShell = Get <IWrapTrackWebShell>();

            // Use default user
            wrapTrackShell.Login();
        }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewsEntryCarrierReview"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public NewsEntryCarrierReview(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
     HeaderText = "Not implemented yet";
     WrapText   = "Not implemented yet";
     ReviewText = "Not implemented yet";
 }
        /// <summary>
        /// The get add carrier.
        /// </summary>
        /// <param name="wrapTrackShell">
        /// The wrap track shell.
        /// </param>
        /// <param name="carrierType">
        /// The carrier type.
        /// </param>
        /// <returns>
        /// The <see cref="ICarrierBase"/>.
        /// </returns>
        public ICarrierBase GetAddCarrier(IWrapTrackWebShell wrapTrackShell, string carrierType)
        {
            var me         = wrapTrackShell.Me();
            var collection = me.GetCollection();
            var addCarrier = GetCarrierBySelectType(collection, carrierType);

            return(addCarrier);
        }
        /// <summary>
        /// The get another user.
        /// </summary>
        /// <param name="wrapTrackWebShell">
        /// The wrap Track Web Shell.
        /// </param>
        /// <returns>
        /// The <see cref="string"/>.
        /// </returns>
        protected string GetAnotherUser(IWrapTrackWebShell wrapTrackWebShell = null)
        {
            var currentShell = wrapTrackWebShell ?? WrapTrackShell;
            var currentUser  = currentShell.CurrentLoggedInUser;
            var retVal       = "mie88";

            if (currentUser.Equals("mie88", StringComparison.InvariantCultureIgnoreCase))
            {
                retVal = "ida88";
            }

            return(retVal);
        }
        /// <summary>
        /// The get current user collection.
        /// </summary>
        /// <param name="wrapTrackShell">
        /// The wrap track shell.
        /// </param>
        /// <param name="addIfNone">
        /// The add If None.
        /// </param>
        /// <returns>
        /// The <see cref="bool"/>.
        /// </returns>
        protected ICollection GetCurrentUserCollection(
            IWrapTrackWebShell wrapTrackShell,
            bool addIfNone = true)
        {
            var me = wrapTrackShell.Me();

            StfAssert.IsNotNull("Got a MeProfile", me);

            var collection = me.GetCollection();

            StfAssert.IsNotNull("Got my collection", collection);

            // Be sure there is a wrap in collection. If requested
            if (addIfNone && collection.NumOfWraps() == 0)
            {
                collection.AddWrap("Ali Dover", "Hygge", "Blue");

                // ensure we always are at Collection when done - as we would if not adding a wrap
                me         = wrapTrackShell.Me();
                collection = me.GetCollection();
            }

            return(collection);
        }
Esempio n. 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StretchyWrap"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public StretchyWrap(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExplorePatterns"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public ExplorePatterns(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MeSettings"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public MeSettings(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Wrap"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public Wrap(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FullBuckleMeiTai"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public FullBuckleMeiTai(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RingSling"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public RingSling(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NewsEntryCarrierForSale"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public NewsEntryCarrierForSale(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
     HeaderText      = "Not implemented yet";
     this.StatusText = "Not implemented yet";
 }
Esempio n. 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Collection"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public Collection(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MeiTai"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public MeiTai(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Kanga"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public Kanga(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Patterns"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public Patterns(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Other"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public Other(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddCarrier"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public AddCarrier(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MeInbox"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public MeInbox(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuckleOnbuhimo"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public BuckleOnbuhimo(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExploreModels"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public ExploreModels(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HalfBuckleWrapTai"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public HalfBuckleWrapTai(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Brand"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public Brand(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 25
0
 public void TestInitialize()
 {
     wrapTrackShell = Get <IWrapTrackWebShell>();
     menuMananger   = new MenuManager(wrapTrackShell.WebAdapter);
 }
Esempio n. 26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExploreUsers"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public ExploreUsers(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReverseOnbuhimo"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public ReverseOnbuhimo(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CarrierBaseClass"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public CarrierBaseClass(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 29
0
 /// <inheritdoc />
 public Review(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }
Esempio n. 30
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HybridWrap"/> class.
 /// </summary>
 /// <param name="wrapTrackWebShell">
 /// The wrap track web shell.
 /// </param>
 public HybridWrap(IWrapTrackWebShell wrapTrackWebShell)
     : base(wrapTrackWebShell)
 {
 }