fixed licenses in tests/

This commit is contained in:
csoler 2018-11-04 21:17:22 +01:00
parent 15b3c48149
commit c80022f9c6
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
70 changed files with 1408 additions and 753 deletions

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/crypto/chacha20_test.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>
// from libretroshare // from libretroshare

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/common/data_support.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "libretroshare/serialiser/support.h" #include "libretroshare/serialiser/support.h"
#include "data_support.h" #include "data_support.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/common/data_support.h *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#pragma once #pragma once
#include "rsitems/rsnxsitems.h" #include "rsitems/rsnxsitems.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/data_service/rsdataservice_test.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/data_service/rsdataservice_test.h *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef RSDATASERVICE_TEST_H #ifndef RSDATASERVICE_TEST_H
#define RSDATASERVICE_TEST_H #define RSDATASERVICE_TEST_H

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/gxs/data_service/rsgxsdata_test.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/genexchangetester.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/genexchangetester.h *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef GENEXCHANGETESTER_H #ifndef GENEXCHANGETESTER_H
#define GENEXCHANGETESTER_H #define GENEXCHANGETESTER_H

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/genexchangetestservice.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "genexchangetestservice.h" #include "genexchangetestservice.h"
GenExchangeTestService::GenExchangeTestService(RsGeneralDataService *dataServ, RsNetworkExchangeService * netService, RsGixs* gixs) GenExchangeTestService::GenExchangeTestService(RsGeneralDataService *dataServ, RsNetworkExchangeService * netService, RsGixs* gixs)

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/genexchangetestservice.h *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef GENEXCHANGETESTSERVICE_H #ifndef GENEXCHANGETESTSERVICE_H
#define GENEXCHANGETESTSERVICE_H #define GENEXCHANGETESTSERVICE_H

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* gxspublishgrouptest.cc * unittests/libretroshare/gxs/gen_exchange/gxspublishgrouptest.cc *
* * *
* Created on: 27 Apr 2013 * Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "gxspublishgrouptest.h" #include "gxspublishgrouptest.h"
#include "libretroshare/serialiser/support.h" #include "libretroshare/serialiser/support.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* gxspublishgrouptest.h * unittests/libretroshare/gxs/gen_exchange/gxspublishgrouptest.h *
* * *
* Created on: 27 Apr 2013 * Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef GXSPUBLISHGROUPTEST_H_ #ifndef GXSPUBLISHGROUPTEST_H_
#define GXSPUBLISHGROUPTEST_H_ #define GXSPUBLISHGROUPTEST_H_

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* gxspublishmsgtest.cpp * unittests/libretroshare/gxs/gen_exchange/gxspublishmsgtest.cc *
* * *
* Created on: 27 Apr 2013 * Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* gxspublishmsgtest.h * unittests/libretroshare/gxs/gen_exchange/gxspublishmsgtest.h *
* * *
* Created on: 27 Apr 2013 * Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef GXSPUBLISHMSGTEST_H_ #ifndef GXSPUBLISHMSGTEST_H_
#define GXSPUBLISHMSGTEST_H_ #define GXSPUBLISHMSGTEST_H_

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/gxsteststats.cpp *
* *
* Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "gxsteststats.h" #include "gxsteststats.h"
#include "libretroshare/serialiser/support.h" #include "libretroshare/serialiser/support.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/gxsteststats.h *
* *
* Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef GXSTESTSTATS_H #ifndef GXSTESTSTATS_H
#define GXSTESTSTATS_H #define GXSTESTSTATS_H

View File

