Sha256: 6f5751c38dc5c27d5ea034502e0646b10f61311d73aa9cf78d8946c2074c6dc1

Contents?: true

Size: 846 Bytes

Versions: 16

Compression:

Stored size: 846 Bytes

Contents

module Mumuki::Domain::Status::Submission
  include Mumuki::Domain::Status
end

require_relative './pending'
require_relative './running'
require_relative './passed'
require_relative './failed'
require_relative './errored'
require_relative './aborted'
require_relative './passed_with_warnings'
require_relative './manual_evaluation_pending'
require_relative './skipped'

module Mumuki::Domain::Status::Submission
  STATUSES = [Pending, Running, Passed, Failed, Errored, Aborted, PassedWithWarnings, ManualEvaluationPending, Skipped]

  test_selectors.each do |selector|
    define_method(selector) { false }
  end

  def group
    self
  end

  def should_retry?
    false
  end

  def iconize
    group.iconize
  end

  def as_json(_options={})
    to_s
  end

  def completed?
    solved?
  end

  def solved?
    passed? || skipped?
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
mumuki-domain-7.7.3 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.8.1 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.8.0 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.7.2 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.7.1 lib/mumuki/domain/status/submission/submission.rb
mumuki-laboratory-7.7.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-cb7a9018bb94/lib/mumuki/domain/status/submission/submission.rb
mumuki-laboratory-7.7.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-cb7a9018bb94/lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.7.0 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.6.1 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.6.0 lib/mumuki/domain/status/submission/submission.rb
mumuki-laboratory-7.5.2 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-ad16a5930cec/lib/mumuki/domain/status/submission/submission.rb
mumuki-laboratory-7.5.1 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-a059418e5fd8/lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.5.1 lib/mumuki/domain/status/submission/submission.rb
mumuki-laboratory-7.5.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-acb12583b793/lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.5.0 lib/mumuki/domain/status/submission/submission.rb
mumuki-domain-7.4.1 lib/mumuki/domain/status/submission/submission.rb