File tree Expand file tree Collapse file tree
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 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+ * // Minimum delay before processing change requests (in ms). Setting the delay to 0 makes change
24+ * // request processing synchronous.
25+ * long delay = 0;
26+ * LocalDnsHelper dnsHelper = LocalDnsHelper.create(delay);
27+ * Dns dns = dnsHelper.options().service();
28+ * dnsHelper.start();
29+ * }</pre>
30+ *
31+ * <p>After the test:
32+ * <pre> {@code
33+ * dnsHelper.stop();
34+ * }</pre>
35+ */
36+ 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- * } </pre>
25+ * resourceManagerHelper.start();
26+ * }</pre>
2627 *
2728 * <p>After the test:
2829 * <pre> {@code
2930 * resourceManagerHelper.stop();
30- * } </pre>
31+ * }</pre>
3132 */
3233package com .google .gcloud .resourcemanager .testing ;
You can’t perform that action at this time.
0 commit comments