From 886fe5cc31dddbeeffc0ab9eadcbe877d34b20f4 Mon Sep 17 00:00:00 2001 From: KimLS Date: Sun, 17 Feb 2013 12:31:18 -0800 Subject: [PATCH] Working on tests, not there yet, added licensing stuff --- CMakeLists.txt | 3 +-- LICENSE.md | 1 + common/fixed_memory_hash_set.h | 18 ++++++++++++++++++ common/ipc_mutex.cpp | 18 ++++++++++++++++++ common/ipc_mutex.h | 18 ++++++++++++++++++ common/memory_mapped_file.cpp | 18 ++++++++++++++++++ common/memory_mapped_file.h | 18 ++++++++++++++++++ 7 files changed, 92 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4240f68e..9aa51d6a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,6 +154,5 @@ IF(EQEMU_BUILD_AZONE OR EQEMU_BUILD_CLEANIPC) ENDIF(EQEMU_BUILD_AZONE OR EQEMU_BUILD_CLEANIPC) IF(EQEMU_BUILD_TESTS) -# Testing framework not quite ready for prime time. -# ADD_SUBDIRECTORY(tests) + #ADD_SUBDIRECTORY(tests) ENDIF(EQEMU_BUILD_TESTS) diff --git a/LICENSE.md b/LICENSE.md index 692131774..09c333c99 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -8,3 +8,4 @@ StackWalker - New BSD License ZLib - ZLib License MySQL - GPL Perl - GPL / ActiveState (under the assumption that this is a free project). +Google Test - New BSD License \ No newline at end of file diff --git a/common/fixed_memory_hash_set.h b/common/fixed_memory_hash_set.h index 9064666e2..eaa872756 100644 --- a/common/fixed_memory_hash_set.h +++ b/common/fixed_memory_hash_set.h @@ -1,3 +1,21 @@ +/* EQEMu: Everquest Server Emulator + Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net) + + This program 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; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY except by those people which sell it, which + are required to give you total support for your newly bought product; + 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #ifndef _EQEMU_FIXED_MEMORY_HASHSET_H #define _EQEMU_FIXED_MEMORY_HASHSET_H diff --git a/common/ipc_mutex.cpp b/common/ipc_mutex.cpp index 2c634c594..c5c232be2 100644 --- a/common/ipc_mutex.cpp +++ b/common/ipc_mutex.cpp @@ -1,3 +1,21 @@ +/* EQEMu: Everquest Server Emulator + Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net) + + This program 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; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY except by those people which sell it, which + are required to give you total support for your newly bought product; + 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include "ipc_mutex.h" #ifdef _WINDOWS #include diff --git a/common/ipc_mutex.h b/common/ipc_mutex.h index e10e6dd5f..6fd69a7be 100644 --- a/common/ipc_mutex.h +++ b/common/ipc_mutex.h @@ -1,3 +1,21 @@ +/* EQEMu: Everquest Server Emulator + Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net) + + This program 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; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY except by those people which sell it, which + are required to give you total support for your newly bought product; + 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #ifndef _MUTEX_H_ #define _MUTEX_H_ diff --git a/common/memory_mapped_file.cpp b/common/memory_mapped_file.cpp index b4ee906f4..1565058e4 100644 --- a/common/memory_mapped_file.cpp +++ b/common/memory_mapped_file.cpp @@ -1,3 +1,21 @@ +/* EQEMu: Everquest Server Emulator + Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net) + + This program 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; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY except by those people which sell it, which + are required to give you total support for your newly bought product; + 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include "memory_mapped_file.h" #ifdef _WINDOWS #include diff --git a/common/memory_mapped_file.h b/common/memory_mapped_file.h index 87735bf62..af7c2e961 100644 --- a/common/memory_mapped_file.h +++ b/common/memory_mapped_file.h @@ -1,3 +1,21 @@ +/* EQEMu: Everquest Server Emulator + Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net) + + This program 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; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY except by those people which sell it, which + are required to give you total support for your newly bought product; + 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #ifndef _EQEMU_MEMORYMAPPEDFILE_H_ #define _EQEMU_MEMORYMAPPEDFILE_H_