Michal 'vorner' Vaner
89c5952722
[1924] Remove BUILT_SOURCES from CLEANFILES
2013-02-08 11:21:18 +01:00
Michal 'vorner' Vaner
266bf8571b
[1924] (minor) Clarify a doc comment
2013-02-08 11:18:06 +01:00
Michal 'vorner' Vaner
3a07d07e04
[1924] Less confusing parameter names for sendmsg
...
Changed to header and payload, which removes the confusion of the first
part message being called env and the other called msg in one send and
the first being msg (and the second omitted) in the second case.
2013-02-08 11:16:15 +01:00
Michal 'vorner' Vaner
6c5b161b7b
[1924] Reuse common test code
2013-02-08 11:07:09 +01:00
Michal 'vorner' Vaner
c45a2112f2
[1924] Return failure explicitly
2013-02-08 10:43:07 +01:00
Michal 'vorner' Vaner
e15ccdfa19
[1924] (minor) Comment tweaks
2013-02-08 10:42:32 +01:00
JINMEI Tatuya
2832cc0703
[1924] style fixes: avoided long lines
2013-02-07 22:57:43 -08:00
JINMEI Tatuya
3a8141cf7b
[2679] cleanup: removed a redundant white space
2013-02-07 22:18:01 -08:00
JINMEI Tatuya
dc4af29ccb
[2679] cleanup: consolidate two RRsetCollection test fixtures.
...
on a closer look they are mostly identical, and can be unified with
some updates to the test cases. reducing the number of fixtures will
simply the public interface of the tests.
2013-02-07 21:49:23 -08:00
JINMEI Tatuya
3e06e05268
[2679] more documentation
2013-02-07 21:08:13 -08:00
JINMEI Tatuya
16930b0bae
[2679] moved def of JournalEntry inside .cc; it's not needed for test users.
2013-02-07 20:31:33 -08:00
Mukund Sivaraman
1a80b1dd71
[2672] Rename _ERR suffix to _ERROR in message IDs
2013-02-08 09:56:37 +05:30
JINMEI Tatuya
4694c98d55
[2679] added some documentation
2013-02-07 20:12:55 -08:00
Mukund Sivaraman
11633f6c60
[2281] Enable factory test for static DS with bad zone file
2013-02-08 09:42:45 +05:30
JINMEI Tatuya
4f5d524dd6
[2679] extracted non-sqlite3-specific param logic into sharable utility funcs
...
so that they can be used by other accessor implementations.
2013-02-07 19:30:08 -08:00
JINMEI Tatuya
eb018c9d3c
[2679] extracted sqlite3 specific setup into a separate file.
2013-02-07 19:16:38 -08:00
JINMEI Tatuya
b2ac76a62e
[2679] extracted test fixture classes into a separate header file.
...
along with declarations of some common test data. this is for making it
easier to share the test cases with various database accessor implementations.
to resolve inter-class dependencies there are some non trivial changes
(e.g. moving in-class definitions to out-of-class ones in .cc), but this
is basically reordering existing code. no behavior change.
2013-02-07 15:33:49 -08:00
JINMEI Tatuya
59c744cf48
[master] Merge branch 'trac1725'
2013-02-07 13:55:01 -08:00
JINMEI Tatuya
e931cdc9d8
[1924] prioritize a method where possible.
2013-02-07 12:24:52 -08:00
JINMEI Tatuya
2c51eb144d
[1924] constify, adjusted position of '&'
2013-02-07 12:18:49 -08:00
JINMEI Tatuya
b13d755de9
[1924] cancel a constify; recent change does not allow that any more.
2013-02-07 11:39:03 -08:00
JINMEI Tatuya
7f8ec08cfd
[1924] Merge remote-tracking branch 'origin/trac1914' into trac1924
...
fixed Conflicts:
src/lib/cc/tests/session_unittests.cc
2013-02-07 11:25:13 -08:00
Tomek Mrugalski
b5e2be95d2
[2697] Another fix for empty client-id, this time in MySQL LeaseMgr
2013-02-07 16:58:41 +01:00
Tomek Mrugalski
1d6a2e3fb2
[2697] Lease4::operator== is now safe to use for leases without client-id
2013-02-07 15:28:36 +01:00
Mukund Sivaraman
899432b47a
[2281] Don't use memory source from the factory
2013-02-07 18:38:41 +05:30
Mukund Sivaraman
c30f889cf9
[2281] Don't link to libdatasrc_memory from the static data source
...
This causes problems when the factory dlclose()es modules (the logger
gets finalized).
2013-02-07 18:38:14 +05:30
Mukund Sivaraman
3a9d8e2406
[2281] Remove unused message IDs and move some others to datasrc::memory
2013-02-07 18:28:17 +05:30
Stephen Morris
9645476425
[2681] Handle exceptions thrown when unable to allocate an address
...
Explicit allocation failures cause the return of packet to the client
indicating that the address allocation has been refused. Also added
was a "catch" for other exceptions - this causes the packet from the
client that generated the exception to be ignored.
2013-02-07 12:49:56 +00:00
Michal 'vorner' Vaner
8a17ce75a1
[1924] Reuse similar test code
2013-02-07 13:01:05 +01:00
Michal 'vorner' Vaner
880db2ba39
[1924] Pydoc comment for the group_sendmsg method.
2013-02-07 11:07:16 +01:00
Michal 'vorner' Vaner
60b36bdabd
[1924] Combine the elementsEqual variants together
...
One of them is a relict of previous tests and is no longer needed, so
have only one.
2013-02-07 10:59:53 +01:00
Michal 'vorner' Vaner
d437aee8f3
[1924] Get rid of IO test code
...
It isn't used any more and it is complicated, so remove it.
2013-02-07 10:51:58 +01:00
Mukund Sivaraman
fbaab5fd3c
[2281] Remove the old in-memory data source code
2013-02-07 13:13:29 +05:30
JINMEI Tatuya
f866170c9a
[2679] complete conversion to param tests.
...
it also fixed some intermediate regression: accessor creation and some
other setups that depend on the accessor should be more carefully
customized.
2013-02-06 22:42:36 -08:00
Mukund Sivaraman
60a9f3a768
[2281] Use the new in-memory data source for the static data source
2013-02-07 12:12:22 +05:30
Mukund Sivaraman
a12aed4bde
[2672] Remove ERROR from various message IDs where not applicable
2013-02-07 10:34:34 +05:30
Mukund Sivaraman
ac75b8db7b
[2672] Remove unused message ID
2013-02-07 10:14:06 +05:30
Mukund Sivaraman
3fa52fbaed
[2672] Fix duplicate use of message ID
...
This is not allowed by our coding style. Use the correct message ID
instead (which was previously unused).
2013-02-07 10:11:37 +05:30
Mukund Sivaraman
55f8f41062
[2672] Make some comment updates fixing spelling, etc.
2013-02-07 10:09:48 +05:30
Mukund Sivaraman
4d6818eb58
[2672] Remove unused message ID
2013-02-07 10:03:28 +05:30
JINMEI Tatuya
b20cc153bc
[2679] converted all database tests to parameterized tests.
2013-02-06 20:13:42 -08:00
JINMEI Tatuya
4792e513f5
[2679] more conversion
2013-02-06 20:02:00 -08:00
JINMEI Tatuya
79f65e1240
[2679] some more conversion from typed tests to param tests.
2013-02-06 19:56:19 -08:00
JINMEI Tatuya
905792e579
[2679] move enableNSEC3 logic to the parameter. now remove TestSQLite3Accessor.
2013-02-06 19:46:52 -08:00
JINMEI Tatuya
b68752a7e4
[2679] converted some of TYPED_TESTs to TEST_P.
...
also performed comprehensive keyword substitution (TYPED_TESTs to TEST_P,
remove unnecessary 'this->'), although a large amount of code is still
'#if 0'-ed.
2013-02-06 19:24:20 -08:00
JINMEI Tatuya
b4546edb41
[2679] use param-test for database tests, 1st step: some setup.
...
the test fixture is now changed to a value-parameterized test, but test
cases are currently just '#if 0'-ed.
2013-02-06 18:50:44 -08:00
JINMEI Tatuya
530f569e47
[master] Merge branch 'trac2145'
...
fixed Conflicts:
src/bin/bind10/bind10.in
2013-02-06 10:31:09 -08:00
JINMEI Tatuya
da67c0642c
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
...
commit.
2013-02-06 10:22:33 -08:00
JINMEI Tatuya
6f83737a9b
[master] added redundant 'const' in a function declaration to help SunStudio.
...
It insists signature match between declarations and definitions even with such
unnecessary qualifiers, and fails to link due to a false-positive
"undefined symbol" at the link time.
2013-02-06 18:10:05 +00:00
JINMEI Tatuya
4c439a4cca
[master] added changelog for #1866
2013-02-06 10:06:00 -08:00