@ -1,4 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/rsdummyservices.cc *
* *
* Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "rsdummyservices.h" #include "rsdummyservices.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/rsdummyservices.h *
* *
* Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef RSDUMMYSERVICES_H #ifndef RSDUMMYSERVICES_H
#define RSDUMMYSERVICES_H #define RSDUMMYSERVICES_H

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/gen_exchange/rsgenexchangetest.cc *
* *
* Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,10 +1,22 @@
/* /*******************************************************************************
* nxsdummyservices.cc * unittests/libretroshare/gxs/nxs_test/nxsdummyservice.cpp *
* * *
* Created on: 13 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxsdummyservices.h" #include "nxsdummyservices.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsdummyservices.h * unittests/libretroshare/gxs/nxs_test/nxsdummyservice.h *
* * *
* Created on: 13 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSDUMMYSERVICES_H_ #ifndef NXSDUMMYSERVICES_H_
#define NXSDUMMYSERVICES_H_ #define NXSDUMMYSERVICES_H_

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsgrpsync_test.cc * unittests/libretroshare/gxs/nxs_test/nxsgrpsync_test.cc *
* * *
* Created on: 13 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxsgrpsync_test.h" #include "nxsgrpsync_test.h"
#include "retroshare/rstypes.h" #include "retroshare/rstypes.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsgrpsync_test.h * unittests/libretroshare/gxs/nxs_test/nxsgrpsync_test.h *
* * *
* Created on: 13 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSGRPSYNC_TEST_H_ #ifndef NXSGRPSYNC_TEST_H_
#define NXSGRPSYNC_TEST_H_ #define NXSGRPSYNC_TEST_H_

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* NxsGrpSyncDelayed.cpp * unittests/libretroshare/gxs/nxs_test/nxsgrpsyncdelayed.cc *
* * *
* Created on: 19 May 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxsgrpsyncdelayed.h" #include "nxsgrpsyncdelayed.h"
#include "nxsdummyservices.h" #include "nxsdummyservices.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* NxsGrpSyncDelayed.h * unittests/libretroshare/gxs/nxs_test/nxsgrpsyncdelayed.h *
* * *
* Created on: 19 May 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSGRPSYNCDELAYED_H_ #ifndef NXSGRPSYNCDELAYED_H_
#define NXSGRPSYNCDELAYED_H_ #define NXSGRPSYNCDELAYED_H_

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsgrptestscenario.cpp * unittests/libretroshare/gxs/nxs_test/nxsgrptestscenario.cc *
* * *
* Created on: 23 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxsgrptestscenario.h" #include "nxsgrptestscenario.h"
#include <algorithm> #include <algorithm>

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsgrptestscenario.h * unittests/libretroshare/gxs/nxs_test/nxsgrptestscenario.h *
* * *
* Created on: 23 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSGRPTESTSCENARIO_H_ #ifndef NXSGRPTESTSCENARIO_H_
#define NXSGRPTESTSCENARIO_H_ #define NXSGRPTESTSCENARIO_H_

View File

@ -1,11 +1,22 @@
/* /*******************************************************************************
* nxsmsgsync_test.cc * unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc *
* * *
* Created on: 13 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxsmsgsync_test.h" #include "nxsmsgsync_test.h"
#include "retroshare/rstypes.h" #include "retroshare/rstypes.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsmsgsync_test.h * unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.h *
* * *
* Created on: 13 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSMSGSYNC_TEST_H_ #ifndef NXSMSGSYNC_TEST_H_
#define NXSMSGSYNC_TEST_H_ #define NXSMSGSYNC_TEST_H_

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsmsgtestscenario.cpp * unittests/libretroshare/gxs/nxs_test/nxsmsgtestscenario.cc *
* * *
* Created on: 26 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxsmsgtestscenario.h" #include "nxsmsgtestscenario.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* nxsmsgtestscenario.h * unittests/libretroshare/gxs/nxs_test/nxsmsgtestscenario.h *
* * *
* Created on: 26 Apr 2014 * Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSMSGTESTSCENARIO_H_ #ifndef NXSMSGTESTSCENARIO_H_
#define NXSMSGTESTSCENARIO_H_ #define NXSMSGTESTSCENARIO_H_

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/nxs_test/nxstesthub.cc *
* *
* Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "nxstesthub.h" #include "nxstesthub.h"
#include <unistd.h> #include <unistd.h>

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/nxs_test/nxstesthub.h *
* *
* Copyright (C) 2014, Crispy <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef NXSTESTHUB_H #ifndef NXSTESTHUB_H
#define NXSTESTHUB_H #define NXSTESTHUB_H

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* rsgxsnetservice_test.cc * unittests/libretroshare/gxs/nxs_test/rsgxsnetservice_test.cc *
* * *
* Created on: 11 Jul 2012 * Copyright (C) 2012, Crispy <retroshare.team@gmailcom> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,31 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/gxs/security/gxssecurity_tests.cc *
* *
* Copyright 2007-2008 by Cyril Soler <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
/*
* libretroshare/src/serialiser: rsturtleitems_test.cc
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Cyril Soler
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <iostream> #include <iostream>

View File

@ -1,34 +1,22 @@
/*******************************************************************************
/* * unittests/libretroshare/serialiser/rsbaseitem_test.cc *
* libretroshare/src/serialiser: rsbaseitem_test.cc * *
* * Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* RetroShare Serialiser. * *
* * This program is free software: you can redistribute it and/or modify *
* Copyright 2007-2008 by Robert Fernie. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is free software; you can redistribute it and/or * License, or (at your option) any later version. *
* modify it under the terms of the GNU Library General Public * *
* License Version 2 as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This library is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU Lesser General Public License for more details. *
* 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 Lesser General Public License *
* * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
* tlvfileitem test.
*
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,31 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/rsgxsiditem_test.cc *
* *
* Copyright 2007-2008 by Cyril Soler <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
/*
* libretroshare/src/serialiser: rsturtleitems_test.cc
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Cyril Soler
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "rsitems/rsgxsiditems.h" #include "rsitems/rsgxsiditems.h"

View File

@ -1,9 +1,22 @@
/* /*******************************************************************************
* rsgxsupdateitem_test.cc * unittests/libretroshare/serialiser/rsgxsupdateitem_test.cc *
* * *
* Created on: 9 Dec 2013 * Copyright 2013 by Crispy <retroshare.team@gmail.com> *
* Author: crispy * *
*/ * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/tests/serialiser: msgitem_test.cc * unittests/libretroshare/serialiser/msgitem_test.cc *
* * *
* RetroShare Serialiser. * Copyright 2010 by Christopher Evi-Parker <retroshare.team@gmail.com> *
* * *
* Copyright 2010 by Christopher Evi-Parker. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <iostream> #include <iostream>

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/rsnxsitems_test.cc *
* *
* Copyright 2010 by Christopher Evi-Parker <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include "support.h" #include "support.h"
#include "libretroshare/gxs/common/data_support.h" #include "libretroshare/gxs/common/data_support.h"

