struct

Freshdoc::ExampleResult

Inherits JSON::Serializable < Struct < Value < Object

Результат одного кейса-примера.

Constructors

new(id : String, title : String = "", description : String = "", tags : Array(String) = [] of String, params : Hash(String, String) = {} of String => String, kind : String = "text", expected : Nil | String = nil, actual : Nil | String = nil, stdout : Nil | String = nil, frames : Array(String) = [] of String, code : String = "", status : String = "pending", duration_ms : Int64 = 0_i64, error : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

actual
Source
actual=(actual : String | Nil)
Source
code
Source
code=(code : String)
Source
description
Source
description=(description : String)
Source
duration_ms
Source
duration_ms=(duration_ms : Int64)
Source
error
Source
error=(error : String | Nil)
Source
expected
Source
expected=(expected : String | Nil)
Source
failed?
Source
frames
Source
frames=(frames : Array(String))
Source
id=(id : String)
Source
kind
Source
kind=(kind : String)
Source
params
Source
params=(params : Hash(String, String))
Source
status
Source
status=(status : String)
Source
stdout
Source
stdout=(stdout : String | Nil)
Source
tags
Source
tags=(tags : Array(String))
Source
title
Source
title=(title : String)
Source