Class TestCase
- Namespace
- ZeroInstall.Model.Selection
- Assembly
- ZeroInstall.Model.dll
A test case describing Requirements and the Selections they are expected to lead to. Used for automated testing of Solvers.
public class TestCase
- Inheritance
-
TestCase
- Inherited Members
Properties
AddDownloads
public bool AddDownloads { get; set; }
Property Value
Feeds
A list of input Feeds for the solver.
public List<Feed> Feeds { get; }
Property Value
Name
public required string Name { get; set; }
Property Value
Problem
A string describing the expected solver error message or null
if no failure is expected.
public string? Problem { get; set; }
Property Value
Requirements
The input requirements for the solver.
public required Requirements Requirements { get; set; }
Property Value
Selections
The expected output of the solver.
public Selections? Selections { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.