You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a problem with providing test category option (-e) as an argument when running the WOPI Validator. It returns bellow error, when trying to specify category other than "All" (that is: "WopiCore" or "OfficeOnline"). So, if I don't provide test category or if I provide test category "All", the WOPI Validator runs normally, otherwise it fails. Seems like an issue in your source code.
System.ArgumentException: Could not find a prereq test case named {0} (Parameter 'SupportsCoauthPrereq') at Microsoft.Office.WopiValidator.Core.Factories.TestCaseFactory.GetPrereqTests(XElement definition, Dictionary2 prereqsDictionary)+MoveNext() in C:\Dev\wopi-validator-core\src\WopiValidator.Core\Factories\TestCaseFactory.cs:line 43
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Microsoft.Office.WopiValidator.Core.ConfigParser.GetTestExecutionDataForGroup(XElement definition, Dictionary2 prereqCasesDictionary, ITestCaseFactory testCaseFactory, IResourceManager resourceManager, TestCategory targetTestCategory) in C:\Dev\wopi-validator-core\src\WopiValidator.Core\ConfigParser.cs:line 52
at Microsoft.Office.WopiValidator.Core.ConfigParser.<>c__DisplayClass1_0.b__1(XElement x) in C:\Dev\wopi-validator-core\src\WopiValidator.Core\ConfigParser.cs:line 38
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Lookup2.Create(IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer) at System.Linq.GroupedEnumerable2.GetEnumerator()
at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext() at Microsoft.Office.WopiValidator.Program.Execute(Options options) in C:\Dev\wopi-validator-core\src\WopiValidator\Program.cs:line 98 at Microsoft.Office.WopiValidator.Program.<>c.<Main>b__1_0(Options options) in C:\Dev\wopi-validator-core\src\WopiValidator\Program.cs:line 46 at CommandLine.ParserResultExtensions.MapResult[TSource,TResult](ParserResult1 result, Func2 parsedFunc, Func2 notParsedFunc)
at Microsoft.Office.WopiValidator.Program.Main(String[] args) in C:\Dev\wopi-validator-core\src\WopiValidator\Program.cs:line 44`
I have the latest version of WOPI Validator available on Git.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello.
There seems to be a problem with providing test category option (-e) as an argument when running the WOPI Validator. It returns bellow error, when trying to specify category other than "All" (that is: "WopiCore" or "OfficeOnline"). So, if I don't provide test category or if I provide test category "All", the WOPI Validator runs normally, otherwise it fails. Seems like an issue in your source code.
System.ArgumentException: Could not find a prereq test case named {0} (Parameter 'SupportsCoauthPrereq') at Microsoft.Office.WopiValidator.Core.Factories.TestCaseFactory.GetPrereqTests(XElement definition, Dictionary
2 prereqsDictionary)+MoveNext() in C:\Dev\wopi-validator-core\src\WopiValidator.Core\Factories\TestCaseFactory.cs:line 43at System.Collections.Generic.List
1..ctor(IEnumerable
1 collection)at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) at Microsoft.Office.WopiValidator.Core.ConfigParser.GetTestExecutionDataForGroup(XElement definition, Dictionary
2 prereqCasesDictionary, ITestCaseFactory testCaseFactory, IResourceManager resourceManager, TestCategory targetTestCategory) in C:\Dev\wopi-validator-core\src\WopiValidator.Core\ConfigParser.cs:line 52at Microsoft.Office.WopiValidator.Core.ConfigParser.<>c__DisplayClass1_0.b__1(XElement x) in C:\Dev\wopi-validator-core\src\WopiValidator.Core\ConfigParser.cs:line 38
at System.Linq.Enumerable.SelectManySingleSelectorIterator
2.MoveNext() at System.Linq.Lookup
2.Create(IEnumerable1 source, Func
2 keySelector, IEqualityComparer1 comparer) at System.Linq.GroupedEnumerable
2.GetEnumerator()at System.Linq.Enumerable.SelectEnumerableIterator
2.MoveNext() at Microsoft.Office.WopiValidator.Program.Execute(Options options) in C:\Dev\wopi-validator-core\src\WopiValidator\Program.cs:line 98 at Microsoft.Office.WopiValidator.Program.<>c.<Main>b__1_0(Options options) in C:\Dev\wopi-validator-core\src\WopiValidator\Program.cs:line 46 at CommandLine.ParserResultExtensions.MapResult[TSource,TResult](ParserResult
1 result, Func2 parsedFunc, Func
2 notParsedFunc)at Microsoft.Office.WopiValidator.Program.Main(String[] args) in C:\Dev\wopi-validator-core\src\WopiValidator\Program.cs:line 44`
I have the latest version of WOPI Validator available on Git.
Thanks.
The text was updated successfully, but these errors were encountered: