~mandel/ubuntuone-windows-installer/fix_null_pointer_start

« back to all changes in this revision

Viewing changes to src/Canonical.UbuntuOne.ProcessDispatcher.Tests/Protobuf/SyncShareMessageFactoryFixture.cs

  • Committer: Manuel de la Pena
  • Date: 2010-07-08 13:22:59 UTC
  • Revision ID: mandel@themacaque.com-20100708132259-y1jgyuyqfe9stt8u
Updated build script to run tests and added all the required tools so far.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        {
70
70
            var message = _factory.AcceptShare(path);
71
71
            Assert.AreEqual(ShareMessage.Type.ACCEPT_SHARE, message.type);
72
 
            Assert.AreEqual(path, message.path);
 
72
            Assert.AreEqual(path, message.share_id);
73
73
        }
74
74
 
75
75
        [Test]
92
92
        {
93
93
            var message = _factory.RejectShare(path);
94
94
            Assert.AreEqual(ShareMessage.Type.REJECT_SHARE, message.type);
95
 
            Assert.AreEqual(path, message.path);
 
95
            Assert.AreEqual(path, message.share_id);
96
96
        }
97
97
 
98
98
        [TestCase(null, "username", "name", AccessLevel.VIEW)]