File: wxWidgetsTest.c

package info (click to toggle)
cunit 2.1-3-dfsg-2.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,196 kB
  • sloc: sh: 9,860; ansic: 9,503; cpp: 1,270; makefile: 382; perl: 45
file content (42 lines) | stat: -rw-r--r-- 1,178 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 *  CUnit - A Unit testing framework library for C.
 *  Copyright (C) 2006  Jerry St.Clair
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library 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
 *  Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "wxWidget.h"
#include "ExampleTests.h"

CU_BOOL create_tests(void)
{
  if (CU_initialize_registry()) {
    return CU_FALSE;
  }
  else {
    AddTests();
    return CU_TRUE;
  }
}

CU_BOOL destroy_tests(void)
{
    CU_cleanup_registry();
    return CU_TRUE;
}