Ejemplo n.º 1
0
        public async Task CreationTimeNothingCreated()
        {
            var df = new dummyFile("test.pdf", "test");
            var r  = await df.GetCacheCreateTime();

            Assert.IsNull(r);
        }
Ejemplo n.º 2
0
        public void TestForNoFile()
        {
            var    df = new dummyFile("test.pdf", "test");
            var    f  = df.GetFileFromCache(Blobs.LocalStorage);
            string r  = null;

            f.Subscribe(
                a => r = "SHould not have gotten anything",
                e => r = "Failed with exception: " + e.Message
                );

            Assert.AreEqual(null, r);
            Assert.AreEqual(0, df.GetStreamCalled);
        }
Ejemplo n.º 3
0
 public dummyTalk()
 {
     Title    = "talk 1";
     TalkFile = new dummyFile();
 }