public void AddComment(string albumid, string photoid, string comment) { Uri postUri = new Uri(PicasaQuery.CreatePicasaUri("default", albumid, photoid)); CommentEntry entry = new CommentEntry(); entry.Content.Content = comment; PicasaEntry createdEntry = (PicasaEntry)service.Insert(postUri, entry); }
public void PhotoIdTest() { PicasaEntry entry = new CommentEntry(); CommentAccessor target = new CommentAccessor(entry); // TODO: Initialize to an appropriate value string expected = "TestValue"; string actual; target.PhotoId = expected; actual = target.PhotoId; Assert.AreEqual(expected, actual); }
public void AlbumIdTest() { PicasaEntry entry = new CommentEntry(); CommentAccessor target = new CommentAccessor(entry); string expected = "TestValue"; string actual; target.AlbumId = expected; actual = target.AlbumId; Assert.AreEqual(expected, actual); }
public void CommentAccessorConstructorTest() { PicasaEntry entry = new CommentEntry(); CommentAccessor target = new CommentAccessor(entry); Assert.IsNotNull(target); }
public void CommentEntryConstructorTest() { CommentEntry target = new CommentEntry(); Assert.IsNotNull(target); }