Ejemplo n.º 1
0
        public void CommandLineWithSyncLoggingAndMultithreadingTest()
        {
            string template = @"logpath -L -p -1001 -s 5 ";

            KdbPlusCommandLineBuilder builder = new KdbPlusCommandLineBuilder();

            builder.SetLog("logpath").EnableSyncLogging().SetPort(1001).EnableMultiThreading().SetThreadCount(5);

            Assert.AreEqual(builder.CreateNew(), template);
        }
Ejemplo n.º 2
0
        public void EmptyCommandLineTest()
        {
            KdbPlusCommandLineBuilder builder = new KdbPlusCommandLineBuilder();

            Assert.AreEqual(builder.CreateNew(), string.Empty);
        }