Table of Contents

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

bool

Feeds

A list of input Feeds for the solver.

public List<Feed> Feeds { get; }

Property Value

List<Feed>

Name

public required string Name { get; set; }

Property Value

string

Problem

A string describing the expected solver error message or null if no failure is expected.

public string? Problem { get; set; }

Property Value

string

Requirements

The input requirements for the solver.

public required Requirements Requirements { get; set; }

Property Value

Requirements

Selections

The expected output of the solver.

public Selections? Selections { get; set; }

Property Value

Selections

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.