0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
Commit Graph

527 Commits

Author SHA1 Message Date
Dwight
0c9212038d small cleanups 2009-10-06 16:17:11 -04:00
Eliot Horowitz
99fd09c2e9 some compat tests MINOR 2009-10-05 21:08:00 -04:00
Eliot Horowitz
d3ad7fa491 fix windows 2009-10-01 10:41:22 -04:00
Dwight
1b508836b5 link visual studio base64 2009-10-01 10:10:02 -04:00
Eliot Horowitz
1f622ad076 finish getting rid of boost base64 2009-10-01 09:49:17 -04:00
Eliot Horowitz
41a7ff05a7 counting fails twice 2009-10-01 08:35:04 -04:00
Eliot Horowitz
1bb3d4a004 fix base64 issue 2009-10-01 01:26:19 -04:00
Eliot Horowitz
cc2377b335 better debugging 2009-10-01 01:26:10 -04:00
Eliot Horowitz
aaf8754d31 better debugging 2009-10-01 01:25:53 -04:00
Eliot Horowitz
f7bfd1192c base64 decode 2009-09-30 23:32:28 -04:00
Eliot Horowitz
fdd776a50a simple base64::encode 2009-09-30 23:08:33 -04:00
Dwight
04515195f8 fix compile windows 2009-09-30 15:23:56 -04:00
unknown
74aefcc405 test project 2009-09-30 14:32:26 -04:00
unknown
7153023470 win pre-compild headers 2009-09-30 14:32:17 -04:00
Eliot Horowitz
8058f0b7f3 trying to get dbtests running on win 2009-09-30 11:58:44 -04:00
Eliot Horowitz
9d0c7e66a3 some debugging 2009-09-30 10:30:25 -04:00
Eliot Horowitz
b302244b0a don't use assert b/c of windows 2009-09-30 10:08:58 -04:00
Eliot Horowitz
9359676af4 test for reIndex command 2009-09-29 10:18:14 -04:00
Eliot Horowitz
c2c136a3f2 don't use any files for external sort if its in 1 chunk 2009-09-25 11:22:43 -04:00
Eliot Horowitz
ab135dd2f4 a unit test that already passes 2009-09-25 11:11:48 -04:00
Eliot Horowitz
c9d513ffd3 fix framework a tiny bit 2009-09-25 10:56:56 -04:00
Eliot Horowitz
29821161c1 soem test framework improvements 2009-09-25 10:46:49 -04:00
Dwight
90aa429845 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-24 17:47:43 -04:00
Dwight
0c5d8a7b3f build indexes bottom up
Merge branch 'master' of git@github.com:mongodb/mongo

Conflicts:

	db/extsort.cpp
