lldate_tut.cpp File Reference

LLDate test cases. More...

#include <tut/tut.h>
#include "linden_common.h"
#include "lldate.h"

Include dependency graph for lldate_tut.cpp:

Go to the source code of this file.

Namespaces

namespace  tut

Classes

struct  tut::date_test

Defines

#define VALID_DATE   "2003-04-30T04:00:00Z"
#define VALID_DATE_LEAP   "2004-02-29T04:00:00Z"
#define VALID_DATE_HOUR_BOUNDARY   "2003-04-30T23:59:59Z"
#define VALID_DATE_FRACTIONAL_SECS   "2007-09-26T20:31:33.70Z"
#define INVALID_DATE_MISSING_YEAR   "-04-30T22:59:59Z"
#define INVALID_DATE_MISSING_MONTH   "1900-0430T22:59:59Z"
#define INVALID_DATE_MISSING_DATE   "1900-0430-T22:59:59Z"
#define INVALID_DATE_MISSING_T   "1900-04-30-22:59:59Z"
#define INVALID_DATE_MISSING_HOUR   "1900-04-30T:59:59Z"
#define INVALID_DATE_MISSING_MIN   "1900-04-30T01::59Z"
#define INVALID_DATE_MISSING_SEC   "1900-04-30T01:59Z"
#define INVALID_DATE_MISSING_Z   "1900-04-30T01:59:23"
#define INVALID_DATE_EMPTY   ""
#define LL_DATE_PARSER_CHECKS_BOUNDARY   0

Typedefs

typedef test_group< date_test > tut::date_test_t
typedef date_test_t::object tut::date_test_object_t

Functions

tut::date_test_t tut::tut_date_test ("date_test")


Detailed Description

LLDate test cases.

Author:
Adroit
Date:
2007-02
LicenseInfo
firstyear=2007&license=viewergpl

Copyright (c) 2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 lldate_tut.cpp.


Define Documentation

#define INVALID_DATE_EMPTY   ""

Definition at line 52 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_DATE   "1900-0430-T22:59:59Z"

Definition at line 46 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_HOUR   "1900-04-30T:59:59Z"

Definition at line 48 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_MIN   "1900-04-30T01::59Z"

Definition at line 49 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_MONTH   "1900-0430T22:59:59Z"

Definition at line 45 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_SEC   "1900-04-30T01:59Z"

Definition at line 50 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_T   "1900-04-30-22:59:59Z"

Definition at line 47 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_YEAR   "-04-30T22:59:59Z"

Definition at line 44 of file lldate_tut.cpp.

#define INVALID_DATE_MISSING_Z   "1900-04-30T01:59:23"

Definition at line 51 of file lldate_tut.cpp.

#define LL_DATE_PARSER_CHECKS_BOUNDARY   0

Definition at line 57 of file lldate_tut.cpp.

#define VALID_DATE   "2003-04-30T04:00:00Z"

Definition at line 38 of file lldate_tut.cpp.

#define VALID_DATE_FRACTIONAL_SECS   "2007-09-26T20:31:33.70Z"

Definition at line 41 of file lldate_tut.cpp.

#define VALID_DATE_HOUR_BOUNDARY   "2003-04-30T23:59:59Z"

Definition at line 40 of file lldate_tut.cpp.

#define VALID_DATE_LEAP   "2004-02-29T04:00:00Z"

Definition at line 39 of file lldate_tut.cpp.


Generated on Thu Jul 1 06:10:08 2010 for Second Life Viewer by  doxygen 1.4.7