X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ftest.h;h=d895b6ae1dcee479b8a0eabb91d661ccc5762831;hp=402f551d83522f37b67770d18d70b232e80a19e9;hb=457156ca85763b2329eaf066918e2d379c61d47d;hpb=5ed3b6561d90d13f64be7f9ae8beaf4a0b3f8e32 diff --git a/include/yaz/test.h b/include/yaz/test.h index 402f551..d895b6a 100644 --- a/include/yaz/test.h +++ b/include/yaz/test.h @@ -1,8 +1,28 @@ -/* - * Copyright (C) 1995-2006, Index Data ApS - * See the file LICENSE for details. +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2013 Index Data. + * All rights reserved. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Index Data nor the names of its contributors + * may be used to endorse or promote products derived from this + * software without specific prior written permission. * - * $Id: test.h,v 1.9 2006-07-07 13:39:02 heikki Exp $ + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** \file test.h @@ -16,7 +36,7 @@ #include /** \brief Get the verbosity level */ -int yaz_test_get_verbosity(); +int yaz_test_get_verbosity(void); /** \brief Test OK */ #define YAZ_TEST_TYPE_OK 1 @@ -32,10 +52,10 @@ int yaz_test_get_verbosity(); } \ } -/** \brief a test we know will fail at this time. +/** \brief a test we know will fail at this time. * * Later, when the bug is fixed, this test will suddenly pass, - * which will be reported as an error, to remind you to go and fix + * which will be reported as an error, to remind you to go and fix * your tests. */ @@ -95,6 +115,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab