Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-04 | TESTS: Fix SortedArray test | Eugene Sandulenko | |
2016-05-23 | TESTS: Implement SortedArray test | Eugene Sandulenko | |
2016-05-23 | BUILD: Fix test compilation with event recorder enabled | Eugene Sandulenko | |
2016-05-16 | COMMON: Add replace functions to Common and String. | Borja Lorente Escobar | |
COMMON: Add replacement to common/algorithm.h COMMON: Intermediate commit to show doubts. COMMON: Basic String::replace() methods implemented. COMMON: Fix typo in the algorithm.h documentation. COMMON: Fix documentation of String::replace() COMMON: Fix formatting issues in method signatures. COMMON: Add assert and reformat loops in str and algorithm. COMMON: Fix typo in comment. COMMON: Fix style in string test cases. COMMON: Add Doxygen documentation to algorithm and String. COMMON: Add Doxygen documentation to algorithm and String. COMMON: Add Doxygen documentation to algorithm. COMMON: Fix style in algorithm comments. COMMON: Add Doxygen comments to String. COMMON: Add Doxygen comments to algorithm test function. COMMON: Add String support for substring replace. COMMON: Fix string replace to comply with STL COMMON: Fix documentation on string replace COMMON: Fix style in string replace COMMON: Fix unwanted reference problem in String::replace(). COMMON: Fix indentation in comments for replace COMMON: Fix indentation in replace COMMON: Fix comments in String::replace to match implementation. COMMON: Remove assert to allow for not-null-terminated character arrays COMMON: Add new test for String::replace COMMON: Fix broken comments on String::replace COMMON: Fix sharing bug on ensureCapacity COMMON: Remove superfluous call to makeUnique() | |||
2016-02-18 | COMMON: Add convenience method to Common::Rational for 1:1 ratios | Colin Snover | |
For SCI engine games, ratios may not be normalised and so to avoid extra scaling, there needs to be a way to simply check whether a ratio is 1:1. | |||
2016-02-18 | COMMON: Add methods for inserting and erasing with iterators | Colin Snover | |
This provides improved feature parity to Common::List and is used in SCI32 engine. | |||
2016-01-26 | COMMON: Allow '#' to only match digits in matchString. | Johannes Schickel | |
2015-11-10 | COMMON: More sort unit tests | Bertrand Augereau | |
2015-01-18 | TEST: Use "/usr/bin/env python" as the shebang line in cxxtestgen.py | clone2727 | |
2015-01-04 | TEST: Fix another typo in uint64 endian tests. | Johannes Schickel | |
2015-01-04 | TEST: Fix uint64 endian related test code. | Johannes Schickel | |
This does not fix the actual implementation issues which are present right now! | |||
2015-01-04 | TEST: Fix C++11 compat warnings. | Johannes Schickel | |
2015-01-04 | Merge pull request #508 from RichieSams/add_endian_and_stream_support_for_int64 | Eugene Sandulenko | |
COMMON: Add support for endian-safe reading/writing of int64 | |||
2014-12-21 | TEST: Create test cases for reading uint64 from a stream | Adrian Astley | |
2014-12-20 | AUDIO: Wrap around in the Timestamp constructor | Bastien Bouclet | |
The "making of" video in the Xbox version of Myst III is unusually long. VideoDecoder::FixedRateVideoTrack::getFrameTime would trigger an overflow. | |||
2014-12-19 | TEST: Add unit tests for uint64 reading | Adrian Astley | |
2014-08-07 | TEST: Remove odd test in rendermode tests. | Johannes Schickel | |
This specific test checked whether the pointer for two static strings have a different address. Since the specific strings checked had the same "value" string pooling optimizations will result in them to have the same address and thus make this test fail. Furthermore, the test seemed completely pointless, I simply dropped it now. | |||
2014-03-30 | ALL: Resolve multiple clang warnings | Max Horn | |
2013-08-05 | BUILD: fix 'make test' compile error | Max Horn | |
2013-07-10 | TEST: Whitespaces in test/common/ | Tobia Tesan | |
2013-07-10 | TEST: removed fixed hashes in test/common/hash-str.h | Tobia Tesan | |
The hash function does not necessarily have to conform to one specific algorithm as long as equals/differs is respected. | |||
2013-07-10 | TEST: Thorough testing for common/hash-str.h | Tobia Tesan | |
We test the various equal_to and hash functions therein. | |||
2013-07-10 | TEST: reorganize test/common/util.h | Tobia Tesan | |
Split a few test cases in two. The resulting file is now better organized. | |||
2013-07-10 | TEST: tests for common/rendermode.h | Tobia Tesan | |
tests for parseRenderMode, renderMode2GUIO and getRenderModeCode. | |||
2013-07-10 | TEST: test cases for common/util.cpp | Tobia Tesan | |
2013-07-10 | TEST: tests for common/huffman.h | Tobia Tesan | |
A few tests for the Huffman decoder. The encoding is the example from Wikipedia. This could be improved by someone more knowledgeable by generating one at runtime or using multiple encodings which would each contain one edge case. | |||
2013-06-20 | COMMON: Add erase method to String class | richiesams | |
2013-01-26 | TESTS: Add failing test for repeated seeks in BufferedSeekableReadStream | Willem Jan Palenstijn | |
2012-12-16 | TEST: Add missing include | Bastien Bouclet | |
2012-12-16 | TEST: Add some tests for Common::BitStreamImpl | Bastien Bouclet | |
2012-10-09 | TEST: Add two (simple) tests for MemoryWriteStream. | Johannes Schickel | |
2012-03-11 | TEST: Add a test case for SafeSeekableSubReadStream::eos handling. | Johannes Schickel | |
2012-03-11 | TEST: Add a test case for MemoryReadStream::eos handling. | Johannes Schickel | |
2012-02-22 | TEST: Silence some signed/unsigned comparison warnings. | Johannes Schickel | |
2012-02-15 | JANITORIAL: Fix missing whitespace in pointer cast | Tarek Soliman | |
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h) | |||
2012-02-10 | JANITORIAL: Fix template definition whitespace | Tarek Soliman | |
2011-11-06 | AUDIO: Simplify RawStream code. | Johannes Schickel | |
This drops the (unused) ability to play based on a list of input blocks. This was formely only used by the NDS specific VOC streaming code, which has been removed in 9fa9f68789ef51e078cb8631e06bead13cae13f2. | |||
2011-10-09 | TEST: Extend Common::Array copy-constructor test a bit. | Johannes Schickel | |
2011-09-07 | TEST: Allow building the test runner with MinGW | Littleboy | |
It needs the same workaround as our dev tools (see bug #1800764) | |||
2011-08-19 | TEST: Add a very tiny and simple unit test for intLog2. | Johannes Schickel | |
2011-08-07 | COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x). | Christoph Mallon | |
2011-08-07 | JANITORIAL: Remove trailing empty lines. | Christoph Mallon | |
2011-08-07 | JANITORIAL: Add missing NL at EOF. | Christoph Mallon | |
2011-06-08 | TEST: Remove backends hack again | Max Horn | |
2011-06-06 | BACKENDS: Unify AudioCD manager instantiation | Max Horn | |
2011-06-03 | COMMON: Let Common::normalizePath normalize '..' in paths | Max Horn | |
There are some unit tests to verify that this works correctly. There is a small chance that this causes regressions in weird setups. | |||
2011-05-23 | COMMON: Provide our own implementations for scumm_str(n)icmp | Max Horn | |
This takes up a tiny little bit of extra binary size, but gets rid of some awful #ifdef hackery. | |||
2011-05-16 | COMMON: Fix inserting an array into itself under certain conditions | Max Horn | |
2011-05-16 | TEST: Explicitly disable exceptions and std lib usage | Max Horn | |
2011-04-12 | COMMON: Add some testcases for common/endian.h | Max Horn | |