Kenneth Skovhede
d7f027b9e2
Fixed usings in unit tests
2024-03-03 15:41:49 +01:00
Kenneth Skovhede
aa20088c39
Tool based upgrade of all projects with some manual update
2024-03-01 14:29:54 +01:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Dean Ferreyra
f4195e4eb0
Address review comments from @warwickmm
...
Replace `VerifyDir` and `CompareFiles` with
`AssertDirectoryTreesAreEquivalent` and `AssertFilesAreEqual`.
Move `WriteFile` to `TestUtils`.
Add "Symlink" category to start.sh.
2020-09-11 20:06:53 -07:00
Kenneth Hsu
7cfed6a62b
Remove unused LogHelper.Backupset property.
...
This property (and its backing field m_backupset) is only set and never
referenced.
2020-02-17 09:52:12 -08:00
verhoek
b2cc18426c
Renamed Library.IO to Library.Common.IO.
...
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek
9fb38ebe9a
Continuation of Util.DirectorySeparatorString replacements.
2018-11-02 17:48:17 +01:00
verhoek
bc053df294
Moved basic IO helper functions to Library.IO.
2018-10-27 12:17:07 +02:00
Kenneth Hsu
d4692e2d35
Use built-in method to expand environment variables.
...
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables. We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
verhoek
30cd41585b
Corrected spelling function name.
2018-05-16 20:08:40 +02:00
Kenneth Skovhede
04d5a7fcb2
Removed output spam from a unittest
2018-03-15 12:29:53 +01:00
Kenneth Skovhede
842fd96543
Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
...
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede and GitHub
36aadc4ad1
Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
...
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu
5fb1958ceb
Remove redundant calls to ToString.
2017-11-26 15:44:34 -08:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Hsu
c9aa6cf5fb
Avoid performing tilde expansion.
...
The expansion being performed was often incorrect, as it's possible for
the tilde character to appear as part of the path where it should not be
expanded to the user's home directory.
Properly supporting tilde expansion is complicated and requires
additional study. Instead of supporting it only partially, we have
decided to simplify things and just drop tilde expansion for now. See
the discussion in issue #2619 , as well as issues #2325 and #2555 .
2017-10-21 10:08:33 -07:00
Kenneth Skovhede
6855824285
Rewrote the commandline to support plug-able output
2017-04-04 16:57:30 +02:00
Kenneth Skovhede
5f9539b9ea
Fixed creating the temporary folder for the unittest data before using it
2017-01-12 08:41:34 +01:00
Kenneth Skovhede
37ee4d4cf8
Fixed an issue with broken logging in the unittest
2017-01-11 22:41:45 +01:00
Kenneth Skovhede
e692be5c92
Reworked the way log messages are handled, to include call-context setup.
...
This enables modules to report messages to the message-sink, and thus to the commandline through the normal interface.
This simplifies handling multiple logging systems, and supports reporting logging from multiple concurrent controller instances.
This fixes #2225
This fixes #1575
2017-01-09 23:27:56 +01:00
Kenneth Skovhede and GitHub
f3fa60e49f
Upgrade NUnit to use 3.4.1 ( #1959 )
...
Updated NUnit to version 3.4.1 and added some extra display helps to Travis
2016-09-29 13:45:55 +02:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
20a1d4855f
More bugfixes for Travis unittest
2016-01-26 22:48:59 +01:00
Kenneth Skovhede
7741bc8b7f
... don't break the build ...
2016-01-26 21:52:28 +01:00
Kenneth Skovhede
bfe8639284
Changed unittest to use individual logs to avoid sharingviolations when running tests back-to-back
2016-01-26 21:46:05 +01:00
Kenneth Skovhede
7112e0b19f
Fixed building unittest in release mode
2016-01-26 15:14:48 +01:00
Kenneth Skovhede
beed30f398
Added SizeOmittingBackend to the unittests to test to test if backends which have no size reporting capabilities cause problems
2015-09-17 20:04:49 +02:00
Kenneth Skovhede
60bd9693d0
Imporved handling of the ~ character in paths
2015-09-05 09:14:21 +02:00
Kenneth Skovhede
b01af6e057
Implemented more unittests
2015-04-10 22:29:52 +02:00
Kenneth Skovhede
e3cc53224b
Implemented basic unittest structure instead of wrapping it inside the CommandLine project
2015-04-09 21:54:39 +02:00