fluentasserts.core.results

Undocumented in source.

Members

Classes

DefaultResultPrinter
class DefaultResultPrinter

This is the most simple implementation of a ResultPrinter. All the plain data is printed to stdout

DiffResult
class DiffResult
Undocumented in source.
ExpectedActualResult
class ExpectedActualResult
ExtraMissingResult
class ExtraMissingResult

A result that displays differences between ranges

KeyResult
class KeyResult(string key)
Undocumented in source.
ListInfoResult
class ListInfoResult
Undocumented in source.
MessageResult
class MessageResult

A result that prints a simple message to the user

MockPrinter
class MockPrinter
Undocumented in source.
SeparatorResult
class SeparatorResult

A new line sepparator

SourceResult
class SourceResult

An alternative to SourceResult that uses

Functions

fileToDTokens
const(Token)[] fileToDTokens(string fileName)

Converts a file to D tokens provided by libDParse. All the whitespaces are ignored

getAssertIndex
size_t getAssertIndex(const(Token)[] tokens, size_t startLine)
Undocumented in source. Be warned that the author may not have intended to support it.
getFunctionEnd
size_t getFunctionEnd(const(Token)[] tokens, size_t start)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameter
auto getParameter(const(Token)[] tokens, size_t startToken)
Undocumented in source. Be warned that the author may not have intended to support it.
getPreviousIdentifier
size_t getPreviousIdentifier(const(Token)[] tokens, size_t startIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
getScope
auto getScope(const(Token)[] tokens, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
getShouldIndex
size_t getShouldIndex(const(Token)[] tokens, size_t startLine)
Undocumented in source. Be warned that the author may not have intended to support it.
getWhiteIntervals
WhiteIntervals getWhiteIntervals(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
splitMultilinetokens
void splitMultilinetokens(const(Token)[] tokens, const(Token)[] result)

split multiline tokens in multiple single line tokens with the same type

toResults
IResult[] toResults(Exception e)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(const(Token)[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

IResult
interface IResult
Undocumented in source.
ResultPrinter
interface ResultPrinter

Structs

ResultGlyphs
struct ResultGlyphs

Glyphs used to display special chars in the results

WhiteIntervals
struct WhiteIntervals
Undocumented in source.

Meta