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
869fa09a
Commit
869fa09a
authored
Mar 26, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getCommunicationStatus was removed
parent
31bf2e94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
8 deletions
+0
-8
MockUAS.h
src/qgcunittest/MockUAS.h
+0
-1
UASUnitTest.cc
src/qgcunittest/UASUnitTest.cc
+0
-6
UASUnitTest.h
src/qgcunittest/UASUnitTest.h
+0
-1
No files found.
src/qgcunittest/MockUAS.h
View file @
869fa09a
...
...
@@ -83,7 +83,6 @@ public:
virtual
const
QString
&
getShortMode
()
const
{
Q_ASSERT
(
false
);
return
_bogusString
;
};
virtual
QString
getShortModeTextFor
(
uint8_t
base_mode
,
uint32_t
custom_mode
)
const
{
Q_UNUSED
(
base_mode
);
Q_UNUSED
(
custom_mode
);
Q_ASSERT
(
false
);
return
_bogusStaticString
;
};
virtual
quint64
getUptime
()
const
{
Q_ASSERT
(
false
);
return
0
;
};
virtual
int
getCommunicationStatus
()
const
{
Q_ASSERT
(
false
);
return
0
;
};
virtual
double
getLocalX
()
const
{
Q_ASSERT
(
false
);
return
std
::
numeric_limits
<
double
>::
quiet_NaN
();
};
virtual
double
getLocalY
()
const
{
Q_ASSERT
(
false
);
return
std
::
numeric_limits
<
double
>::
quiet_NaN
();
};
virtual
double
getLocalZ
()
const
{
Q_ASSERT
(
false
);
return
std
::
numeric_limits
<
double
>::
quiet_NaN
();
};
...
...
src/qgcunittest/UASUnitTest.cc
View file @
869fa09a
...
...
@@ -71,12 +71,6 @@ void UASUnitTest::getUpTime_test()
delete
uas2
;
}
void
UASUnitTest
::
getCommunicationStatus_test
()
{
// Verify that upon construction the Comm status is disconnected
QCOMPARE
(
_uas
->
getCommunicationStatus
(),
static_cast
<
int
>
(
UASInterface
::
COMM_DISCONNECTED
));
}
void
UASUnitTest
::
filterVoltage_test
()
{
float
verificar
=
_uas
->
filterVoltage
(
0.4
f
);
...
...
src/qgcunittest/UASUnitTest.h
View file @
869fa09a
...
...
@@ -27,7 +27,6 @@ private slots:
void
getUASID_test
(
void
);
void
getUASName_test
(
void
);
void
getUpTime_test
(
void
);
void
getCommunicationStatus_test
(
void
);
void
filterVoltage_test
(
void
);
void
getAutopilotType_test
(
void
);
void
setAutopilotType_test
(
void
);
...
...
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