test.cpp File Reference

Entry point for the test app. More...

#include "linden_common.h"
#include "llerrorcontrol.h"
#include "lltut.h"
#include <apr-1/apr_pools.h>
#include <apr-1/apr_getopt.h>

Include dependency graph for test.cpp:

Go to the source code of this file.

Namespaces

namespace  tut

Classes

class  LLTestCallback

Functions

void stream_usage (std::ostream &s, const char *app)
void stream_groups (std::ostream &s, const char *app)
void wouldHaveCrashed (const std::string &message)
int main (int argc, char **argv)

Variables

test_runner_singleton tut::runner
static const apr_getopt_option_t TEST_CL_OPTIONS []


Detailed Description

Entry point for the test app.

Author:
Phoenix
Date:
2005-09-26
LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file test.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

void stream_groups ( std::ostream &  s,
const char *  app 
)

Definition at line 206 of file test.cpp.

References tut::runner.

Referenced by main().

Here is the caller graph for this function:

void stream_usage ( std::ostream &  s,
const char *  app 
)

Definition at line 177 of file test.cpp.

References TEST_CL_OPTIONS.

Referenced by main().

Here is the caller graph for this function:

void wouldHaveCrashed ( const std::string &  message  ) 

Definition at line 218 of file test.cpp.

Referenced by main().

Here is the caller graph for this function:


Variable Documentation

const apr_getopt_option_t TEST_CL_OPTIONS[] [static]

Initial value:

{
        {"help", 'h', 0, "Print the help message."},
        {"list", 'l', 0, "List available test groups."},
        {"verbose", 'v', 0, "Verbose output."},
        {"group", 'g', 1, "Run test group specified by option argument."},
        {"skip", 's', 1, "Skip test number specified by option argument. Only works when a specific group is being tested"},
        {"wait", 'w', 0, "Wait for input before exit."},
        {"debug", 'd', 0, "Emit full debug logs."},
        {0, 0, 0, 0}
}

Definition at line 165 of file test.cpp.

Referenced by main(), and stream_usage().


Generated on Fri May 16 08:38:19 2008 for SecondLife by  doxygen 1.5.5