Пример #1
0
        static void Main(string[] args)
        {
            var locator = new MongodExeLocator();

            using (var server = MongoTestServer.Start(27017, locator))
            {
            }
        }
Пример #2
0
 protected MongoTestServer StartServer()
 {
     return(MongoTestServer.Start(Port, new MongodExeLocator()));
 }
Пример #3
0
 public void SetUp()
 {
     _testServer = new MongoTestServer(@"..\..\..\..\tools\mongodb\binaries\mongod", "OrmongoTests");
     _testServer.Start();
 }