GroupedProjectGroups

data class GroupedProjectGroups: Any

Represents student groups that were signalled as failling exactly the same unit tests.

Fields

Name Description
val groups: List<ProjectGroup>

is a List of ProjectGroups

val failedTestNames: List<String>

is a List of Strings with the names of the unit tests that the groups are failing. Each String is the name of one failed test.

Constructors

<init>

constructor(groups: List<ProjectGroup>, failedTestNames: List<String>)

Represents student groups that were signalled as failling exactly the same unit tests.

Parameters

Name Description
groups: List<ProjectGroup>
failedTestNames: List<String>

Methods

getGroupIDs

fun getGroupIDs(): List<Long>

ReturnValue

Name Description
List<Long>

a List of Longs representing the IDs of each group

getGroupMembers

fun getGroupMembers(): List<String>

ReturnValue

Name Description
List<String>

a List of Strings representing the names of the authors (i.e. students) in each group

showNrOfFailedTests

fun showNrOfFailedTests(): Int

ReturnValue

Name Description
Int

an Int with the number of failed tests

getTestNames

fun getTestNames(): List<String>

ReturnValue

Name Description
List<String>

a List of Strings with the names of tests that are failed by the groups