2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

13916 Commits

Author SHA1 Message Date
Mukund Sivaraman
70db0c50bf [2353] Change assertion type for dict 2012-12-05 13:30:33 +05:30
Mukund Sivaraman
609e5bf400 [2353] Explain why we throw after 15 recv()s, in a comment 2012-12-05 13:26:32 +05:30
Mukund Sivaraman
71cf0a22ba [2353] Test the env string in various tests 2012-12-05 11:15:20 +05:30
Mukund Sivaraman
40d54f7e2b [2353] Test the values of component registered by BoB.register_process() 2012-12-05 11:08:54 +05:30
Mukund Sivaraman
30e529ac56 [2353] Make test more deterministic 2012-12-05 11:01:30 +05:30
JINMEI Tatuya
9002ffc08e [2442] simplified interface; txt-like ctor only needs to take lexer. 2012-12-04 20:00:31 -08:00
JINMEI Tatuya
de92f31ea5 [2442] documentation updates 2012-12-04 19:52:22 -08:00
JINMEI Tatuya
20ca327e9b [2442] test for escaped characters 2012-12-04 19:30:15 -08:00
JINMEI Tatuya
ec4fcc7956 [2442] rejected extra \n for std::string version of txt-like ctor. 2012-12-04 19:26:40 -08:00
JINMEI Tatuya
8201bad569 [2442] added a test case for multi-line text input 2012-12-04 19:16:29 -08:00
JINMEI Tatuya
435309b12d [2442] reject empty text input; adjuted one test case accordingly 2012-12-04 19:10:57 -08:00
JINMEI Tatuya
5986149152 [2442] added another case of multi-string with mixture of not-quoted + no spc.
due to limitation of the current implementation it doesn't work right now,
so commented out; planning to create a ticket to fix the underlying issue.
2012-12-04 18:56:04 -08:00
JINMEI Tatuya
9bdc1899a2 [2442] added some test cases for txt-like rdata with multi-char-string 2012-12-04 14:51:45 -08:00
Marcin Siodelski
c831a1e66e [2491] Corrected the type of reference data.
With this fix we avoid narrowing conversion from signed to unsigned value.
2012-12-04 23:07:30 +01:00
JINMEI Tatuya
1780e7b66e [2442] make sure from-string version still throws InvalidRdataText on error. 2012-12-04 13:54:16 -08:00
Marcin Siodelski
238b343266 [2479] Remove unnecessary assignment. 2012-12-04 21:33:57 +01:00
Marcin Siodelski
e0c2fad347 [2479] Renabled tests that were affected by invalid paths to testdata. 2012-12-04 21:03:56 +01:00
Marcin Siodelski
501a5e3373 [2479] Use an absolute path to testdata directory. 2012-12-04 20:56:17 +01:00
Marcin Siodelski
dbf7313f6b [2479] Moved perfdhcp/template folder to perfdhcp/tests/testdata. 2012-12-04 20:29:20 +01:00
JINMEI Tatuya
d506b61e5f [2445] corrected copyright years for new files 2012-12-04 10:56:50 -08:00
JINMEI Tatuya
e66472386a [master] resolve additional conflicts due to change of token class name 2012-12-04 10:18:48 -08:00
JINMEI Tatuya
90641997b3 [master] Merge branch 'trac2506' 2012-12-04 09:58:54 -08:00
Jelte Jansen
38db6aff7d [2445] Make sure buffer is flushed in dhcp[46] stand-alone
even when -s was not given but it reverts to standalone because of a session error
2012-12-04 09:34:59 -08:00
JINMEI Tatuya
816eacf47e [2382] throw unexpected instead of assert on unexpected token in createRdata.
assert() should be okay, but that depends on details of other classes, so
exception is probably a bit safer.
2012-12-04 09:27:49 -08:00
Stephen Morris
1d4751ed52 [2513] Move libdhcpsrv.dox to the dhcpsrv directory 2012-12-04 17:27:27 +00:00
JINMEI Tatuya
09d70952ca [2382] added one suggested test: a case where RDATA is followed by comment 2012-12-04 09:22:44 -08:00
JINMEI Tatuya
6944e7758d [2382] unify pushing '\0' for number-like data in Number::handle() 2012-12-04 09:18:03 -08:00
JINMEI Tatuya
970ee33b88 [2382] corrected typo in doc for createRdata() 2012-12-04 09:10:56 -08:00
Tomek Mrugalski
d6fb00a319 [2325] ChangeLog updated. 2012-12-04 17:21:13 +01:00
Tomek Mrugalski
f2a03c4538 Merge remote-tracking branch 'origin/trac2325' into trac2325 2012-12-04 14:41:06 +01:00
Stephen Morris
8bc5490b0e [2396] Add methods to IOAddress: toBytes(), isV4() and isV6() 2012-12-04 13:23:07 +00:00
Tomek Mrugalski
936137b0b1 [2325] Remaining tests for RENEW implemented. 2012-12-04 13:49:04 +01:00
Tomek Mrugalski
cacc927a70 [2325] Option6IA::setIAID() implemented. 2012-12-04 13:46:41 +01:00
Michal 'vorner' Vaner
3da9d6198b [2378] Very basic test for copy between data sources
This is test for the ZoneLoader and its variant for testing copying
between two data sources. It includes some testing setups and mocks to
be reused in following tests.

