tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
X\¬Qc@sùddlZddlZddlZddlmZmZmZmZdejfd„ƒYZ    de    fd„ƒYZ
de    fd„ƒYZ d    e    fd
„ƒYZ d e    fd „ƒYZ d e    fd„ƒYZd„ZedkrõejddƒndS(iÿÿÿÿN(tdbt test_supporttget_new_environment_pathtget_new_database_pathtDBcBseZd„Zd„ZRS(cCstƒ|_tjƒ|_dS(N(RtpathRR(tself((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pytsetUp
s cCs'|jjƒ|`tj|jƒdS(N(RtcloseRtunlinkR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttearDowns (t__name__t
__module__RR
(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyR    s    t
DB_generalcBsSeZd„Zd„Zd„Zd„ZejƒdkrHd„Znd„Z    RS(    cCsE|jj|jdtjdtjƒ|jtj|jjƒƒdS(Ntdbtypetflags(RtopenRtDB_HASHt    DB_CREATEt assertEqualtget_open_flags(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_get_open_flagss%cCsS|jj|jdtjdtjtjBƒ|jtjtjB|jjƒƒdS(NRR(RRRRRt    DB_THREADRR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_get_open_flags2s! cCsK|jj|jdtjdtjƒ|j|jdf|jjƒƒdS(NRR(RRRRRRtNonet
get_dbname(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_get_dbname_filenames%cCsid}|jj|jd|dtjdtjƒ|j|j|f|jjƒƒd„}d„}dS(Nsjcea-random-nametdbnameRRcSsGx@dddgD]/}|jj|ƒ|j||jjƒƒqWdS(Niili(Rt set_bt_minkeyRt get_bt_minkey(Rti((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_bt_minkey'scSsr|jjdƒ|jd|jjƒƒ|jjdƒ|jd|jjƒƒ|jtj|jjdƒdS(NiÒiáiÞ#(Rt
set_lorderRt
get_lordert assertRaisestDBInvalidArgError(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_lorder,s
(RRRRRRR(RtnameRR$((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt!test_get_dbname_filename_database!s !
"    iicCsbtjtjtjtjtjg}x7|D]/}|jj|ƒ|j||jjƒƒq+WdS(N(    RtDB_PRIORITY_VERY_LOWtDB_PRIORITY_LOWtDB_PRIORITY_DEFAULTtDB_PRIORITY_HIGHtDB_PRIORITY_VERY_HIGHt set_priorityRt get_priority(RRtflag((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_priority4s     cCsU|j|jjƒƒ|jj|jdtjdtjƒ|j|jjƒƒdS(NRR(t assertFalseRtget_transactionalRRRR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_get_transactional<s%(ii(
R R RRRR&RtversionR/R2(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyR s                 tDB_hashcBs#eZd„Zd„Zd„ZRS(cCsGx@dddgD]/}|jj|ƒ|j||jjƒƒqWdS(Niii(Rt set_h_ffactorRt get_h_ffactor(Rtffactor((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_h_ffactorBscCsUxNdddgD]=}|dd}|jj|ƒ|j||jjƒƒqWdS(Niiii(Rt set_h_nelemRt get_h_nelem(Rtnelem((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_h_nelemGscCs‰xJtddƒD]9}d|>}|jj|ƒ|j||jjƒƒqW|jtj|jjdƒ|jtj|jjdƒdS(Ni    iiiii(txrangeRt set_pagesizeRt get_pagesizeR"R#(RR((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_pagesizeMs 
(R R R8R<R@(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyR4As        tDB_txncBs#eZd„Zd„Zd„ZRS(cCsbtƒ|_tjƒ|_|jj|jtjtjBtjBtj    Bƒtj
|jƒ|_dS(N( RthomeDirRtDBEnvtenvRRt DB_INIT_MPOOLt DB_INIT_LOGt DB_INIT_TXNR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyRZs
 cCsC|jjƒ|`|jjƒ|`tj|jƒd„}dS(NcSsi|jjtjƒ|jtj|jjƒƒ|jjtjƒ|jtjtjB|jjƒƒdS(N(Rt    set_flagst    DB_CHKSUMRt    get_flagstDB_TXN_NOT_DURABLE(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt
test_flagshs
(RRRDRtrmtreeRB(RRL((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyR
as   cCsY|j|jjƒƒ|jjddtjdtjtjBƒ|j|jjƒƒdS(NtXXXRR(R0RR1RRRtDB_AUTO_COMMITt
assertTrue(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyR2os(R R RR
R2(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyRAYs        tDB_recnocBs#eZd„Zd„Zd„ZRS(cCsŠxCddgD]5}|jj|ƒ|jt|ƒ|jjƒƒq Wx=ddgD]/}|jj|ƒ|j||jjƒƒqSWdS(Nt t*iaiA(Rt
set_re_padRtordt
get_re_pad(RR((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_re_padws #cCsŠxCddgD]5}|jj|ƒ|jt|ƒ|jjƒƒq Wx=ddgD]/}|jj|ƒ|j||jjƒƒqSWdS(NRRRSiaiA(Rt set_re_delimRRUt get_re_delim(RR((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_re_delims #cCsGx@dddgD]/}|jj|ƒ|j||jjƒƒqWdS(Nttestttest2ttest3(Rt set_re_sourceRt get_re_source(RR((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_re_source‡s(R R RWRZR`(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyRQvs        tDB_queuecBseZd„Zd„ZRS(cCsJxCddddgD]/}|jj|ƒ|j||jjƒƒqWdS(Ni!iAi,iÐ(Rt
set_re_lenRt
get_re_len(RR((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt test_re_lenscCsGx@dddgD]/}|jj|ƒ|j||jjƒƒqWdS(Nii<id(Rtset_q_extentsizeRtget_q_extentsize(RR((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyttest_q_extentsize’s(R R RdRg(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyRaŒs    cCs~tjƒ}|jtjtƒƒ|jtjtƒƒ|jtjtƒƒ|jtjtƒƒ|jtjtƒƒ|S(N(    tunittestt    TestSuitetaddTestt    makeSuiteR RAR4RQRa(tsuite((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt
test_suite—s t__main__t defaultTestRm(Rhtostglobttest_allRRRRtTestCaseRR R4RARQRaRmR tmain(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/bsddb/test/test_db.pyt<module>s "
.