Exemple #1
0
        public void AddComment(int bugId, string commentText, string createDate, string ownerEmail)
        {
            var comment = new long_desc {
                thetext = commentText, bug_when = createDate, who = ownerEmail
            };

            ObjectFactory.GetInstance <BugzillaServiceMock>().Bugs.AddComment(bugId, comment);
        }
Exemple #2
0
        public void AddComment(int bugId, long_desc comment)
        {
            SetBugDescription(bugId, "description");

            var bug = GetById(bugId);

            bug.long_descCollection.Add(comment);
        }
 public BugzillaComment(long_desc comment)
 {
     Body      = comment.thetext;
     Author    = comment.who;
     DateAdded = comment.bug_when;
 }