예제 #1
0
        public void InvalidConfig()
        {
            const string badSettingsJson = "Name:\"UiPath.UIAutomation.Next.Activities\", Min:\"20.4.0\"";
            bool         success         = PackageVersionsRule.TryParseSettingsJson(badSettingsJson, out Dictionary <string, PackageVersionSetting> settings);

            Assert.IsFalse(success);
            Assert.IsNull(settings);
        }
예제 #2
0
 public PackageVersionsRuleTests()
 {
     _settingsParsed = PackageVersionsRule.TryParseSettingsJson(SettingsJson, out _settings);
 }