Commands\TrayCommandTests.cs (24)
37Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
63Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
81Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
114Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
137Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
151Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
167Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
212var invocation = provider.GetRequiredService<RootCommand>()
250var command = provider.GetRequiredService<RootCommand>();
293Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
327Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
367Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
399Assert.Equal(42, await provider.GetRequiredService<RootCommand>()
429Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
467var invocation = provider.GetRequiredService<RootCommand>()
520var invocation = provider.GetRequiredService<RootCommand>()
558var exitCode = await provider.GetRequiredService<RootCommand>()
574var result = provider.GetRequiredService<RootCommand>().Parse(arguments);
588var command = provider.GetRequiredService<RootCommand>();
657Assert.Equal(42, await provider.GetRequiredService<RootCommand>()
678await provider.GetRequiredService<RootCommand>()
722Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()