Package com.google.cloud.dns.testing

A testing helper for Google Cloud DNS.

See: Description

Package com.google.cloud.dns.testing Description

A testing helper for Google Cloud DNS.

A simple usage example: Before the test:

 // Minimum delay before processing change requests (in ms). Setting the delay to 0 makes change
 // request processing synchronous.
 long delay = 0;
 LocalDnsHelper dnsHelper = LocalDnsHelper.create(delay);
 dnsHelper.start();
 Dns dns = dnsHelper.options().service();
 

After the test:

 dnsHelper.stop();
 

Copyright © 2016 Google. All rights reserved.