Example #1
0
        private static D.ScrumTeam CreateBasicTeam()
        {
            var result = new D.ScrumTeam(TeamName);

            result.SetScrumMaster(ScrumMasterName);
            return(result);
        }
Example #2
0
        private static Mock <D.IScrumTeamLock> CreateTeamLock(D.ScrumTeam scrumTeam)
        {
            var result = new Mock <D.IScrumTeamLock>(MockBehavior.Strict);

            result.Setup(l => l.Team).Returns(scrumTeam);
            result.Setup(l => l.Lock()).Verifiable();
            result.Setup(l => l.Dispose()).Verifiable();
            return(result);
        }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScrumMaster"/> class.
 /// </summary>
 /// <param name="team">The Scrum team the observer is joining.</param>
 /// <param name="memberData">The member serialization data.</param>
 internal ScrumMaster(ScrumTeam team, Serialization.MemberData memberData)
     : base(team, memberData)
 {
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScrumMaster"/> class.
 /// </summary>
 /// <param name="team">The Scrum team, the the master is joining.</param>
 /// <param name="name">The Scrum master name.</param>
 public ScrumMaster(ScrumTeam team, string name)
     : base(team, name)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Member"/> class.
 /// </summary>
 /// <param name="team">The Scrum team, the member is joining.</param>
 /// <param name="name">The member name.</param>
 public Member(ScrumTeam team, string name)
     : base(team, name)
 {
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Member"/> class.
 /// </summary>
 /// <param name="team">The Scrum team the observer is joining.</param>
 /// <param name="memberData">The member serialization data.</param>
 internal Member(ScrumTeam team, Serialization.MemberData memberData)
     : base(team, memberData)
 {
     _estimation = memberData.Estimation;
 }