fix:#41 fixed naming issue sonarqube

This commit is contained in:
Elmar Kresse
2024-06-24 15:29:58 +02:00
parent 3e2b3c3720
commit bfb05b6704
12 changed files with 30 additions and 30 deletions

View File

@@ -21,7 +21,7 @@ import (
"testing"
)
func Test_splitByCommaWithTime(t *testing.T) {
func TestSplitByCommaWithTime(t *testing.T) {
type args struct {
input string
}

View File

@@ -25,7 +25,7 @@ import (
"time"
)
func Test_extractSemesterAndYear(t *testing.T) {
func TestExtractSemesterAndYear(t *testing.T) {
type args struct {
semesterString string
}
@@ -73,7 +73,7 @@ func Test_extractSemesterAndYear(t *testing.T) {
}
}
func Test_replaceEmptyEventNames(t *testing.T) {
func TestReplaceEmptyEventNames(t *testing.T) {
type args struct {
group model.SeminarGroup
}
@@ -130,7 +130,7 @@ func Test_replaceEmptyEventNames(t *testing.T) {
}
}
func Test_splitEventType(t *testing.T) {
func TestSplitEventType(t *testing.T) {
type args struct {
events []model.Event
}
@@ -220,7 +220,7 @@ func Test_splitEventType(t *testing.T) {
}
}
func Test_generateUUIDs(t *testing.T) {
func TestGenerateUUIDs(t *testing.T) {
type args struct {
events []model.Event
course string
@@ -274,7 +274,7 @@ func Test_generateUUIDs(t *testing.T) {
}
}
func Test_createTimeFromHourAndMinuteString(t *testing.T) {
func TestCreateTimeFromHourAndMinuteString(t *testing.T) {
type args struct {
tableTime string
}
@@ -314,7 +314,7 @@ func Test_createTimeFromHourAndMinuteString(t *testing.T) {
}
}
func Test_replaceTimeInDate(t *testing.T) {
func TestReplaceTimeInDate(t *testing.T) {
type args struct {
date time.Time
time time.Time
@@ -350,7 +350,7 @@ func Test_replaceTimeInDate(t *testing.T) {
}
}
func Test_convertWeeksToDates(t *testing.T) {
func TestConvertWeeksToDates(t *testing.T) {
type args struct {
events []model.Event
semester string
@@ -450,7 +450,7 @@ func Test_convertWeeksToDates(t *testing.T) {
}
}
func Test_replaceTimeForDate(t *testing.T) {
func TestReplaceTimeForDate(t *testing.T) {
type args struct {
date time.Time
replacementTime time.Time
@@ -502,7 +502,7 @@ func Test_replaceTimeForDate(t *testing.T) {
}
}
func Test_isSummerSemester(t *testing.T) {
func TestIsSummerSemester(t *testing.T) {
type args struct {
month time.Month
}
@@ -535,7 +535,7 @@ func Test_isSummerSemester(t *testing.T) {
}
}
func Test_isWinterSemester(t *testing.T) {
func TestIsWinterSemester(t *testing.T) {
type args struct {
month time.Month
}

View File

@@ -21,7 +21,7 @@ import (
"testing"
)
func Test_contains(t *testing.T) {
func TestContains(t *testing.T) {
type args struct {
groups []model.SeminarGroup
group model.SeminarGroup

View File

@@ -22,7 +22,7 @@ import (
"testing"
)
func Test_switchNameAndNotesForExam(t *testing.T) {
func TestSwitchNameAndNotesForExam(t *testing.T) {
type args struct {
events []model.Event
}