Commands\TrayCommandTests.cs (21)
50Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
73Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
87Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
103Assert.Equal(CliExitCodes.Success, await provider.GetRequiredService<RootCommand>()
148var invocation = provider.GetRequiredService<RootCommand>()
186var command = provider.GetRequiredService<RootCommand>();
227Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
261Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
301Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
333Assert.Equal(42, await provider.GetRequiredService<RootCommand>()
363Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()
401var invocation = provider.GetRequiredService<RootCommand>()
454var invocation = provider.GetRequiredService<RootCommand>()
492var exitCode = await provider.GetRequiredService<RootCommand>()
508var result = provider.GetRequiredService<RootCommand>().Parse(arguments);
522var command = provider.GetRequiredService<RootCommand>();
591Assert.Equal(42, await provider.GetRequiredService<RootCommand>()
612await provider.GetRequiredService<RootCommand>()
656Assert.Equal(CliExitCodes.InvalidCommand, await provider.GetRequiredService<RootCommand>()