0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

176 Commits

Author SHA1 Message Date
Aaron
d876749063 Add remove tests 2009-01-23 15:14:27 -05:00
Aaron
0aeff762e7 Reinstate InsertTwo test 2009-01-23 11:52:31 -05:00
Aaron
a3f927ffed Add idempotence tests for some oplog operations 2009-01-23 10:17:29 -05:00
Aaron
c1b8c2669b Parse both hex characters of each byte 2009-01-22 16:38:02 -05:00
Aaron
046e7f9acf Add HostByName test 2009-01-21 15:50:49 -05:00
Aaron
0f586a5a11 Add negative element size test 2009-01-21 10:58:53 -05:00
Aaron
a816e54816 Add 'fields' spec to cmd run count 2009-01-21 10:36:40 -05:00
Aaron
c777160f0f Fix simple match spec for encapsulating elements and numbers 2009-01-20 16:54:57 -05:00
Aaron
201734cfa7 Matcher only reject incompatible types if not numbers 2009-01-20 15:44:40 -05:00
Aaron
45b5c44f41 Merge jsobj.h changes 2009-01-19 09:37:29 -05:00
dwight
e4b9bfcf5d fix dbtests for my renaming 2009-01-18 19:40:25 -05:00
Aaron
75c6ef332d Try a short object too 2009-01-18 13:15:44 -05:00
Aaron
aadb251731 Patch some more holes in BSON validation 2009-01-18 13:11:43 -05:00
Aaron
57b78fd144 Allow random seed spec 2009-01-17 10:25:56 -05:00
Aaron
9114640a56 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-17 09:12:43 -05:00
Aaron
204da5d094 Add more interesting fuzz tests, move json tests into separate file 2009-01-17 08:57:27 -05:00
Eliot Horowitz
1f27383fc2 oid parsing, slight better random 2009-01-17 00:20:47 -05:00
Aaron
b36a643a54 Disable BigCollection test 2009-01-16 17:36:48 -05:00
Aaron
cd8f315538 Just use a char 2009-01-16 16:51:06 -05:00
Aaron
980ce5a396 Add tests for BSON validating randomized bitstreams 2009-01-16 16:40:46 -05:00
Aaron
1c2b23bb0f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-16 15:15:33 -05:00
Aaron
1524c3e44b Enhance BSONObj::validate() 2009-01-16 15:13:46 -05:00
Eliot Horowitz
004db2d6fe incorrect implementation of OID 2009-01-16 14:21:46 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
e5db6b0d39 Allow compiler on Hudson to 'extern' variables in mongo namespace 2009-01-14 18:40:19 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
64cc93ac22 Merge jsobj.h changes 2009-01-14 14:24:34 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Aaron
20dc205b17 Size calculation works for cap extent minSize on 64 bit machines, removed compiler warnings. 2009-01-14 10:11:51 -05:00
Aaron
f2bbe89666 Limit regex options, only use Dbref() in TenGen mode 2009-01-13 14:27:59 -05:00
Aaron
1b33b3f76d New tests for multi extent capped collections 2009-01-13 10:36:06 -05:00
Aaron
49043c49d6 Check syntactically reserved field names specifically 2009-01-12 11:51:20 -05:00
Aaron
9e3d798e37 Make Arbitrate test work with Dwight's new dbclient code 2009-01-12 09:38:11 -05:00
Aaron
f1a538c7c8 Don't allow field names starting with $, added some tests 2009-01-08 15:21:16 -05:00
Aaron
959598db78 Fix my dumb test 2009-01-07 18:21:03 -05:00
Aaron
df3e0eb486 Added token parse failure test 2009-01-07 10:35:17 -05:00
Aaron
dcb974a59f Add regex escaping test 2009-01-06 14:03:52 -05:00
Aaron
9c4278f3ff Fix up regexp parsing 2009-01-06 13:54:19 -05:00
Aaron
dacc872ba2 Enhance json parser 2009-01-06 13:02:09 -05:00
Aaron
f0b6cf77b5 Actually handle utf8 correctly 2009-01-02 10:57:33 -05:00
Aaron
6a4de72765 Add non-Strict mode for Dbref, use base64 encoding for bindata 2008-12-31 11:33:41 -05:00
Aaron
3b40382a0d Start on TenGen and JS modes 2008-12-30 19:04:40 -05:00
Aaron
e598a0cedd Only escape if utf8 character in basic ascii range 2008-12-30 18:20:57 -05:00
Aaron
6b9b6ffa77 Add date and regexp strict mode 2008-12-30 17:47:36 -05:00
Aaron
5c9b3f8d30 Added Symbol support to formattedString, modified BinData format 2008-12-30 17:16:39 -05:00
Aaron
cb023c8bb5 Better OID printing 2008-12-30 17:05:15 -05:00
Aaron
d5d630022a Started BSONObj::formattedString 2008-12-30 11:16:14 -05:00
Aaron
1912155761 Sanity check, verify that the Base's static PairSync variables haven't been modified 2008-12-29 09:59:26 -05:00
Aaron
53f89950af Remove Hudson warning about sign comparison 2008-12-29 08:43:26 -05:00
Aaron
06e85597d4 Add newline at end of file to remove compiler warnings 2008-12-29 08:32:59 -05:00
Aaron
4c7d7b9f35 Check pairSync status instead of comparing pointers (fixes Hudson compilation failure 2008-12-29 08:30:56 -05:00
Aaron
03ac7c04be Fix tab 2008-12-28 22:16:58 -05:00
Aaron
c9429bb044 Reinstate pairing tests 2008-12-28 22:01:18 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
3148da81f2 Index simple objects within arrays 2008-12-24 13:57:30 -05:00
Aaron
11f58f1882 Use empty string for field names of key elements 2008-12-19 18:12:59 -05:00
Aaron
47f50f5ab0 Disable pairing tests until I can fix them 2008-12-15 18:22:13 -05:00
Aaron
38edd39c7f Not master if haven't caught up 2008-12-12 16:00:55 -05:00
Aaron
a16c235dad Add embedded object inequality test 2008-12-11 19:55:43 -05:00
Aaron
ac39edd52c Make object comparison recursive, with tests 2008-12-11 19:16:25 -05:00
Aaron
e85055ec41 Make object comparison recursive, with tests 2008-12-11 19:16:06 -05:00
Aaron
b3d2c2ebd8 Some basic array index improvements 2008-12-11 17:35:11 -05:00
Aaron
7bb4001e9a Change arg ordering for ASSERT_EQUALS to match current unittest library spec (an earlier version of the library used the reverse arg order) 2008-12-11 15:27:51 -05:00
Aaron
3ec2ba4d9d Added some index details tests 2008-12-11 15:20:28 -05:00
Aaron
31a4d14dd4 Fix indentation 2008-12-11 11:08:28 -05:00
Aaron
fab7190f3a Index details unit tests initial commit 2008-12-11 11:07:05 -05:00
Aaron
91c62b9ed6 Only dominant node in pair can assign master & slave status; fixes potential race condition 2008-12-10 11:14:48 -05:00
yellow
974db2cac9 remove the first "db.h" which is not only redundant, but seems to be wrong 2008-12-08 14:23:28 -05:00
Aaron
155ac2b7c2 Add arbitration unit test; adjust tab formatting of some files 2008-12-07 20:58:20 -05:00
Aaron Staple
2bbe7adce3 Fix auto_ptr usage in test 2008-12-05 16:13:21 -05:00
Aaron Staple
243a3e6b2f Adding some pairing tests 2008-12-05 16:03:35 -05:00
Aaron Staple
fa3ec70ca3 Check trailing '/' correctly 2008-12-03 13:31:44 -05:00
Aaron Staple
466bd00a2b Add usage info, make dbpath configurable 2008-12-03 13:25:06 -05:00
Aaron Staple
482b00b01e Adding new unit dbtests binary, with a few btree tests; moved some global state from db.cpp to instance.cpp 2008-12-02 09:53:05 -08:00