Commit Graph

290 Commits

Author SHA1 Message Date
Thierry Crozat
4b774d71ac TESTBED: Use the default voice for the TTS tests 2020-06-21 16:31:15 +01:00
D G Turner
e8f8e9bdf1 TESTBED: Remove use of final as a variable name 2020-06-18 21:04:45 +01:00
lolbot-iichan
24c34a1fe8 TESTBED: Give achievements for completed testsuites 2020-06-13 16:29:17 +02:00
lolbot-iichan
2df0675fbf TESTBED: Fix return-to-launcher SIGSEGV bug 2020-06-13 16:29:17 +02:00
lolbot-iichan
3f10dbeac6 TESTBED: Move code with side-effects away from testsuite constructor 2020-06-13 16:29:17 +02:00
lolbot-iichan
3bfd87d88a TESTBED: Create testsuite list at separate static method 2020-06-13 16:29:17 +02:00
mataniko
cc7b06d47a JANITORIAL: Update RTL references in themes and menus 2020-05-12 10:36:38 +02:00
mataniko
2f5eb14d4b JANITORIAL: Rename additional RTL references and comments 2020-05-12 10:36:38 +02:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Cameron Cawley
1605b72ee8 BACKENDS: Add events for additional mouse buttons 2020-02-26 21:34:24 +01:00
Henrik "Henke37" Andersson
fcb2442875 TESTBED: Set the NOLAUNCHLOAD GUI option 2020-02-11 22:35:06 +01:00
Bastien Bouclet
1ef3e3fe3e TESTBED: Add override keywords 2020-02-09 12:43:16 +01:00
Henrik "Henke37" Andersson
ae38c5421a TESTBED: Provide correct engine feature implementation data 2020-02-07 01:01:51 +02:00
Eugene Sandulenko
cfde7683e7 TESTBED: Added override keywords 2020-02-06 23:46:47 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Bastien Bouclet
a56383e699 TESTBED: Use a dedicated dialog layout for the configuration dialog
The testbed configuration dialog was previously re-using the browser
dialog. That dialog is defined to overlay the game list from the launcher
screen. However, while in the testbed engine the dimensions of
the layout of the launcher dialog may have been lost, causing the
configuration dialog to fail to layout.
2020-01-30 07:34:27 +01:00
sluicebox
79d636ba8a TESTBED: Add horizontal/diagonal shake tests 2019-11-19 00:20:40 +01:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
Bastien Bouclet
9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Jaromir Wysoglad
6baa9c8ddb TESTBED: Fix include guard in speech.h 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
07acdb8433 TESTBED: Don't build TTS tests if TTS is disabled 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c2c4458253 JANITORIAL: Remove some trailing whitespaces 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
1a6ad384cb TESTBED: Increase pause in TTS pause test 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
f131cad3e5 TESTBED: Improve some TTS tests 2019-09-01 22:47:55 +03:00
Thierry Crozat
bd2757138b TESTBED: Make sure to process events while waiting for speech to finish
Same implementations of TextToSpeechManager may require system events
to be processed for the state synchronisation to work properly.

This commit also fixes a few typos or inconsistencies in some texts.
2019-09-01 22:47:55 +03:00
Thierry Crozat
5198459bba TESTBED: Move the TTS tests after the critical components 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
84df34df10 TESTBED: Add tests for TTS *_NO_REPEAT actions 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
fb12e3b36b TESTBED: Rewrite parts of TTS tests.
As suggested by Criezy on github
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
98cea3e2ce TESTBED: Add state queries to TTS tests. 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
a5c9e8c74b TESTBET: Add TTS tests 2019-09-01 22:47:55 +03:00
D G Turner
5022d87956 TESTBED: Fix GCC Unused Variable Compiler Warnings 2019-08-25 08:20:02 +01:00
vyzigold
f2715d77ed TESTBED: Comment correction
Co-Authored-By: Cameron Cawley <ccawley2011@gmail.com>
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
1346dcc3ef TESTBED: Move encoding conversion tests to testbed
This way it is possible to test the backend conversions too.
2019-08-24 18:12:45 +03:00
Cameron Cawley
43b4528552 TESTBED: Add createDirectory() test in FStests 2019-08-11 22:15:54 +03:00
Cameron Cawley
05511e17ec TESTBED: Correctly reset the number of skipped tests 2019-07-01 22:49:42 +01:00
Cameron Cawley
09dbe7686b JANITORIAL: Update all scummvm.org URLS to use https 2019-03-09 21:52:14 +01:00
Paul Gilbert
11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Adrian Frühwirth
cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Adrian Frühwirth
cf96f3f709 JANITORIAL: Indent GFXTransaction code blocks 2018-04-15 16:45:25 +02:00
Willem Jan Palenstijn
4233156505 TESTBED: Only build cloud tests if libcurl is available too
This matches the module.mk checks for backends/cloud
2017-10-29 00:05:51 +02:00
Colin Snover
432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Eugene Sandulenko
940b2a20f1 Revert "COMMON: Change way the Singleton instances are instantiated"
This reverts commit eefa72afa1.

