Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
c40b0ea1
Commit
c40b0ea1
authored
May 18, 2018
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: moves test files to testdata folder
parent
dd8c50e1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
7 additions
and
7 deletions
+7
-7
pkg/services/provisioning/dashboards/config_reader_test.go
+3
-3
pkg/services/provisioning/dashboards/file_reader_test.go
+4
-4
pkg/services/provisioning/dashboards/testdata/test-configs/broken-configs/commented.yaml
+0
-0
pkg/services/provisioning/dashboards/testdata/test-configs/dashboards-from-disk/dev-dashboards.yaml
+0
-0
pkg/services/provisioning/dashboards/testdata/test-configs/dashboards-from-disk/sample.yaml
+0
-0
pkg/services/provisioning/dashboards/testdata/test-configs/version-0/version-0.yaml
+0
-0
pkg/services/provisioning/dashboards/testdata/test-dashboards/broken-dashboards/empty-json.json
+0
-0
pkg/services/provisioning/dashboards/testdata/test-dashboards/broken-dashboards/invalid.json
+0
-0
pkg/services/provisioning/dashboards/testdata/test-dashboards/containing-id/dashboard1.json
+0
-0
pkg/services/provisioning/dashboards/testdata/test-dashboards/folder-one/dashboard1.json
+0
-0
pkg/services/provisioning/dashboards/testdata/test-dashboards/folder-one/dashboard2.json
+0
-0
pkg/services/provisioning/dashboards/testdata/test-dashboards/one-dashboard/dashboard1.json
+0
-0
No files found.
pkg/services/provisioning/dashboards/config_reader_test.go
View file @
c40b0ea1
...
...
@@ -8,9 +8,9 @@ import (
)
var
(
simpleDashboardConfig
=
"./test-configs/dashboards-from-disk"
oldVersion
=
"./test-configs/version-0"
brokenConfigs
=
"./test-configs/broken-configs"
simpleDashboardConfig
=
"./test
data/test
-configs/dashboards-from-disk"
oldVersion
=
"./test
data/test
-configs/version-0"
brokenConfigs
=
"./test
data/test
-configs/broken-configs"
)
func
TestDashboardsAsConfig
(
t
*
testing
.
T
)
{
...
...
pkg/services/provisioning/dashboards/file_reader_test.go
View file @
c40b0ea1
...
...
@@ -15,10 +15,10 @@ import (
)
var
(
defaultDashboards
=
"./test-dashboards/folder-one"
brokenDashboards
=
"./test-dashboards/broken-dashboards"
oneDashboard
=
"./test-dashboards/one-dashboard"
containingId
=
"./test-dashboards/containing-id"
defaultDashboards
=
"./test
data/test
-dashboards/folder-one"
brokenDashboards
=
"./test
data/test
-dashboards/broken-dashboards"
oneDashboard
=
"./test
data/test
-dashboards/one-dashboard"
containingId
=
"./test
data/test
-dashboards/containing-id"
fakeService
*
fakeDashboardProvisioningService
)
...
...
pkg/services/provisioning/dashboards/test-configs/broken-configs/commented.yaml
→
pkg/services/provisioning/dashboards/test
data/test
-configs/broken-configs/commented.yaml
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-configs/dashboards-from-disk/dev-dashboards.yaml
→
pkg/services/provisioning/dashboards/test
data/test
-configs/dashboards-from-disk/dev-dashboards.yaml
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-configs/dashboards-from-disk/sample.yaml
→
pkg/services/provisioning/dashboards/test
data/test
-configs/dashboards-from-disk/sample.yaml
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-configs/version-0/version-0.yaml
→
pkg/services/provisioning/dashboards/test
data/test
-configs/version-0/version-0.yaml
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-dashboards/broken-dashboards/empty-json.json
→
pkg/services/provisioning/dashboards/test
data/test
-dashboards/broken-dashboards/empty-json.json
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-dashboards/broken-dashboards/invalid.json
→
pkg/services/provisioning/dashboards/test
data/test
-dashboards/broken-dashboards/invalid.json
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-dashboards/containing-id/dashboard1.json
→
pkg/services/provisioning/dashboards/test
data/test
-dashboards/containing-id/dashboard1.json
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-dashboards/folder-one/dashboard1.json
→
pkg/services/provisioning/dashboards/test
data/test
-dashboards/folder-one/dashboard1.json
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-dashboards/folder-one/dashboard2.json
→
pkg/services/provisioning/dashboards/test
data/test
-dashboards/folder-one/dashboard2.json
View file @
c40b0ea1
File moved
pkg/services/provisioning/dashboards/test-dashboards/one-dashboard/dashboard1.json
→
pkg/services/provisioning/dashboards/test
data/test
-dashboards/one-dashboard/dashboard1.json
View file @
c40b0ea1
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment