MCPcopy
hub / github.com/cloudfoundry/cli / buildV3Resource

Function buildV3Resource

actor/v7pushaction/actualize_test.go:31–37  ·  view source on GitHub ↗

TODO: for refactor: We can use the following style of code to validate that each event is received in a specific order Expect(nextEvent()).Should(Equal(SettingUpApplication)) Expect(nextEvent()).Should(Equal(CreatingApplication)) Expect(nextEvent()).Should(Equal(...)) Expect(nextEvent()).Should(Equa

(name string)

Source from the content-addressed store, hash-verified

29// Expect(nextEvent()).Should(Equal(...))
30
31func buildV3Resource(name string) sharedaction.V3Resource {
32 return sharedaction.V3Resource{
33 FilePath: name,
34 Checksum: ccv3.Checksum{Value: fmt.Sprintf("checksum-%s", name)},
35 SizeInBytes: 6,
36 }
37}
38
39var _ = Describe("Actualize", func() {
40 var (

Calls

no outgoing calls

Tested by

no test coverage detected