2008-12-05 22:03:35 +01:00
|
|
|
// dbtests.h : Test suite generator headers.
|
|
|
|
//
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Copyright (C) 2008 10gen Inc.
|
2008-12-29 02:28:49 +01:00
|
|
|
*
|
2008-12-05 22:03:35 +01:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
|
|
* as published by the Free Software Foundation.
|
2008-12-29 02:28:49 +01:00
|
|
|
*
|
2008-12-05 22:03:35 +01:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
2008-12-29 02:28:49 +01:00
|
|
|
*
|
2008-12-05 22:03:35 +01:00
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2008-12-02 18:53:05 +01:00
|
|
|
#include <unittest/UnitTest.hpp>
|
|
|
|
|
2009-01-14 23:09:51 +01:00
|
|
|
using namespace mongo;
|
|
|
|
|
2009-05-28 21:22:24 +02:00
|
|
|
// Utility class to handle per suite cleanup
|
2009-05-12 22:37:23 +02:00
|
|
|
class Suite : public UnitTest::Suite {
|
|
|
|
public:
|
|
|
|
~Suite();
|
|
|
|
};
|
|
|
|
|
2009-04-28 16:11:39 +02:00
|
|
|
UnitTest::TestPtr basicTests();
|
2008-12-02 18:53:05 +01:00
|
|
|
UnitTest::TestPtr btreeTests();
|
2009-05-11 16:49:30 +02:00
|
|
|
UnitTest::TestPtr cursorTests();
|
2009-04-24 04:44:19 +02:00
|
|
|
UnitTest::TestPtr jsTests();
|
2008-12-12 01:16:25 +01:00
|
|
|
UnitTest::TestPtr jsobjTests();
|
2009-01-17 14:57:27 +01:00
|
|
|
UnitTest::TestPtr jsonTests();
|
2009-01-20 21:44:40 +01:00
|
|
|
UnitTest::TestPtr matcherTests();
|
2008-12-11 21:20:28 +01:00
|
|
|
UnitTest::TestPtr namespaceTests();
|
2008-12-05 22:03:35 +01:00
|
|
|
UnitTest::TestPtr pairingTests();
|
2009-01-13 16:36:06 +01:00
|
|
|
UnitTest::TestPtr pdfileTests();
|
2009-01-20 22:54:57 +01:00
|
|
|
UnitTest::TestPtr queryTests();
|
2009-02-17 21:53:19 +01:00
|
|
|
UnitTest::TestPtr queryOptimizerTests();
|
2009-01-23 16:17:29 +01:00
|
|
|
UnitTest::TestPtr replTests();
|
2009-01-21 21:50:49 +01:00
|
|
|
UnitTest::TestPtr sockTests();
|
2009-03-23 23:32:05 +01:00
|
|
|
UnitTest::TestPtr updateTests();
|