2009-09-24 17:47:13 -04:00
Eliot Horowitz
8b91377b09 dropIndex, dropIndexes, getIndexes, reIndex for c++ driver SERVER-314 2009-09-24 17:41:09 -04:00
Eliot Horowitz
d1ba3c244a dwight's test 2009-09-24 17:17:11 -04:00
Dwight
7a6f8d2398 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/pdfile.cpp
2009-09-24 17:13:52 -04:00
Eliot Horowitz
56698dc313 return Iterator * 2009-09-24 17:04:44 -04:00
Dwight
86f4a5480a Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-24 14:22:28 -04:00
Dwight
6cf3d75d08 btreebuilder work / temp commit 2009-09-24 12:11:55 -04:00
Eliot Horowitz
6d258c54de sort by obj,diskloc SERVER-291 2009-09-24 11:57:45 -04:00
Mike Dirolf
5f21ef37f7 minor: a version that builds with boost 1.33.1 2009-09-21 13:01:06 -04:00
Mike Dirolf
be84f05356 minor: more compatibility for old versions of boost 2009-09-21 12:43:45 -04:00
Mike Dirolf
f20838c3f3 minor: use is_directory for old versions of boost 2009-09-21 12:02:45 -04:00
Mike Dirolf
42081471db don't remove and recreate data directory for tests, just remove contents 2009-09-21 11:51:06 -04:00
Mike Dirolf
91b5884ffe minor: just use std::runtime_error to be compatable with older versions of boost 2009-09-18 18:30:19 -04:00
Mike Dirolf
4a3c382889 minor: ignore errors when resetting unittest directory, for joyent buildslave 2009-09-18 18:14:15 -04:00
Mike Dirolf
c2f6c92778 minor: oops move include 2009-09-18 17:48:30 -04:00
Mike Dirolf
a3ddeea651 move CLI related stuff out of dbtests and perftest and into framework 2009-09-18 17:38:07 -04:00
Mike Dirolf
9843186141 minor: whitespace 2009-09-18 16:34:02 -04:00
Eliot Horowitz
5e8ddfa4e3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-18 14:36:21 -04:00
Eliot Horowitz
5d08c9eb22 perftests to new unit test framework 2009-09-18 14:33:21 -04:00
Mike Dirolf
a2261b1eb6 minor: specify mongo namespace to avoid clash on windows 2009-09-18 14:26:15 -04:00
Mike Dirolf
53e89efce6 minor: whitespace 2009-09-18 14:25:23 -04:00
Mike Dirolf
35e2907814 minor: don't try to demangle on windows - no abi 2009-09-18 14:24:10 -04:00
Mike Dirolf
8f1e6bb3bf use boost::program_options for test runner 2009-09-18 13:55:58 -04:00
Mike Dirolf
e86a0840aa minor: whitespace 2009-09-18 13:55:58 -04:00
Eliot Horowitz
34e48aaf5d new unit test framework 2009-09-17 17:23:38 -04:00
Eliot Horowitz
03404026b9 external srot for BSONObj and DiskLoc SERVER-291 2009-09-16 15:26:18 -04:00
Eliot Horowitz
0c0a3893e4 option to appendOID to gen _id 2009-09-15 14:50:17 -04:00
Mike Dirolf
94f07156f7 update parser for new strict ObjectId JSON format. allow $id in field names since we need to for new-style DBRefs. 2009-09-15 12:14:00 -04:00
Mike Dirolf
163db42954 failing test for new style dbrefs 2009-09-15 12:14:00 -04:00
Mike Dirolf
bde9da79b6 minor: whitespace 2009-09-15 12:13:47 -04:00
Eliot Horowitz
0cb4b01795 fix SERVER-282 - BSONObj::extractFields 2009-09-09 12:25:02 -04:00
Eliot Horowitz
927078af78 normalize sort order - put null first 2009-09-09 11:51:23 -04:00
Eliot Horowitz
e9e472c119 whitespace and tests for SERVER-282 b/c i made a git mistake 2009-09-09 09:49:27 -04:00
Eliot Horowitz
4e225bb303 some tests for SERVER-282 2009-09-09 09:48:37 -04:00
Eliot Horowitz
1f69aa1f1b forgot to commit tests for $pop and repl SERVER-100 2009-09-07 23:44:12 -04:00
Aaron
04c9565d4d add Pop and PopReverse tests for SERVER-260 2009-09-07 14:19:41 -07:00
Aaron
4a7330fd22 SERVER-100 generate precise btree intervals in FieldRangeSet::indexBounds 2009-09-07 13:49:22 -07:00
Aaron
6840c4e03a SERVER-100 checkpoint move index bounding code to FieldRangeSet 2009-09-07 11:44:41 -07:00
Aaron
05b8207cc0 MINOR SERVER-100 specific tests for FieldBound operations 2009-09-07 10:39:32 -07:00
Aaron Staple
b4ed11064c SERVER-100 checkpoint FieldRange more fine grained bounds using 2009-09-06 20:34:28 -07:00
Eliot Horowitz
08fcfcb34c use canonicalType in a couple more places - make symbol test work 2009-08-27 10:19:58 -04:00
Eliot Horowitz
5a732ac0e2 symbol test not working yet 2009-08-27 09:41:56 -04:00
Eliot Horowitz
d0a925b7e4 null is now after Int 2009-08-25 12:24:51 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
Eliot Horowitz
360dc900a0 test for broken indexing thing - doesn't assert - just prints 2009-08-25 02:24:27 -04:00
Aaron Staple
9fd0168eff SERVER-100 checkpoint field range organization improvements 2009-08-11 16:43:30 -04:00
Aaron Staple
714de2af68 SERVER-100 checkpoint btree cursor can take multiple ranges 2009-08-11 16:42:27 -04:00
Eliot Horowitz
01ff742b4e changed dbpath to std::string 2009-08-11 14:29:03 -04:00
Aaron Staple
671cf3ddd4 MINOR merge / fix namespace test failure 2009-08-11 02:36:38 -04:00
Aaron Staple
63b8f32e13 Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-11 01:43:03 -04:00
Eliot Horowitz
af27a6594d append(Min|Max)ForType - so that range queries can be made smarter SERVER-177 2009-08-10 17:08:43 -04:00
Eliot Horowitz
1e5118fac5 make dbtest shutdown cleanly 2009-08-06 11:32:35 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Aaron Staple
137f185298 SERVER-62 generate keys for more complex array arrangements, also ensure generation of null key and semi-null keys 2009-08-03 14:32:23 -04:00
Eliot Horowitz
6746cd2493 get rid of Option_ALLFLAGS 2009-07-29 11:16:33 -04:00
Eliot Horowitz
0c46e6dd8f change boost includes around for compatability 2009-07-24 10:53:46 -04:00
Aaron Staple
d5b720a5e6 Merge branch 'master' of git@github.com:mongodb/mongo 2009-07-22 17:30:42 -04:00
Aaron Staple
c477ed3a15 bug SERVER-132 implemented pullAll/pushAll modifiers 2009-07-21 18:37:30 -04:00
Eliot Horowitz
f6aebb421f update tests to match array matching change MINOR 2009-07-17 16:02:25 -04:00
Aaron Staple
1a600bd3b2 BUG SERVER-130 pull modifier implemented 2009-07-15 17:05:38 -04:00
Dwight
b4f0a2c1fb fix broken test file from last commit 2009-07-07 14:12:53 -04:00
Eliot Horowitz
7bb37b3fd2 fix $(gl)te? scanning for numeric indexes SERVER-99 2009-07-06 10:42:22 -04:00
Eliot Horowitz
70fcf37769 cimpile IdSet MINOR 2009-07-02 20:18:39 -04:00
Eliot Horowitz
bc7a53daf4 make warning show up in buildbot if triggered MINOR 2009-06-30 13:46:12 -04:00
Eliot Horowitz
ea32d7806c fix $in with NumberInt, NumberDouble SERVER-113 2009-06-24 14:03:35 -04:00
Eliot Horowitz
004cd26dee fix appending BSONElement via << 2009-06-13 23:30:03 -04:00
Eliot Horowitz
7c8f6d5b1c add var test that already worked MINOR 2009-06-11 20:15:01 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
d2bbdd7941 BinData for spider monkey SERVER-97 2009-06-05 09:54:35 -04:00
Eliot Horowitz
b2defb1b7e db ref for javascript and shell SERVER-46 2009-06-03 13:18:50 -04:00
Eliot Horowitz
d6811aaaad CodeWScope SERVER-80 2009-06-01 12:53:24 -04:00
Aaron
6a2a8d385f comments MINOR 2009-05-28 15:22:24 -04:00
Aaron
c03a7186cf file allocator compile windows MINOR 2009-05-28 12:59:27 -04:00
Eliot Horowitz
e2120ef09f solaris compile MINOR 2009-05-27 17:40:20 -04:00
Aaron
5c51afc737 correctly escape backslashes in test MINOR 2009-05-27 17:32:22 -04:00
Aaron
3b2ecb5ff0 sm correctly read strings as utf8 even if JS_EncodeCharacters doesn't work as documented 2009-05-27 16:09:59 -04:00
Aaron
5d113ff1d0 test cleanup MINOR 2009-05-27 15:43:26 -04:00
Aaron
e7da7d51cb add utf8 round trip test MINOR 2009-05-27 15:40:57 -04:00
Aaron
6eef769974 simple sm utf8 check 2009-05-27 15:20:09 -04:00
Aaron
6ba27c1133 remove js encoding test MINOR 2009-05-27 14:50:41 -04:00
Aaron
f2920fa2a8 sm encoding checkpoint 2009-05-27 14:31:23 -04:00
Aaron
9333c5e06f sm encoding checkpoint 2009-05-26 18:33:25 -04:00
Aaron
9b622e6fc1 merge 2009-05-26 17:54:15 -04:00
Aaron
0b9432e6b9 sm encoding checkpoint 2009-05-26 16:04:07 -04:00
Aaron
5f4cb7b25c Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-26 15:58:47 -04:00
Aaron
11baa3226f fix tests MINOR 2009-05-26 15:58:32 -04:00
Eliot Horowitz
c0fef5d2ab don't translate sm -> bson if object hasn't been modified
SERVER-70
2009-05-26 14:43:20 -04:00
Eliot Horowitz
833991e131 tests and asserts MINOR 2009-05-23 21:10:37 -04:00
Eliot Horowitz
5eb08a4478 change min/max to minKey maxKey 2009-05-22 15:05:13 -04:00
Eliot Horowitz
21d0868873 Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-22 10:48:58 -04:00
Eliot Horowitz
2eddff58bb conserver types when doing bson -> js -> bson as much as possible 2009-05-22 10:48:05 -04:00
Aaron
d8e129c8ab BUG SERVER-67 correctly handle insertion of new null element with $set 2009-05-22 10:46:33 -04:00
Aaron
9d44b312f0 BUG SERVER-59 when matching expand arrays recursively if contained in different objects 2009-05-21 13:24:14 -04:00
Eliot Horowitz
ed74bbf25a more weird js syntax handling 2009-05-21 10:05:26 -04:00
Aaron
85c396b10c Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-20 11:39:22 -04:00
Aaron
da7a9b3f71 make tools capable of running standalone, without a mongod instance 2009-05-20 11:39:12 -04:00
Aaron
f80d887a78 BUG SERVER-58 fix embedded array matching 2009-05-20 10:54:23 -04:00
Aaron
3c9ffd3e34 fix compile warnings MINOR 2009-05-15 13:32:31 -04:00
Eliot Horowitz
2db1e0ca72 Merge branch 'smshell'
Conflicts:
	jstests/count.js
	scripting/engine_spidermonkey.cpp
