MCPcopy Create free account
hub / github.com/google/go-cloud / MakeNonexistentTopic

Method MakeNonexistentTopic

pubsub/gcppubsub/gcppubsub_test.go:93–95  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

91}
92
93func (h *harness) MakeNonexistentTopic(ctx context.Context) (driver.Topic, error) {
94 return openTopic(h.pubClient, path.Join("projects", projectID, "topics", "nonexistent-topic")), nil
95}
96
97func (h *harness) CreateSubscription(ctx context.Context, dt driver.Topic, testName string) (ds driver.Subscription, cleanup func(), err error) {
98 // We may encounter subscriptions that were created by a previous test run

Callers

nothing calls this directly

Calls 1

openTopicFunction · 0.70

Tested by

no test coverage detected