From da47b2858f6e64ec60dce218544647df32b49077 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 19 Aug 2014 17:49:02 -0400 Subject: libdimension: Modularize tests. --- libdimension/tests/modules/base.c | 29 ----------------------------- libdimension/tests/modules/canvas.c | 29 ----------------------------- libdimension/tests/modules/color.c | 29 ----------------------------- libdimension/tests/modules/concurrency.c | 29 ----------------------------- libdimension/tests/modules/math.c | 29 ----------------------------- libdimension/tests/modules/model.c | 29 ----------------------------- libdimension/tests/modules/pattern.c | 29 ----------------------------- libdimension/tests/modules/platform.c | 29 ----------------------------- libdimension/tests/modules/render.c | 29 ----------------------------- 9 files changed, 261 deletions(-) delete mode 100644 libdimension/tests/modules/base.c delete mode 100644 libdimension/tests/modules/canvas.c delete mode 100644 libdimension/tests/modules/color.c delete mode 100644 libdimension/tests/modules/concurrency.c delete mode 100644 libdimension/tests/modules/math.c delete mode 100644 libdimension/tests/modules/model.c delete mode 100644 libdimension/tests/modules/pattern.c delete mode 100644 libdimension/tests/modules/platform.c delete mode 100644 libdimension/tests/modules/render.c (limited to 'libdimension/tests/modules') diff --git a/libdimension/tests/modules/base.c b/libdimension/tests/modules/base.c deleted file mode 100644 index 665c62f..0000000 --- a/libdimension/tests/modules/base.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the base module in isolation. - */ - -#include "dimension/base.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/canvas.c b/libdimension/tests/modules/canvas.c deleted file mode 100644 index e9e0471..0000000 --- a/libdimension/tests/modules/canvas.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the canvas module in isolation. - */ - -#include "dimension/canvas.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/color.c b/libdimension/tests/modules/color.c deleted file mode 100644 index 6c9e63f..0000000 --- a/libdimension/tests/modules/color.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the color module in isolation. - */ - -#include "dimension/color.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/concurrency.c b/libdimension/tests/modules/concurrency.c deleted file mode 100644 index 16bb305..0000000 --- a/libdimension/tests/modules/concurrency.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the concurrency module in isolation. - */ - -#include "dimension/concurrency.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/math.c b/libdimension/tests/modules/math.c deleted file mode 100644 index 5bf3ac1..0000000 --- a/libdimension/tests/modules/math.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the math module in isolation. - */ - -#include "dimension/math.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/model.c b/libdimension/tests/modules/model.c deleted file mode 100644 index 9bd5f00..0000000 --- a/libdimension/tests/modules/model.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the model module in isolation. - */ - -#include "dimension/model.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/pattern.c b/libdimension/tests/modules/pattern.c deleted file mode 100644 index 46bb99e..0000000 --- a/libdimension/tests/modules/pattern.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the pattern module in isolation. - */ - -#include "dimension/pattern.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/platform.c b/libdimension/tests/modules/platform.c deleted file mode 100644 index b0fc978..0000000 --- a/libdimension/tests/modules/platform.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the platform module in isolation. - */ - -#include "dimension/platform.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif diff --git a/libdimension/tests/modules/render.c b/libdimension/tests/modules/render.c deleted file mode 100644 index a508c9f..0000000 --- a/libdimension/tests/modules/render.c +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************* - * Copyright (C) 2014 Tavian Barnes * - * * - * This file is part of The Dimension Test Suite. * - * * - * The Dimension Test Suite is free software; you can redistribute it * - * and/or modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Test Suite 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 * - * General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -/** - * @file - * Test the render module in isolation. - */ - -#include "dimension/render.h" - -#ifndef DMNSN_INLINE -#error "Missing #include " -#endif -- cgit v1.2.3