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 22refs/heads/master: 36a62ef856d199f8efd09501b5ba65c422c01f23
33refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44refs/heads/gh-pages: 7406918e071dd2c5677a638ae2a06e7592b6542c
5- refs/heads/pubsub-alpha: 249cac6d5093263a429336ac124f5380fafae2b0
5+ refs/heads/pubsub-alpha: 7849e6ea7dcbb5c4d38fe7c6278e67ed308a6177
66refs/heads/update-datastore: 47aae517c2cb33f1dccd909adaced73ec9d0f4df
77refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
88refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd
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