Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
af676062
Commit
af676062
authored
Dec 28, 2013
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added/fixed license headers plus a tab
parent
36fafeec
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
140 additions
and
2 deletions
+140
-2
MockQGCUASParamManager.cc
src/qgcunittest/MockQGCUASParamManager.cc
+23
-0
MockQGCUASParamManager.h
src/qgcunittest/MockQGCUASParamManager.h
+24
-1
MockUAS.cc
src/qgcunittest/MockUAS.cc
+23
-0
MockUAS.h
src/qgcunittest/MockUAS.h
+23
-0
MockUASManager.cc
src/qgcunittest/MockUASManager.cc
+23
-0
MockUASManager.h
src/qgcunittest/MockUASManager.h
+23
-0
UASManagerInterface.h
src/uas/UASManagerInterface.h
+1
-1
No files found.
src/qgcunittest/MockQGCUASParamManager.cc
View file @
af676062
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
#include "MockQGCUASParamManager.h"
#include "MockQGCUASParamManager.h"
#include <QTest>
#include <QTest>
#include <QDebug>
#include <QDebug>
...
...
src/qgcunittest/MockQGCUASParamManager.h
View file @
af676062
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
#ifndef MOCKQGCUASPARAMMANAGER_H
#ifndef MOCKQGCUASPARAMMANAGER_H
#define MOCKQGCUASPARAMMANAGER_H
#define MOCKQGCUASPARAMMANAGER_H
...
@@ -23,7 +46,7 @@ public:
...
@@ -23,7 +46,7 @@ public:
virtual
int
getDefaultComponentId
(
void
)
{
return
0
;
}
virtual
int
getDefaultComponentId
(
void
)
{
return
0
;
}
virtual
int
countOnboardParams
(
void
)
{
return
_mapParams
.
count
();
}
virtual
int
countOnboardParams
(
void
)
{
return
_mapParams
.
count
();
}
public
slots
:
public
slots
:
// Implemented QGCSUASParamManager overrides
// Implemented QGCSUASParamManager overrides
void
setParameter
(
int
component
,
QString
parameterName
,
QVariant
value
);
void
setParameter
(
int
component
,
QString
parameterName
,
QVariant
value
);
...
...
src/qgcunittest/MockUAS.cc
View file @
af676062
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
#include "MockUAS.h"
#include "MockUAS.h"
QString
MockUAS
::
_bogusStaticString
;
QString
MockUAS
::
_bogusStaticString
;
...
...
src/qgcunittest/MockUAS.h
View file @
af676062
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
#ifndef MOCKUAS_H
#ifndef MOCKUAS_H
#define MOCKUAS_H
#define MOCKUAS_H
...
...
src/qgcunittest/MockUASManager.cc
View file @
af676062
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
#include "MockUASManager.h"
#include "MockUASManager.h"
MockUASManager
::
MockUASManager
(
void
)
:
MockUASManager
::
MockUASManager
(
void
)
:
...
...
src/qgcunittest/MockUASManager.h
View file @
af676062
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
QGROUNDCONTROL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
#ifndef MOCKUASMANAGER_H
#ifndef MOCKUASMANAGER_H
#define MOCKUASMANAGER_H
#define MOCKUASMANAGER_H
...
...
src/uas/UASManagerInterface.h
View file @
af676062
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
QGroundControl Open Source Ground Control Station
QGroundControl Open Source Ground Control Station
(c) 2009 - 201
1
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
(c) 2009 - 201
4
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
This file is part of the QGROUNDCONTROL project
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment