Commit Graph

2147 Commits

Author SHA1 Message Date
Neel Goyal 34d3f1f938 Fix for issue #67. return INVALID_PARAMETER if name, dict, or child dict are NULL 2014-01-10 10:09:07 -05:00
Neel Goyal 2c664e73fe Add the INVALID_PARAMETER return type 2014-01-10 09:58:33 -05:00
Craig E. Despeaux 413fcba9e3 Added tests for getdns_dict_set_dict() 2014-01-10 09:50:30 -05:00
Craig E. Despeaux b544ac2a00 Merge remote branch 'origin/develop' into feature/check_examples 2014-01-09 20:23:47 -05:00
Willem Toorop 069a49035d getdns_convert_fqdn_to_dns_name 2014-01-09 14:13:33 +01:00
Willem Toorop f305ac97da Stubs should be able to lookup AS112 zones 2014-01-09 13:44:31 +01:00
Willem Toorop d6118b4caa Allow null characters in wire fmt name -> fqdn 2014-01-09 13:41:41 +01:00
Willem Toorop 0b2d467420 Implement getdns_convert_dns_name_to_fqdn 2014-01-09 13:39:29 +01:00
Craig E. Despeaux 1856b6bb05 Fixed memory leaks found within tests 2014-01-08 14:50:43 -05:00
Craig E. Despeaux 5b9a09504a Added tests for getdns_dict_destroy() 2014-01-08 11:29:33 -05:00
Craig E. Despeaux d5f1a3fe4b Added tests for getdns_dict_get_int() 2014-01-07 14:49:04 -05:00
Craig E. Despeaux 7807d1ade0 Added tests for getdns_dict_get_bindata() 2014-01-07 13:44:39 -05:00
Craig E. Despeaux 9aef4f6e80 Added tests for getdns_dict_get_list() 2014-01-07 12:50:44 -05:00
Craig E. Despeaux 4301bb17c4 Fix more sloppiness, wrong function names in error messages for getdns_dict_get_dict() tests 2014-01-07 10:36:51 -05:00
Craig E. Despeaux 0f93bed1de Fixed suite name for getdns_dict_get_dict() tests 2014-01-07 10:32:48 -05:00
Craig E. Despeaux b1abc6e48c Added new tests for getdns_dict_get_dict() 2014-01-07 10:29:26 -05:00
Craig E. Despeaux 4fef4094a7 Added tests for getdns_dict_get_data_type() 2014-01-06 17:05:42 -05:00
Craig E. Despeaux 60d45dc5bc Fixed a comment line 2014-01-06 17:05:11 -05:00
Craig E. Despeaux 02ebe85773 Added tests for getdns_dict_get_names() 2014-01-06 15:51:11 -05:00
Craig E. Despeaux db507121cf Added tests for getdns_cancel_callback(). 2014-01-06 14:31:01 -05:00
Craig E. Despeaux c736df8a89 Added globals to support getdns_cancel_callback() tests.
Fixed macro evaluation problem in ASSERT_RC.
2014-01-06 12:59:43 -05:00
Craig E. Despeaux c8a7180a3a Added tests for context create and destroy 2014-01-02 13:46:23 -05:00
Craig E. Despeaux 6ae6ce3bbb GIT should ignore check_getdns 2014-01-02 13:45:48 -05:00
Craig E. Despeaux 0f1e27d0ba Merge remote branch 'origin/develop' into feature/check_examples 2014-01-02 13:43:23 -05:00
Melinda Shore 740ad82822 cast argument to getdns_convert_dns_name_to_fqdn() in example-reverse to char * to keep compiler happy 2013-12-31 17:05:52 -08:00
Glen Wiley 3248d223cd added prototype for remove_name 2013-12-27 09:35:47 -05:00
Craig E. Despeaux c18d406389 Implemented the rest of Neel's review feedback. 2013-12-20 16:47:59 -05:00
Craig E. Despeaux c1f7ced032 Implemented most of Neel's review feedback. 2013-12-20 14:08:19 -05:00
Craig E. Despeaux d9c3df6ce8 Added test suites for getdns_list_get_length() and getdns_list_get_data_type().
Removed any macros that performed variable declarations.
2013-12-20 11:20:57 -05:00
Craig E. Despeaux b35f533ce3 A little cleanup to eliminate some compile warnings. 2013-12-20 00:00:41 -05:00
Bryan Graham 181111fa69 delete check_getdns_address_sync.c check_getdns_general_sync.c 2013-12-19 19:44:54 -05:00
Bryan Graham 01c70b73c9 refactoring: check_getdns_common.h check_getdns_common.c check_getdns.c, tests are now in header files 2013-12-19 19:36:41 -05:00
Craig E. Despeaux 5e08bbc347 Removed debug related printf. 2013-12-19 09:42:36 -05:00
Craig E. Despeaux 09631e038b New source file for getdns_general and updates to getdns_general_sync. 2013-12-18 16:23:07 -05:00
Bryan Graham ae3b661ed9 added check_getdns_address_sync.c 2013-12-17 19:50:40 -05:00
Craig E. Despeaux 6d0bc40a13 Added unit test program that uses check. 2013-12-17 16:03:10 -05:00
Neel Goyal 8792fe63a2 Fix issue #44 - remove extra i++ 2013-12-13 15:49:26 -05:00
Neel Goyal cc8fc8aaf7 Fix a typo for issue #43 fix 2013-12-12 14:01:37 -05:00
Neel Goyal 52befefdf8 Merge branch 'develop' of github.com:verisign/getdns into develop 2013-12-12 14:00:04 -05:00
Neel Goyal 93211cc99a Fix for issue #43 - add additional header fields 2013-12-12 13:59:53 -05:00
Glen Wiley 46b584117a Merge branch 'develop' of https://github.com/verisign/getdns into develop 2013-12-12 07:45:27 -05:00
Glen Wiley aed5047216 updates to man pages 2013-12-12 07:45:07 -05:00
Melinda Shore 80e29b53bb reverted error text to spec 2013-12-11 18:06:53 -08:00
Willem Toorop d987ec0440 Update examples in the API specification
They are now actually working with our implementation
2013-12-11 23:55:35 +01:00
Willem Toorop 372c6772b0 Merge branch 'develop' of github.com:verisign/getdns into develop
Conflicts:
	src/test/Makefile.in
2013-12-11 23:45:47 +01:00
Willem Toorop f2739d7bcc Merge branch 'fix_examples' into develop 2013-12-11 23:43:22 +01:00
Willem Toorop 51f0299137 Fix example-reverse (and reverse_address)
From the example it is clear that network format addresses are expected for getdns_hostname*
2013-12-11 23:41:21 +01:00
Neel Goyal 0c0d5b63ae Remove a test that shouldn't have been added 2013-12-11 16:46:56 -05:00
Willem Toorop 8a8accea42 Copied examples from spec and fixed everything ;)
Well.. fixed the examples so they work and free memory
and fixed our code to return correct dict format with "just_address_answers"

Now tests are probably broken, and also the example-reverse needs some attention
2013-12-11 16:21:49 +01:00
Neel Goyal 1e9f716b6f Check for answer on getdns_list_get methods 2013-12-10 18:27:28 -05:00