Exemplo n.º 1
0
        private static void FillToggl(FillArguments arguments)
        {
            var config = ConfigHelper.GetConfig(arguments.ConfigFilePath);
            var fill   = new Fill(config, arguments);

            fill.FillToggl();
        }
Exemplo n.º 2
0
        public void IsSpecificSyncLiefertFalseWennItemsNichtGefuellt()
        {
            var arguments = new FillArguments
            {
                ConfigFilePath = "T:\\test\\"
            };

            arguments.IsSpecificSync.Should().BeFalse();
        }
Exemplo n.º 3
0
        public void IsSpecificSyncLiefertTrueWennItemsGefuellt()
        {
            var arguments = new FillArguments
            {
                ConfigFilePath = "T:\\test\\",
                ItemIds        = new[] { 12345, 67891 }
            };

            arguments.IsSpecificSync.Should().BeTrue();
        }
Exemplo n.º 4
0
 public Fill(Config config, FillArguments arguments)
 {
     _config    = config;
     _arguments = arguments;
 }