Exemplo n.º 1
0
        public void CreateWithNullPartitionsPathThrowsAsync()
        {
            //Arrange
            var options = new RocksDbOptionsProvider(new SystemEnvironment(), true);

            //Act
            //Assert
            Assert.Throws <ArgumentNullException>(() => RocksDbWrapper.Create(options, "AnyPath", null));
        }
Exemplo n.º 2
0
 public void CreateWithNullOptionThrowsAsync()
 {
     // Arrange
     ICollection<string> partitions = new List<string>();
     // Act
     // Assert
     Assert.Throws<ArgumentNullException>(() => RocksDbWrapper.Create(null, "AnyPath", partitions));
     partitions.Clear();
 }
Exemplo n.º 3
0
        public void CreateWithNullPathThrowsAsync()
        {
            //Arrange
            ICollection <string> partitions = new List <string>();
            var options = new RocksDbOptionsProvider(new SystemEnvironment(), true);

            //Act
            //Assert
            Assert.Throws <ArgumentException>(() => RocksDbWrapper.Create(options, null, partitions));
            partitions.Clear();
        }