File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
gcloud-java-dns/src/main/java/com/google/gcloud/dns/testing
gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/testing Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2016 Google Inc. All Rights Reserved.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ /**
18+ * A testing helper for Google Cloud DNS.
19+ *
20+ * <p>A simple usage example:
21+ * Before the test:
22+ * <pre> {@code
23+ * long delay = 0; // minimum delay in processing change requests (in ms)
24+ * LocalDnsHelper dnsHelper = LocalDnsHelper.create(delay);
25+ * Dns dns = dnsHelper.options().service();
26+ * dnsHelper.start();
27+ * } </pre>
28+ *
29+ * <p>After the test:
30+ * <pre> {@code
31+ * dnsHelper.stop();
32+ * } </pre>
33+ */
34+ package com .google .gcloud .dns .testing ;
Original file line number Diff line number Diff line change 2222 * <pre> {@code
2323 * LocalResourceManagerHelper resourceManagerHelper = LocalResourceManagerHelper.create();
2424 * ResourceManager resourceManager = resourceManagerHelper.options().service();
25+ * resourceManagerHelper.start();
2526 * } </pre>
2627 *
2728 * <p>After the test:
You can’t perform that action at this time.
0 commit comments