With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat
eefa72afa1 COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Tarek Soliman
d602850b0c TESTBED: Fix building with --disable-cloud (#938)
The linker fails when building with --disable-cloud and not
passing --disable-libcurl
2017-04-30 09:42:48 +02:00
Thierry Crozat
48ec053a13 TESTBED: Add test for kFeatureFilteringMode 2016-10-13 01:45:01 +01:00
Thierry Crozat
0a186a66d6 TESTBED: Fix fullscreen test
The test was always failing when starting from the fullscreen state.
2016-10-12 23:04:42 +01:00
Thierry Crozat
1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Eugene Sandulenko
1dc0411ff9 TESTBED: Listen to events during mouse move test 2016-09-04 16:24:03 +02:00
Eugene Sandulenko
302562de38 TESTBED: Added mouse cursor 2016-09-03 22:56:09 +02:00
Eugene Sandulenko
cad834a69c JANITORIAL: Fix include statements 2016-09-03 15:19:37 +02:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Alexander Tkachev
b8fae56c67 TESTBED: Fix a few Cloud warnings 2016-08-24 16:07:55 +06:00
Alexander Tkachev
438ba985a4 JANITORIAL: Remove spaces at the end of the line
I knew there were some, but I wanted to fix them once, instead of doing
it all the time.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
737dc91e64 TESTBED: Add openUrl test in MiscTests 2016-08-24 16:07:55 +06:00
Alexander Tkachev
817d831255 TESTBED: Add more Webserver tests 2016-08-24 16:07:55 +06:00
Alexander Tkachev
830c7b578c TESTBED: Add Webserver test suite
Two tests now: IP resolving and index page check.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
dcf9041926 TESTBED: Fix CloudTests
Now work with all available Storages.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
04888cf454 TESTBED: Add CloudTests::testSavesSync() 2016-08-24 16:07:55 +06:00
Alexander Tkachev
4e27251356 TESTBED: Add CloudTests::testFolderDownloading() 2016-08-24 16:07:55 +06:00
Alexander Tkachev
7a34abe39e TESTBED: Add CloudTests::testDownloading() 2016-08-24 16:07:55 +06:00
Alexander Tkachev
6d227a437a TESTBED: Add CloudTests::testUploading() 2016-08-24 16:07:55 +06:00
Alexander Tkachev
721ee9527e TESTBED: Fix CloudTests to ask users whether to wait
Callbacks might be slow (like in SyncSaves), but they also could hang
forever, so users now are being asked whether they want to wait or to
skip the test.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
4a0a5af52e TESTBED: Add first Cloud tests
Adding tests for:
* Storage::info();
* Storage::listDirectory();
* Storage::createDirectory().
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Ori Avtalion
253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Ori Avtalion
6c51fe8cad TESTBED: Include correct header 2016-04-13 15:36:51 +03:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko
b9fc8cf746 TESTBED: Sanity check 2015-11-28 00:21:09 +01:00
Eugene Sandulenko
b7735b020f TESTBED: Added safety check 2015-11-28 00:06:47 +01:00
Einar Johan Trøan Sømåen
3b078b114b TESTBED: Fix a typo in the sound tests: s/smaple/sample 2014-06-19 12:27:29 +02:00
Johannes Schickel
3edca1abb4 TESTBED: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Eugene Sandulenko
208cd2cf95 TESTBED: Fix uninitalized variable. CID 1002670 2013-10-17 13:58:02 +03:00
Eugene Sandulenko
08f5445055 TESTBED: Initialize variable. CID 1003374 2013-10-17 13:56:20 +03:00
Eugene Sandulenko
787689ff32 TESTBED: Remove logically dead code. CID 1004067 2013-10-17 13:54:27 +03:00
Johannes Schickel
764a34edf7 TESTBED: Make code agonstic to OverlayColor. 2013-08-16 05:34:44 +02:00
Johannes Schickel
63750d6780 COMMON: Rename ConfigFile to INIFile.
This clears up that 'ConfigFile' is actually a class handling only INI-files.
2013-08-08 16:28:38 +02:00
Willem Jan Palenstijn
c9f0e8149d ALL: Fix typo (succesful -> successful)
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2013-06-06 16:45:59 +02:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko
f882374d8a TESTBED: Fix memory leak. CID 1003583 2013-04-21 14:27:30 +03:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Johannes Schickel
571fa94310 TESTBED: Fix "if" formatting. 2012-08-09 03:27:21 +02:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Ori Avtalion
aa0f307e06 ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
Silences the clang warning:

  static data member specialization of '_singleton' must
  originally be declared in namespace 'Common'; accepted as a C++0x
  extension [-Wc++0x-extensions]

Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.

Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
3c0c14b4b5 TESTBED: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:45 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
Julien
55f46a1376 TESTBED: Fix GFXtests::HSVtoRGB() and caller
- update passed values and not local variables when s == 0
 - initialize r, g, b values in palette rotation test instead of passing unitialized variables
2011-06-07 03:59:12 -04:00
Julien
3e1c4f8e16 TESTBED: Specialize call to enable() in MidiTestSuite constructor 2011-06-07 03:56:57 -04:00