Doesn't compile, undefined references to the tested methods.
2012-12-04 13:27:53 +01:00
Michal 'vorner' Vaner
549e44164f [2378] Interface of the ZoneLoader
Including documentation.
2012-12-04 13:27:53 +01:00
Marcin Siodelski
b1d0e42774 [2491] Corrected invalid initializer. 2012-12-04 13:15:45 +01:00
Michal 'vorner' Vaner
fd7f3a84f3 [2377] Defence of MasterLoader
Reject invalid parameters and invalid attempts to load twice.
2012-12-04 13:01:20 +01:00
Marcin Siodelski
fca9ec102d [2491] A few more comments added to a dhcp6_srv.cc. 2012-12-04 12:59:31 +01:00
Marcin Siodelski
ee0836a4c4 [2491] Added a few comments. 2012-12-04 12:52:36 +01:00
Marcin Siodelski
7c0a4abbb4 [2491] Added some more negative test cases to option_data_types_unittest. 2012-12-04 12:34:47 +01:00
Stephen Morris
8f6903dc06 [2404] Updated comments etc. 2012-12-04 11:32:08 +00:00
Michal 'vorner' Vaner
5ec0945ea8 [2377] Documentation for MasterLoader 2012-12-04 12:09:36 +01:00
Marcin Siodelski
9b8747917c [2491] Added some missing unit tests. 2012-12-04 12:06:18 +01:00
Michal 'vorner' Vaner
11ed5b5ca1 [2377] Handle expected errors
By catching all exceptions. It is questionable, if we want to do it that
way, but it seems to work at least for now.
2012-12-04 11:43:20 +01:00
Michal 'vorner' Vaner
ad9807ad75 [2377] Fix paths to test files 2012-12-04 11:09:18 +01:00
Mukund Sivaraman
1545ba5efd [master] Remove unnecessary namespace import 2012-12-04 15:09:17 +05:30
JINMEI Tatuya
e4036de3cb [2442] unified from std::string and with lexer ctro for text-like rdata.
some tests needed to be adjusted:
- ' ' * 256 (in python) now doesn't work as intended; they are considered
  space
- in auth tests, make sure txt RDATA containing a space is explicitly double
  quoted
- in Rdata_TXT_LIKE_Test::createFromText, removed the last test case because
  it's actually a valid representation as commented.  now the implementation
  correctly accepts it.
2012-12-03 23:21:06 -08:00
JINMEI Tatuya
3b154a6923 [master] removed duplicate listing of the same header file 2012-12-03 23:16:14 -08:00
JINMEI Tatuya
11bbe308df [master] added master_XXX header files include_HEADERS for libdns++
these are (indirectly) necessary for building external programs.
2012-12-03 23:10:52 -08:00
Mukund Sivaraman
aad4df7a66 [master] Sort .gitignore 2012-12-04 11:52:38 +05:30