コード例 #1
0
        public static PheedSyndicationExtensionContext CreateContext1()
        {
            var nyc = new PheedSyndicationExtensionContext();

            nyc.Source    = new Uri("http://www.example.com");
            nyc.Thumbnail = new Uri("http://www.example.com/thumbnail.jpg");
            return(nyc);
        }
コード例 #2
0
        public void Pheed_ContextTest()
        {
            PheedSyndicationExtension        target   = CreateExtension1();
            PheedSyndicationExtensionContext expected = CreateContext1();
            PheedSyndicationExtensionContext actual;

//			target.Context = expected;
            actual = target.Context;
            var b = actual.Equals(expected);

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }