Esempio n. 1
0
        public MemoryMappedFileSlimTests(BackFileFixture fixture, SharedFileSystem fileSystem)
        {
            _fixture = fixture;
            _fixture.Init(fileSystem.CreateNewDirectoryForTest());
            string testString = "Something important !";

            _testArray = Encoding.ASCII.GetBytes(testString);
        }
Esempio n. 2
0
        public LightningStoreTest(SharedFileSystem fileSystem)
        {
            var path = fileSystem.CreateNewDirectoryForTest();

            _store = new LightningStore <uint>(path, "Test");
        }