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/build/modules/base.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/canvas.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/color.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/concurrency.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/math.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/model.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/pattern.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/platform.c | 29 ++++++++++++++++++++++++++ libdimension/tests/build/modules/render.c | 29 ++++++++++++++++++++++++++ 9 files changed, 261 insertions(+) create mode 100644 libdimension/tests/build/modules/base.c create mode 100644 libdimension/tests/build/modules/canvas.c create mode 100644 libdimension/tests/build/modules/color.c create mode 100644 libdimension/tests/build/modules/concurrency.c create mode 100644 libdimension/tests/build/modules/math.c create mode 100644 libdimension/tests/build/modules/model.c create mode 100644 libdimension/tests/build/modules/pattern.c create mode 100644 libdimension/tests/build/modules/platform.c create mode 100644 libdimension/tests/build/modules/render.c (limited to 'libdimension/tests/build/modules') diff --git a/libdimension/tests/build/modules/base.c b/libdimension/tests/build/modules/base.c new file mode 100644 index 0000000..665c62f --- /dev/null +++ b/libdimension/tests/build/modules/base.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/canvas.c b/libdimension/tests/build/modules/canvas.c new file mode 100644 index 0000000..e9e0471 --- /dev/null +++ b/libdimension/tests/build/modules/canvas.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/color.c b/libdimension/tests/build/modules/color.c new file mode 100644 index 0000000..6c9e63f --- /dev/null +++ b/libdimension/tests/build/modules/color.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/concurrency.c b/libdimension/tests/build/modules/concurrency.c new file mode 100644 index 0000000..16bb305 --- /dev/null +++ b/libdimension/tests/build/modules/concurrency.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/math.c b/libdimension/tests/build/modules/math.c new file mode 100644 index 0000000..5bf3ac1 --- /dev/null +++ b/libdimension/tests/build/modules/math.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/model.c b/libdimension/tests/build/modules/model.c new file mode 100644 index 0000000..9bd5f00 --- /dev/null +++ b/libdimension/tests/build/modules/model.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/pattern.c b/libdimension/tests/build/modules/pattern.c new file mode 100644 index 0000000..46bb99e --- /dev/null +++ b/libdimension/tests/build/modules/pattern.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/platform.c b/libdimension/tests/build/modules/platform.c new file mode 100644 index 0000000..b0fc978 --- /dev/null +++ b/libdimension/tests/build/modules/platform.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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/build/modules/render.c b/libdimension/tests/build/modules/render.c new file mode 100644 index 0000000..a508c9f --- /dev/null +++ b/libdimension/tests/build/modules/render.c @@ -0,0 +1,29 @@ +/************************************************************************* + * 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