-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4643c1
commit 860e61c
Showing
14 changed files
with
159 additions
and
26 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,133 @@ | ||
/* | ||
Copyright (C) 2018 OpenControl Contributors. See LICENSE.md for license. | ||
*/ | ||
|
||
/* | ||
Copyright (C) 2018 OpenControl Contributors. See LICENSE.md for license. | ||
*/ | ||
|
||
/* | ||
Copyright (C) 2018 OpenControl Contributors. See LICENSE.md for license. | ||
*/ | ||
|
||
package compliance_masonry_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/onsi/ginkgo" | ||
"github.com/onsi/gomega" | ||
) | ||
|
||
func TestComplianceMasonry(t *testing.T) { | ||
RegisterFailHandler(Fail) | ||
RunSpecs(t, "ComplianceMasonry Suite") | ||
RunSpecs(t, "ComplianceMasonryGo Suite") | ||
} | ||
|
||
// Declarations for Ginkgo DSL | ||
type Done ginkgo.Done | ||
type Benchmarker ginkgo.Benchmarker | ||
|
||
var GinkgoWriter = ginkgo.GinkgoWriter | ||
var GinkgoRandomSeed = ginkgo.GinkgoRandomSeed | ||
var GinkgoParallelNode = ginkgo.GinkgoParallelNode | ||
var GinkgoT = ginkgo.GinkgoT | ||
var CurrentGinkgoTestDescription = ginkgo.CurrentGinkgoTestDescription | ||
var RunSpecs = ginkgo.RunSpecs | ||
var RunSpecsWithDefaultAndCustomReporters = ginkgo.RunSpecsWithDefaultAndCustomReporters | ||
var RunSpecsWithCustomReporters = ginkgo.RunSpecsWithCustomReporters | ||
var Skip = ginkgo.Skip | ||
var Fail = ginkgo.Fail | ||
var GinkgoRecover = ginkgo.GinkgoRecover | ||
var Describe = ginkgo.Describe | ||
var FDescribe = ginkgo.FDescribe | ||
var PDescribe = ginkgo.PDescribe | ||
var XDescribe = ginkgo.XDescribe | ||
var Context = ginkgo.Context | ||
var FContext = ginkgo.FContext | ||
var PContext = ginkgo.PContext | ||
var XContext = ginkgo.XContext | ||
var When = ginkgo.When | ||
var FWhen = ginkgo.FWhen | ||
var PWhen = ginkgo.PWhen | ||
var XWhen = ginkgo.XWhen | ||
var It = ginkgo.It | ||
var FIt = ginkgo.FIt | ||
var PIt = ginkgo.PIt | ||
var XIt = ginkgo.XIt | ||
var Specify = ginkgo.Specify | ||
var FSpecify = ginkgo.FSpecify | ||
var PSpecify = ginkgo.PSpecify | ||
var XSpecify = ginkgo.XSpecify | ||
var By = ginkgo.By | ||
var Measure = ginkgo.Measure | ||
var FMeasure = ginkgo.FMeasure | ||
var PMeasure = ginkgo.PMeasure | ||
var XMeasure = ginkgo.XMeasure | ||
var BeforeSuite = ginkgo.BeforeSuite | ||
var AfterSuite = ginkgo.AfterSuite | ||
var SynchronizedBeforeSuite = ginkgo.SynchronizedBeforeSuite | ||
var SynchronizedAfterSuite = ginkgo.SynchronizedAfterSuite | ||
var BeforeEach = ginkgo.BeforeEach | ||
var JustBeforeEach = ginkgo.JustBeforeEach | ||
var AfterEach = ginkgo.AfterEach | ||
|
||
// Declarations for Gomega DSL | ||
var RegisterFailHandler = gomega.RegisterFailHandler | ||
var RegisterTestingT = gomega.RegisterTestingT | ||
var InterceptGomegaFailures = gomega.InterceptGomegaFailures | ||
var Ω = gomega.Ω | ||
var Expect = gomega.Expect | ||
var ExpectWithOffset = gomega.ExpectWithOffset | ||
var Eventually = gomega.Eventually | ||
var EventuallyWithOffset = gomega.EventuallyWithOffset | ||
var Consistently = gomega.Consistently | ||
var ConsistentlyWithOffset = gomega.ConsistentlyWithOffset | ||
var SetDefaultEventuallyTimeout = gomega.SetDefaultEventuallyTimeout | ||
var SetDefaultEventuallyPollingInterval = gomega.SetDefaultEventuallyPollingInterval | ||
var SetDefaultConsistentlyDuration = gomega.SetDefaultConsistentlyDuration | ||
var SetDefaultConsistentlyPollingInterval = gomega.SetDefaultConsistentlyPollingInterval | ||
var NewGomegaWithT = gomega.NewGomegaWithT | ||
|
||
// Declarations for Gomega Matchers | ||
var Equal = gomega.Equal | ||
var BeEquivalentTo = gomega.BeEquivalentTo | ||
var BeIdenticalTo = gomega.BeIdenticalTo | ||
var BeNil = gomega.BeNil | ||
var BeTrue = gomega.BeTrue | ||
var BeFalse = gomega.BeFalse | ||
var HaveOccurred = gomega.HaveOccurred | ||
var Succeed = gomega.Succeed | ||
var MatchError = gomega.MatchError | ||
var BeClosed = gomega.BeClosed | ||
var Receive = gomega.Receive | ||
var BeSent = gomega.BeSent | ||
var MatchRegexp = gomega.MatchRegexp | ||
var ContainSubstring = gomega.ContainSubstring | ||
var HavePrefix = gomega.HavePrefix | ||
var HaveSuffix = gomega.HaveSuffix | ||
var MatchJSON = gomega.MatchJSON | ||
var MatchXML = gomega.MatchXML | ||
var MatchYAML = gomega.MatchYAML | ||
var BeEmpty = gomega.BeEmpty | ||
var HaveLen = gomega.HaveLen | ||
var HaveCap = gomega.HaveCap | ||
var BeZero = gomega.BeZero | ||
var ContainElement = gomega.ContainElement | ||
var ConsistOf = gomega.ConsistOf | ||
var HaveKey = gomega.HaveKey | ||
var HaveKeyWithValue = gomega.HaveKeyWithValue | ||
var BeNumerically = gomega.BeNumerically | ||
var BeTemporally = gomega.BeTemporally | ||
var BeAssignableToTypeOf = gomega.BeAssignableToTypeOf | ||
var Panic = gomega.Panic | ||
var BeAnExistingFile = gomega.BeAnExistingFile | ||
var BeARegularFile = gomega.BeARegularFile | ||
var BeADirectory = gomega.BeADirectory | ||
var And = gomega.And | ||
var SatisfyAll = gomega.SatisfyAll | ||
var Or = gomega.Or | ||
var SatisfyAny = gomega.SatisfyAny | ||
var Not = gomega.Not | ||
var WithTransform = gomega.WithTransform |
4 changes: 2 additions & 2 deletions
4
test/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-AC-2.md
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
4 changes: 2 additions & 2 deletions
4
test/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-AC-6.md
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
4 changes: 2 additions & 2 deletions
4
test/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-CM-2.md
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
4 changes: 2 additions & 2 deletions
4
test/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-1.1.1.md
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#PCI-DSS-MAY-2015-1.1.1 | ||
##A formal process for approving and testing all network connections and changes to the firewall and router configurations | ||
# PCI-DSS-MAY-2015-1.1.1 | ||
## A formal process for approving and testing all network connections and changes to the firewall and router configurations | ||
|
||
No information found for the combination of standard PCI-DSS-MAY-2015 and control 1.1.1 |
4 changes: 2 additions & 2 deletions
4
test/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-1.1.md
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
4 changes: 2 additions & 2 deletions
4
test/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-2.1.md
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
4 changes: 2 additions & 2 deletions
4
...es/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-AC-2.md
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#NIST-800-53-AC-2 | ||
##Account Management | ||
# NIST-800-53-AC-2 | ||
## Account Management | ||
|
||
No information found for the combination of standard NIST-800-53 and control AC-2 |
4 changes: 2 additions & 2 deletions
4
...es/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-AC-6.md
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#NIST-800-53-AC-6 | ||
##Least Privilege | ||
# NIST-800-53-AC-6 | ||
## Least Privilege | ||
|
||
No information found for the combination of standard NIST-800-53 and control AC-6 |
4 changes: 2 additions & 2 deletions
4
...es/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-CM-2.md
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
4 changes: 2 additions & 2 deletions
4
...orts_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-1.1.1.md
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#PCI-DSS-MAY-2015-1.1.1 | ||
##A formal process for approving and testing all network connections and changes to the firewall and router configurations | ||
# PCI-DSS-MAY-2015-1.1.1 | ||
## A formal process for approving and testing all network connections and changes to the firewall and router configurations | ||
|
||
No information found for the combination of standard PCI-DSS-MAY-2015 and control 1.1.1 |
4 changes: 2 additions & 2 deletions
4
...xports_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-1.1.md
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
4 changes: 2 additions & 2 deletions
4
...xports_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-2.1.md
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