View File

@ -1,28 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/tests/serialiser: rsstatusitem_test.cc * unittests/libretroshare/serialiser/rsstatusitem_test.cc *
* * *
* RetroShare Serialiser. * Copyright 2010 by Christopher Evi-Parker <retroshare.team@gmail.com> *
* * *
* Copyright 2010 by Christopher Evi-Parker. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "support.h" #include "support.h"
#include "rsitems/rsstatusitems.h" #include "rsitems/rsstatusitems.h"

View File

@ -1,35 +1,22 @@
/*******************************************************************************
/* * unittests/libretroshare/serialiser/rstlvutil.cc *
* libretroshare/src/serialiser: rstlvutil.cc * *
* * Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* RetroShare Serialiser. * *
* * This program is free software: you can redistribute it and/or modify *
* Copyright 2007-2008 by Robert Fernie. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is free software; you can redistribute it and/or * License, or (at your option) any later version. *
* modify it under the terms of the GNU Library General Public * *
* License Version 2 as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This library is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU Lesser General Public License for more details. *
* 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 Lesser General Public License *
* * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/* some utility functions mainly for debugging
*
*
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,31 +1,25 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/rstlvutil.h *
* *
* Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef RS_TLV_UTIL_H #ifndef RS_TLV_UTIL_H
#define RS_TLV_UTIL_H #define RS_TLV_UTIL_H
/*
* libretroshare/src/serialiser: rstlvutil.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/* some utility functions mainly for debugging /* some utility functions mainly for debugging
*/ */

View File