2009-05-15 13:10:55 -04:00
Eliot Horowitz
7b0777cb01 Spider Monkey: Timestamp, MaxKey, MinKey working 2009-05-15 09:19:13 -04:00
Eliot Horowitz
33e7a6538e Spider Monkey: more types - almost working 2009-05-15 08:31:11 -04:00
Eliot Horowitz
088f487c2a only strings for $where 2009-05-14 16:50:14 -04:00
Eliot Horowitz
60f76f524f sm regex -> bson 2009-05-14 16:11:01 -04:00
Eliot Horowitz
a27d79d7a7 some regex tests, 1 broken out commented out 2009-05-14 15:48:53 -04:00
Eliot Horowitz
4e781fbf5e test for date 2009-05-14 15:34:14 -04:00
Aaron
5700a5040d include query fields generating trivial bounds in exact key match check 2009-05-13 18:09:25 -04:00
Aaron
68b1edd0b0 for exact key match, query and index fields must be identical sets 2009-05-13 11:27:47 -04:00
Aaron
b9a2a82837 get rid of unused 'keyMatch' annotation in query optimizer 2009-05-13 11:17:24 -04:00
Aaron
a86e51d635 try to fix solaris compile MINOR 2009-05-12 16:54:07 -04:00
Aaron
b7182b610a reset shared database after each test suite MINOR 2009-05-12 16:37:23 -04:00
Aaron
d9129f8cb2 unit tests use same database to reduce disk usage 2009-05-12 15:58:26 -04:00
Aaron
48a4dab4dc compile linux MINOR 2009-05-11 14:10:15 -04:00
Aaron
39a974f354 lock unit test dbpath 2009-05-11 14:01:09 -04:00
Aaron
1276b9141a fix size dependent IdSet tests to work on 64bit builds MINOR 2009-05-11 11:23:43 -04:00
Aaron
600206b125 fix compile warning MINOR 2009-05-11 11:07:11 -04:00
Aaron
d4a976fd1a hold dblock throughout test to allow proper shutdown MINOR 2009-05-11 10:55:05 -04:00
Aaron
bafb23302e merge 2009-05-11 10:50:15 -04:00
Aaron
f077e9f75d add cursortests 2009-05-11 10:49:30 -04:00
Eliot Horowitz
f175443ac4 Spider Monkey: bson object cleaning 2009-05-09 22:07:36 -04:00
Aaron
6ebf10766c fix compile warning MINOR 2009-05-08 15:54:26 -07:00
Aaron
e3737f8bc8 Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-08 15:43:01 -07:00
Aaron
fb0746fda6 generate simplified key to match query with simple bounds 2009-05-08 15:42:50 -07:00
Eliot Horowitz
439593bc60 fix hack for java MINOR 2009-05-08 17:22:01 -04:00
Eliot Horowitz
d9a00a89e4 turn off a test that doesn't work on java for now 2009-05-08 17:04:07 -04:00
Eliot Horowitz
d0470d437c Spider Monkey: ObjectId 2009-05-08 11:02:12 -04:00
Eliot Horowitz
76440fd5c5 Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-06 15:30:37 -04:00