-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from endocode/fix-config-yaml-camel-case-in-tests
Fixed YAML config camelCase in tests
- Loading branch information
Showing
4 changed files
with
48 additions
and
47 deletions.
There are no files selected for viewing
Submodule demos
updated
from a8d9b9 to 1fdc4d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":50051" | ||
dbaddress: "localhost:9080" | ||
dbworkers: 4 | ||
rpcAddress: ":50051" | ||
dbAddress: "localhost:9080" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: spdx-identifier-analyzer | ||
name: "Simple SPDX-Identifier Analyzer" | ||
|
@@ -74,9 +74,9 @@ metadata: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":50051" | ||
dbaddress: "localhost:9080" | ||
dbworkers: 4 | ||
rpcAddress: ":50051" | ||
dbAddress: "localhost:9080" | ||
dbWorkers: 4 | ||
``` | ||
|
||
## Analyzers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,22 +15,22 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
workdir: "/buildroot" | ||
- analyzer: test-analyzer-2 | ||
name: "The Testalyzer 2" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -72,22 +72,22 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
workdir: "/buildroot" | ||
- analyzer: test-analyzer-2 | ||
name: "The Testalyzer 2" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -115,22 +115,22 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
workdir: "/buildroot" | ||
- analyzer: test-analyzer-2 | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -159,21 +159,21 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
workdir: "/buildroot" | ||
- analyzer: test-analyzer-2 | ||
name: "The Testalyzer 2" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -202,22 +202,22 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- name: "The Testalyzer" | ||
analyzer: test-analyzer | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
workdir: "/buildroot" | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer 2" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -244,22 +244,22 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
workdir: "/buildroot" | ||
- analyzer: test-analyzer-2 | ||
name: "The_Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -288,14 +288,14 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: "12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: "12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|
@@ -306,7 +306,8 @@ project: | |
config: | ||
tester: "Endocode" | ||
` | ||
_, err := ReadConfigFromBytes([]byte(config)) | ||
ccc, err := ReadConfigFromBytes([]byte(config)) | ||
print(ccc) | ||
if err == nil || err.Error() != "Invalid RPC address" { | ||
t.Log(err) | ||
t.Fail() | ||
|
@@ -323,14 +324,14 @@ project: | |
OcFossLiaison: "Mirko Boehm" | ||
OcComplianceContact: "[email protected]" | ||
server: | ||
rpcaddress: ":12345" | ||
dbaddress: "testhost:54321" | ||
dbworkers: 4 | ||
rpcAddress: ":12345" | ||
dbAddress: "testhost:54321" | ||
dbWorkers: 4 | ||
analysis: | ||
- analyzer: test-analyzer | ||
name: "The Testalyzer" | ||
selector: sourcecode | ||
pathsub: | ||
pathSub: | ||
- old: "/the/path" | ||
new: "/buildroot" | ||
config: | ||
|