• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

patri9ck / durak / #5

16 Jan 2025 01:26PM UTC coverage: 39.958% (-4.1%) from 44.107%
#5

push

travis-pro

LaurinEngelen
Merge branch 'main' into improved-gui

# Conflicts:
#	README.md
#	src/main/scala/view/gui/Gui.scala

78 of 83 new or added lines in 14 files covered. (93.98%)

302 existing lines in 7 files now uncovered.

378 of 946 relevant lines covered (39.96%)

0.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/scala/controller/base/command/LoadCommand.scala
1
package controller.base.command
2

3
import controller.base.BaseController
4
import model.io.FileIo
5

6
import scala.util.{Failure, Success}
7

8
class LoadCommand(controller: BaseController, fileIo: FileIo) extends MementoCommand(controller) {
9

UNCOV
10
  override def execute(): Unit = {
×
11
    fileIo.load match {
×
12
      case Success(status) => status match {
×
13
        case Some(status) =>
×
14
          controller.status = status
15

UNCOV
16
        case None => println("Status konnte nicht dekodiert werden.")
×
17
      }
UNCOV
18
      case Failure(exception) => println(s"Fehler beim Laden: $exception")
×
19
    }
20
  }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc