kubernetes/vendor/github.com/onsi/ginkgo/v2/internal/suite.go

type Phase

const PhaseBuildTopLevel

const PhaseBuildTree

const PhaseRun

var PROGRESS_REPORTER_DEADLING

type Suite

func NewSuite() *Suite {}

func (suite *Suite) Clone() (*Suite, error) {}

func (suite *Suite) BuildTree() error {}

func (suite *Suite) Run(description string, suiteLabels Labels, suitePath string, failer *Failer, reporter reporters.Reporter, writer WriterInterface, outputInterceptor OutputInterceptor, interruptHandler interrupt_handler.InterruptHandlerInterface, client parallel_support.Client, progressSignalRegistrar ProgressSignalRegistrar, suiteConfig types.SuiteConfig) (bool, bool) {}

func (suite *Suite) InRunPhase() bool {}

func (suite *Suite) PushNode(node Node) error {}

func (suite *Suite) pushSuiteNode(node Node) error {}

func (suite *Suite) pushCleanupNode(node Node) error {}

func (suite *Suite) generateTimelineLocation() types.TimelineLocation {}

func (suite *Suite) handleSpecEvent(event types.SpecEvent) types.SpecEvent {}

func (suite *Suite) handleSpecEventEnd(eventType types.SpecEventType, startEvent types.SpecEvent) {}

func (suite *Suite) By(text string, callback ...func()) error {}

/*
Spec Running methods - used during PhaseRun
*/
func (suite *Suite) CurrentSpecReport() types.SpecReport {}

// Only valid in the preview context.  In general suite.report only includes
// the specs run by _this_ node - it is only at the end of the suite that
// the parallel reports are aggregated.  However in the preview context we run
// in series and
func (suite *Suite) GetPreviewReport() types.Report {}

func (suite *Suite) AddReportEntry(entry ReportEntry) error {}

func (suite *Suite) generateProgressReport(fullReport bool) types.ProgressReport {}

func (suite *Suite) handleProgressSignal() {}

func (suite *Suite) emitProgressReport(report types.ProgressReport) {}

func (suite *Suite) isRunningInParallel() bool {}

func (suite *Suite) processCurrentSpecReport() {}

func (suite *Suite) runSpecs(description string, suiteLabels Labels, suitePath string, hasProgrammaticFocus bool, specs Specs) bool {}

func (suite *Suite) runBeforeSuite(numSpecsThatWillBeRun int) {}

func (suite *Suite) runAfterSuiteCleanup(numSpecsThatWillBeRun int) {}

func (suite *Suite) reportEach(spec Spec, nodeType types.NodeType) {}

func (suite *Suite) runSuiteNode(node Node) {}

func (suite *Suite) runReportSuiteNodesIfNeedBe(nodeType types.NodeType) {}

func (suite *Suite) runReportSuiteNode(node Node, report types.Report) {}

func (suite *Suite) runNode(node Node, specDeadline time.Time, text string) (types.SpecState, types.Failure) {}

// TODO: search for usages and consider if reporter.EmitFailure() is necessary
func (suite *Suite) failureForLeafNodeWithMessage(node Node, message string) types.Failure {}

func max(a, b int) int {}