Don Gagne
13bbc5a31d
Fix typo
11 years ago
Don Gagne
4ea83c50e4
Cleanup for use with unit test
...
Splash screen is optional. Also remove some unused class definition.
11 years ago
Don Gagne
6c35a7ff75
Fix incorrect usage of deleteLater
11 years ago
Don Gagne
a494d27b14
Merge pull request #1025 from DonLakeFlyer/UnitTestV2
...
New Unit Testing framework
11 years ago
Don Gagne
89de2ae225
Fix constructor ordering bug
11 years ago
Don Gagne
91abffc077
Fix debug includes
11 years ago
Don Gagne
bb01911e76
Remove unused variable
11 years ago
Don Gagne
88e1e3b0bd
Remove unused variable
11 years ago
Don Gagne
fc2e29c3a7
Bump SDK to 10.9
...
Deployment target is still 10.6
11 years ago
Don Gagne
028c700982
New Unit Testing framework
...
Allows for UI unit tests to be written:
- Ability to respond to expected message boxes
- Ability to fail test if unexpected message boxes occurs
11 years ago
Lorenz Meier
9f6a69b586
Build fix for recent Qt versions
11 years ago
Don Gagne
9f61f81bb3
Merge pull request #1001 from DonLakeFlyer/Unused
...
Remove unused code
11 years ago
Don Gagne
fb74d785e9
Fix merge screwup
11 years ago
Don Gagne
c4f7cc8b8b
Add back include after bad merge fix
11 years ago
Don Gagne
45d5c5e6a4
Remove unused code
11 years ago
Don Gagne
c1e6f5735d
Merge pull request #1023 from DonLakeFlyer/LInkManager
...
Link manager unit test and fixes
11 years ago
Don Gagne
75e835ef4b
Remove double friend class
...
Fix linux compiler warning
11 years ago
Don Gagne
381de98a3d
Unit test changes
11 years ago
Don Gagne
efeccf93f4
Use new LinkManager::deleteLink api
11 years ago
Don Gagne
9877156191
Fix LinkManager bugs found by unit test
...
Largest change is that once a link is added to LinkManager it maintains
ownership and is responsible for delete. If you need to delete a link
use LinkManager::delete. Also added guard code to assert if a Link is
deleted outside of LinkManager.
11 years ago
Don Gagne
656fa89770
Constructor should not add itself to LinkManager
11 years ago
Don Gagne
15dc92371a
Guard again deletes not from LinkManager
11 years ago
Don Gagne
e3dac790a8
New LinkManager unit test
11 years ago
Don Gagne
7881d9d19f
Move LinkManager testing to new LinkManagerTest
11 years ago
Don Gagne
f3e8727d50
deleteLink signal changed to linkDeleted
11 years ago
Don Gagne
e1a5f35b97
Don't wait on dead thread
11 years ago
Don Gagne
89be3424d5
Support --unittest::testname
...
Allows you to run a single unit test from the command line
11 years ago
Don Gagne
3441496030
Add support for option argument
11 years ago
Don Gagne
55bc70ffba
Fix LinkManager link removal
11 years ago
Don Gagne
ac45d02246
Merge pull request #1010 from DonLakeFlyer/Singleton
...
Singletons tracked by QGCApplication
11 years ago
Don Gagne
d1bab1999e
Fix shutdown sequence
11 years ago
Don Gagne
23e9acf2a8
Cleanup application object
11 years ago
Don Gagne
647ee6cced
Mocks need QGCSingleton which does not register
11 years ago
Don Gagne
d2923d8ee0
Track Singletons in QGCApplication
...
- allow unit tests to use QGCApplication
- clear global singletons for each unit test run
11 years ago
Don Gagne
8b84127e53
Remove unused
11 years ago
Don Gagne
6255090918
Commit
11 years ago
Don Gagne
0dd0e6569d
Merge pull request #1006 from DonLakeFlyer/FileRenames
...
File renames
11 years ago
Don Gagne
68a59a78f0
File renames
11 years ago
Don Gagne
d3cb8f9aa7
Rename files in git friendly way
11 years ago
Don Gagne
1cb0d7f914
Merge pull request #998 from DonLakeFlyer/Destroyed
...
Be careful with QObject:::destroyed signal
11 years ago
Don Gagne
7fe044d132
Merge pull request #1002 from DonLakeFlyer/QGCMessageBox
...
QGCMessageBox implementation
11 years ago
Don Gagne
88a7368032
Merge pull request #1003 from DonLakeFlyer/FixFileLocations
...
New File Locations key not set in QSettings at boot
11 years ago
Don Gagne
a7e6cc5733
Add Q_UNUSED to variable only used in Q_ASSERT
...
Should have known better!
11 years ago
Don Gagne
1aa044ccfd
New File Locations key not set in QSettings at boot
11 years ago
Don Gagne
db7b86fbbe
Use new QGCMessageBox apis
...
Subclass of QMessageBox which re-implements the static public
functions. There are two reasons for this:
1) The QMessageBox implementation on OSX does now show the title
string. This leads to message boxes which don't make much sense. So on
OSX we set title to text and text to informative text.
2) If parent is NULL, we set parent to MainWindow::instance. This
prevents message boxes which can go behind MainWindow
11 years ago
Don Gagne
e833fe467d
Only reset if file is open
11 years ago
Don Gagne
1d97a7fd56
Remove unused code
11 years ago
Lorenz Meier
58e75ae8dd
Fix XPlane 9 operation, now tests ok. By Mark Whitehorn
11 years ago
Don Gagne
491b1b01e1
Be careful with QObject:::destroyed signal
...
Do not dynamic cast or de-reference QObject, since object is either in
destructor or may have already been destroyed.
11 years ago
Lorenz Meier
38ccebd3eb
Merge pull request #991 from DonLakeFlyer/LoggingRC2
...
New mavlink logging support
11 years ago