public void ActorCommentExtremeLatest() { ActorComment NewActorComment = new ActorComment(); Boolean valid = false; int ActorCommentId = 1; string username = new string('A', ActorComment.textMidLength); DateTime datePosted = DateTime.Today.AddDays(+1000); string comment = new string('A', ActorComment.textMidLength); valid = NewActorComment.Valid(ActorCommentId, username, datePosted, comment); }
public void ActorCommentExtremeEarliestDate() { ActorComment NewActorComment = new ActorComment(); Boolean valid = false; int ActorCommentId = 1; string username = new string('A', ActorComment.textMidLength); DateTime datePosted = ActorComment.earliestDate; string comment = new string('A', ActorComment.textMidLength); valid = NewActorComment.Valid(ActorCommentId, username, datePosted, comment); }
public void ActorCommentommentExtremeMinimumLength() { ActorComment NewActorComment = new ActorComment(); Boolean valid = false; int ActorCommentId = 1; string username = new string('A', ActorComment.textMidLength); DateTime datePosted = DateTime.Today; string comment = new string('A', ActorComment.textExtremeMin); valid = NewActorComment.Valid(ActorCommentId, username, datePosted, comment); }
public void ActorCommentUsernameMinimumPlusOne() { ActorComment NewActorComment = new ActorComment(); Boolean valid = false; int ActorCommentId = 1; string username = new string('A', ActorComment.textMinimumLength + 1); DateTime datePosted = DateTime.Today; string comment = new string('A', ActorComment.textMidLength); valid = NewActorComment.Valid(ActorCommentId, username, datePosted, comment); Assert.IsTrue(valid); }