public TestCaseWithClientAndEmptyDatabase()
		{
			var databaseName = "ApiTests" + new Random().Next();

			ArangoResponse<bool> databaseCreated = Client.Database.Create(databaseName);

			Assert.True(databaseCreated.Result);

			Database = Client.UseDatabase(databaseName);
		}
Exemplo n.º 2
0
        public ArangoWithDatabaseDispatcher UseDatabase(string databaseName)
        {
            CheckInitialized();

            var database = new ArangoWithDatabaseDispatcher(databaseName);

            database.Init(_dispatcher);

            return(database);
        }
        public TestCaseWithClientAndEmptyDatabase()
        {
            var databaseName = "ApiTests" + new Random().Next();

            ArangoResponse <bool> databaseCreated = Client.Database.Create(databaseName);

            Assert.True(databaseCreated.Result);

            Database = Client.UseDatabase(databaseName);
        }
Exemplo n.º 4
0
		public ArangoWithDatabaseDispatcher UseDatabase(string databaseName)
		{
			CheckInitialized();

			var database = new ArangoWithDatabaseDispatcher(databaseName);

			database.Init(_dispatcher);

			return database;
		}