Exemplo n.º 1
0
        /// <exception cref="System.IO.IOException"></exception>
        protected internal virtual void StartCBLite()
        {
            LiteTestContext context        = new LiteTestContext();
            string          serverPath     = context.GetRootDirectory().GetAbsolutePath();
            FilePath        serverPathFile = new FilePath(serverPath);

            FileDirUtils.DeleteRecursive(serverPathFile);
            serverPathFile.Mkdir();
            Manager.EnableLogging(Log.Tag, Log.Verbose);
            Manager.EnableLogging(Log.TagSync, Log.Verbose);
            Manager.EnableLogging(Log.TagQuery, Log.Verbose);
            Manager.EnableLogging(Log.TagView, Log.Verbose);
            Manager.EnableLogging(Log.TagChangeTracker, Log.Verbose);
            Manager.EnableLogging(Log.TagBlobStore, Log.Verbose);
            Manager.EnableLogging(Log.TagDatabase, Log.Verbose);
            Manager.EnableLogging(Log.TagListener, Log.Verbose);
            Manager.EnableLogging(Log.TagMultiStreamWriter, Log.Verbose);
            Manager.EnableLogging(Log.TagRemoteRequest, Log.Verbose);
            Manager.EnableLogging(Log.TagRouter, Log.Verbose);
            manager = new Manager(context, Manager.DefaultOptions);
        }