Martchus
|
ace077f9aa
|
Fix INI test
|
5 years ago |
Martchus
|
28f37bbbcd
|
string to int: Allow specifying string size
|
5 years ago |
Martchus
|
045c713cf5
|
string to int: Ignore whitespaces at beginning
|
5 years ago |
Martchus
|
5388337bcc
|
Fix compiling tests under 32-bit arch
|
5 years ago |
Martchus
|
3bc1756425
|
Add Argument::varValueCount
|
5 years ago |
Martchus
|
2e98e3bd11
|
testutils: Fix finding testfiles dir in pwd
|
5 years ago |
Martchus
|
18fef23724
|
testutils: Add execHelperApp()
|
5 years ago |
Martchus
|
cab1a76ecf
|
Allow printing iteratable objects
So those can be asserted using CPPUNIT_ASSERT_EQUAL
|
5 years ago |
Martchus
|
3b74b817ec
|
Add trait to test for strings
|
5 years ago |
Martchus
|
7faa51c10e
|
Test traits
|
5 years ago |
Martchus
|
db46948f2f
|
Apply clang-format
|
5 years ago |
Martchus
|
59e20b1043
|
Apply clang-format
|
5 years ago |
Martchus
|
c728f0ffe0
|
Add hash functions for chrono objects
|
5 years ago |
Martchus
|
452954dc1f
|
Add DateTime::exactGmtNow()
* Provides more precise wall-clock time
* Only available under UNIX so far
|
5 years ago |
Martchus
|
7c189b18e1
|
Allow nested operation arguments
eg. syncthingctl pwd rescan
|
5 years ago |
Martchus
|
c30011fe09
|
Fix missleading error message
Unknown arg is treated is causing fatal
error in this case and hence not ignored.
|
5 years ago |
Martchus
|
52a76a7bd2
|
Show warning when a testfile could not be located
TODO: Would throwing an exception instead break
something?
|
5 years ago |
Martchus
|
787d541974
|
Fix conversion of 0 to string
Return "0" instead of an empty string
|
5 years ago |
Martchus
|
af1ab16d77
|
Use CPPUNIT_ASSERT_EQUAL where possible
|
5 years ago |
Martchus
|
c4d73b0d7d
|
Use C++14 string literal
|
5 years ago |
Martchus
|
c13eee6fcc
|
Add workingCopyPathMode() to be able to skip actual copy
|
5 years ago |
Martchus
|
17fe42e0ad
|
string builder: Support integral types directly
Not only convenient but also performance improvement
|
5 years ago |
Martchus
|
39960ccef1
|
Add simple benachmark for string builder
|
5 years ago |
Martchus
|
33d368397f
|
Make use of newly introduced string builder
|
5 years ago |
Martchus
|
5c004015ce
|
string builder: Fix ambiguity issues
|
5 years ago |
Martchus
|
a772cdf30b
|
Add conveniently usable string builder
which allows fast string building without multiple heap allocations
|
5 years ago |
Martchus
|
28d2063d33
|
Fix Bash completion for abbreviations
|
5 years ago |
Martchus
|
cab332bcad
|
Refactor reading arguments
Replace ArgumentParser::readSpecifiedArgs() with
ArgumentReader class to simplify argument list
|
5 years ago |
Martchus
|
939a43e348
|
Clean argument parser tests
|
6 years ago |
Martchus
|
82b5bf3f1d
|
Fix Bash completion when last pre-defined value matches
|
6 years ago |
Martchus
|
9f3ca443e4
|
Make ArgumentParser::verifyArgs() more strict
|
6 years ago |
Martchus
|
4c0a1d1169
|
Fix minor mistake in argument parser
|
6 years ago |
Martchus
|
2be349856f
|
Make numberToString/stringToNumber work with u16string
Don't rely on std::basic_stringstream at least for
integral types.
|
6 years ago |
Martchus
|
5119bb5c6a
|
Improve ArgumentParser::readSpecifiedArgs()
- Fix minor issues
- Add further test cases
|
6 years ago |
Martchus
|
97925f1252
|
Don't rely on file completions being in specific order
|
6 years ago |
Martchus
|
72426e2d4c
|
Fix bash completion when dir/file contains single quote
Also a few other improvements in bash completion code
|
6 years ago |
Martchus
|
a43e9b2baf
|
Fix BitReader test
|
6 years ago |
Martchus
|
12588c6928
|
Improve chrono utils
- Support parsing/generating ISO time stamp with
time zone delta
- Fix minor bugs
- Improve tests
|
6 years ago |
Martchus
|
d6b08b8ed9
|
Fix decoration for static builds
- Also add improvemnts a few other things in the build system
|
6 years ago |
Martchus
|
1a4087abbc
|
Use async IO in TestApplication::execApp()
rather than multiple threads
|
6 years ago |
Martchus
|
b36572a4dd
|
Add macro to assert execution of application
|
6 years ago |
Martchus
|
ed527021f9
|
Improve logging when testing applications
|
6 years ago |
Martchus
|
994181cbf9
|
Improve utilities for testing tageditor CLI
|
6 years ago |
Martchus
|
df8d942e1c
|
Improve argument parser
- Fix completion of values already containing '='
- Fix completion when current word contains '='
- Improve formatting of help
- Fix typo
|
6 years ago |
Martchus
|
17d22be584
|
Support testing applications
|
6 years ago |
Martchus
|
0c40a510e5
|
Add functions for character set conversions
|
6 years ago |
Martchus
|
23346e1a8e
|
Add convenience method to get first value
|
6 years ago |
Martchus
|
8efe38dadf
|
Improve details in the build system
- add target to run cross compiled Windows binaries with wine
- quit tests if --help has been specified
|
6 years ago |
Martchus
|
d749ba7cc2
|
Provide complete occurance info (callbacks)
|
6 years ago |
Martchus
|
03094a1f61
|
Add support for bash completion
|
6 years ago |