From 1c47b7b8ef5d6ab2e878cb12ef49b131f4a7a31a Mon Sep 17 00:00:00 2001 From: Deluan Date: Mon, 29 Feb 2016 13:38:41 -0500 Subject: [PATCH] Added empty tests in each package, to get the more precise coverage percentage --- models/models_test.go | 7 +++++++ repositories/index_repository_test.go | 1 + scanner/scanner_test.go | 8 ++++++++ utils/mapping_test.go | 7 +++++++ 4 files changed, 23 insertions(+) create mode 100644 models/models_test.go create mode 100644 repositories/index_repository_test.go create mode 100644 scanner/scanner_test.go create mode 100644 utils/mapping_test.go diff --git a/models/models_test.go b/models/models_test.go new file mode 100644 index 000000000..75502dbd5 --- /dev/null +++ b/models/models_test.go @@ -0,0 +1,7 @@ +package models + +import "testing" + +func TestEmpty(t *testing.T) { + +} \ No newline at end of file diff --git a/repositories/index_repository_test.go b/repositories/index_repository_test.go new file mode 100644 index 000000000..3f43206c7 --- /dev/null +++ b/repositories/index_repository_test.go @@ -0,0 +1 @@ +package repositories diff --git a/scanner/scanner_test.go b/scanner/scanner_test.go new file mode 100644 index 000000000..45c8014ae --- /dev/null +++ b/scanner/scanner_test.go @@ -0,0 +1,8 @@ +package scanner + + +import "testing" + +func TestEmpty(t *testing.T) { + +} diff --git a/utils/mapping_test.go b/utils/mapping_test.go new file mode 100644 index 000000000..809bf1203 --- /dev/null +++ b/utils/mapping_test.go @@ -0,0 +1,7 @@ +package utils + +import "testing" + +func TestEmpty(t *testing.T) { + +} \ No newline at end of file