Skip to content

Commit 57c26e8

Browse files
author
Ajay Kannan
committed
Add pkg info for dns
1 parent 249cac6 commit 57c26e8

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

2 files changed

+35
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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;

gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/testing/package-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
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:

0 commit comments

Comments
 (0)