@ -1,31 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/rsturtleitems_test.cc *
* *
* Copyright 2007-2008 by Cyril Soler <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
/*
* libretroshare/src/serialiser: rsturtleitems_test.cc
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Cyril Soler
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <iostream> #include <iostream>

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: t_support.h.cc * unittests/libretroshare/serialiser/support.cc *
* * *
* RetroShare Serialiser tests. * Copyright 2007-2008 by Christopher Evi-Parker <retroshare.team@gmail.com> *
* * *
* Copyright 2007-2008 by Christopher Evi-Parker * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,31 +1,27 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/support.h *
* *
* Copyright 2007-2008 by Christopher Evi-Parker <retroshare.team@gmail.com> *
* Copyright 2007-2008 by Cyril Soler <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#ifndef SUPPORT_H_ #ifndef SUPPORT_H_
#define SUPPORT_H_ #define SUPPORT_H_
/*
* libretroshare/src/tests/serialiser:
*
* RetroShare Serialiser tests.
*
* Copyright 2007-2008 by Christopher Evi-Parker, Cyril Soler
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <string> #include <string>

View File

@ -1,28 +1,22 @@
/*******************************************************************************
/* * unittests/libretroshare/serialiser/tlvbase_test.cc *
* libretroshare/src/serialiser: tlvbase_test.cc * *
* * Copyright 2007-2008 by Horatio <retroshare.team@gmail.com> *
* RetroShare Serialiser. * *
* * This program is free software: you can redistribute it and/or modify *
* Copyright 2007-2008 by Horatio. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is free software; you can redistribute it and/or * License, or (at your option) any later version. *
* modify it under the terms of the GNU Library General Public * *
* License Version 2 as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This library is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU Lesser General Public License for more details. *
* 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 Lesser General Public License *
* * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,35 +1,22 @@
/*******************************************************************************
/* * unittests/libretroshare/serialiser/tlvbase_test2.cc *
* libretroshare/src/serialiser: tlvbase_test2.cc * *
* * Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* RetroShare Serialiser. * *
* * This program is free software: you can redistribute it and/or modify *
* Copyright 2007-2008 by Robert Fernie. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is free software; you can redistribute it and/or * License, or (at your option) any later version. *
* modify it under the terms of the GNU Library General Public * *
* License Version 2 as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This library is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU Lesser General Public License for more details. *
* 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 Lesser General Public License *
* * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
* tlvfileitem test.
*
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,34 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/tlvitems_test.cc *
* *
* Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
/*
* libretroshare/src/serialiser: tlvitems_test.cc
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
* tlvfileitem test.
*
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <string.h> #include <string.h>

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/serialiser/tlvkey_test.cc *
* *
* Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,28 +1,22 @@
/*******************************************************************************
/* * unittests/libretroshare/serialiser/tlvrandom_test.cc *
* libretroshare/src/serialiser: tlvrandom_test.cc * *
* * Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* RetroShare Serialiser. * *
* * This program is free software: you can redistribute it and/or modify *
* Copyright 2009 by Robert Fernie. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is free software; you can redistribute it and/or * License, or (at your option) any later version. *
* modify it under the terms of the GNU Library General Public * *
* License Version 2 as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This library is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU Lesser General Public License for more details. *
* 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 Lesser General Public License *
* * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/****************************************************************** /******************************************************************
* tlvrandom_test. * tlvrandom_test.

View File

@ -1,34 +1,22 @@
/*******************************************************************************
/* * unittests/libretroshare/serialiser/tlvstack_test.cc *
* libretroshare/src/serialiser: tlvstack_test.cc * *
* * Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* RetroShare Serialiser. * *
* * This program is free software: you can redistribute it and/or modify *
* Copyright 2007-2008 by Robert Fernie. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is free software; you can redistribute it and/or * License, or (at your option) any later version. *
* modify it under the terms of the GNU Library General Public * *
* License Version 2 as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* This library is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU Lesser General Public License for more details. *
* 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 Lesser General Public License *
* * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* 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.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************
* tlvfileitem test.
*
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,27 +1,23 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: tlvfileitem_test.cc * unittests/libretroshare/serialiser/tlvtypes_test.cc *
* * *
* RetroShare Serialiser. * Copyright 2007-2008 by Robert Fernie <retroshare.team@gmail.com> *
* * Copyright 2007-2008 by Chris Evi-Parker <retroshare.team@gmail.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Evi-Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Affero General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. ******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* unittests/libretroshare/services: fakepgpauxutils.h * unittests/libretroshare/services/gxs/FakePgpAuxUtils.cc *
* * *
* Identity interface for RetroShare. * Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* * *
* Copyright 2014-2014 by Robert Fernie. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2.1 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "FakePgpAuxUtils.h" #include "FakePgpAuxUtils.h"

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* unittests/libretroshare/services: fakepgpauxutils.h * unittests/libretroshare/services/gxs/FakePgpAuxUtils.h *
* * *
* Identity interface for RetroShare. * Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* * *
* Copyright 2014-2014 by Robert Fernie. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2.1 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#pragma once #pragma once

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/GxsIsolatedServiceTester.cc *
* *
* Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
// from librssimulator // from librssimulator
#include "testing/IsolatedServiceTester.h" #include "testing/IsolatedServiceTester.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/GxsIsolatedServiceTester.h *
* *
* Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#pragma once #pragma once
// from librssimulator // from librssimulator

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/GxsPairServiceTester.cc *
* *
* Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
// local // local
#include "GxsPairServiceTester.h" #include "GxsPairServiceTester.h"

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/GxsPairServiceTester.h *
* *
* Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#pragma once #pragma once
// from librssimulator // from librssimulator

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/GxsPeerNode.cc *
* *
* Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
// from libretroshare // from libretroshare
//#include "serialiser/rsstatusitems.h" //#include "serialiser/rsstatusitems.h"

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/GxsPeerNode.h *
* *
* Copyright 2014 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#pragma once #pragma once
// from retroshare // from retroshare

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/services p3wiki.cc * unittests/libretroshare/services/gxs/gxstestservice.cc *
* * *
* Wiki interface for RetroShare. * Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* * *
* Copyright 2012-2012 by Robert Fernie. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2.1 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "gxstestservice.h" #include "gxstestservice.h"
#include "retroshare/rsgxsflags.h" #include "retroshare/rsgxsflags.h"

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/services: p3wikiservice.h * unittests/libretroshare/services/gxs/gxstestservice.h *
* * *
* Wiki interface for RetroShare. * Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* * *
* Copyright 2012-2012 by Robert Fernie. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2.1 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#pragma once #pragma once

View File

@ -1,13 +1,25 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/nxsbasic_test.cc *
* *
* Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>
// from librssimulator
//#include "peer/PeerNode.h"
// from libretroshare
//#include "gxs/rsgixs.h"
//#include "gxs/rsdataservice.h"
//#include "gxs/rsgxsnetservice.h"
#include "rsitems/rsnxsitems.h" #include "rsitems/rsnxsitems.h"
// local // local

View File

@ -1,3 +1,22 @@
/*******************************************************************************
* unittests/libretroshare/services/gxs/nxspair_test.cc *
* *
* Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rsgxstestserviceitems.cc * unittests/libretroshare/services/gxs/nxstestitems.cc *
* * *
* RetroShare C++ Interface. * Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* * *
* Copyright 2012-2012 by Robert Fernie * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2.1 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <iostream> #include <iostream>

View File

@ -1,27 +1,22 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rsgxstestserviceitems.h * unittests/libretroshare/services/gxs/nxstestitems.h *
* * *
* RetroShare C++ Interface. * Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* * *
* Copyright 2012-2012 by Robert Fernie * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is free software; you can redistribute it and/or * published by the Free Software Foundation, either version 3 of the *
* modify it under the terms of the GNU Library General Public * License, or (at your option) any later version. *
* License Version 2.1 as published by the Free Software Foundation. * *
* * This program is distributed in the hope that it will be useful, *
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * GNU Lesser General Public License for more details. *
* Library General Public License for more details. * *
* * You should have received a copy of the GNU Lesser General Public License *
* You should have received a copy of the GNU Library General Public * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ******************************************************************************/
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#pragma once #pragma once

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/libretroshare/services/status/status_test.cc *
* *
* Copyright 2012 by Robert Fernie <retroshare.team@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* unittests/unittests.cc *
* *
* Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
******************************************************************************/
#include <gtest/gtest.h> #include <gtest/gtest.h>
int main(int argc, char **argv) { int main(int argc, char **argv) {

View File

@ -1,3 +1,21 @@
################################################################################
# unittests.pro #
# Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU Affero General Public License as #
# published by the Free Software Foundation, either version 3 of the #
# License, or (at your option) any later version. #
# #
# This program 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 Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this program. If not, see <https://www.gnu.org/licenses/>. #
################################################################################
!include("../../retroshare.pri"): error("Could not include file ../../retroshare.pri") !include("../../retroshare.pri"): error("Could not include file ../../retroshare.pri")
QT += network xml QT += network xml