예제 #1
0
        public void Test_StorageProxy_Ignite_RemoveStreamFromPersistentStore_Immutable_NonSpatial_NotExisting()
        {
            var proxy = new StorageProxy_Ignite(StorageMutability.Immutable);

            var projectUid = Guid.NewGuid();
            var streamName = "StreamToDelete";

            proxy.RemoveStreamFromPersistentStore(projectUid, FileSystemStreamType.Designs, streamName).Should().Be(FileSystemErrorStatus.OK);
        }
예제 #2
0
        public void Test_StorageProxy_Ignite_RemoveStreamFromPersistentStore_Immutable_NonSpatial_Existing()
        {
            var proxy = new StorageProxy_Ignite(StorageMutability.Immutable);

            var projectUid = Guid.NewGuid();
            var streamName = "StreamToDelete";

            proxy.WriteStreamToPersistentStore(projectUid, streamName, FileSystemStreamType.Designs, new MemoryStream(Consts.TREX_DEFAULT_MEMORY_STREAM_CAPACITY_ON_CREATION), null);
            proxy.RemoveStreamFromPersistentStore(projectUid, FileSystemStreamType.Designs, streamName).Should().Be(FileSystemErrorStatus.OK);
        }
예제 #3
0
        public void Test_StorageProxy_Ignite_Creation()
        {
            var proxy = new StorageProxy_Ignite(StorageMutability.Immutable);

            Assert.NotNull(proxy);

            proxy = new StorageProxy_Ignite(StorageMutability.Mutable);

            Assert.NotNull(proxy);
        }
예제 #4
0
 public void Test_StorageProxy_Ignite_RemoveStreamFromPersistentStore_Mutable_NonSpatial()
 {
     var proxy = new StorageProxy_Ignite(StorageMutability.Mutable);
 }