Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STLSoft-1.11 #45

Merged
merged 11 commits into from
Dec 30, 2024
Merged

STLSoft-1.11 #45

merged 11 commits into from
Dec 30, 2024

Conversation

mwsis
Copy link
Collaborator

@mwsis mwsis commented Dec 29, 2024

No description provided.

Copy link
Owner

@synesissoftware synesissoftware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@synesissoftware synesissoftware merged commit a7d7a21 into synesissoftware:dev Dec 30, 2024
@mwsis mwsis deleted the ss-11 branch December 31, 2024 01:50
synesissoftware added a commit that referenced this pull request Dec 31, 2024
Squashed commit of the following:

commit 39fe8fcc723d954d6f19a4fac1dd5f78ce67788c
Author: Matt Wilson <[email protected]>
Date:   Tue Dec 31 12:55:20 2024 +1100

    boilerplate

commit e4c3bcd
Author: Matt Wilson <[email protected]>
Date:   Tue Dec 31 12:49:43 2024 +1100

    Hint directory support (`temp_file`) (#46)

    * ~ preparatory refactoring

    * `xtests::cpp::util::temp_file` : + now supports `hint_dir` parameter, to allow caller to specify temporary directory

    * ~ VC++ compatibility

    * `xtests::cpp::util::temp_file` : + now supports `hint_dir` parameter on Windows, to allow caller to specify temporary directory

    * ~ tidying

commit 1bf1274
Merge: a7d7a21 dae3603
Author: synesissoftware <[email protected]>
Date:   Tue Dec 31 10:34:24 2024 +1100

    Merge pull request #47 from synesissoftware/tests-ignore-env

    Ensure environment variables cannot disrupt tests

commit dae3603
Author: Matt Wilson <[email protected]>
Date:   Tue Dec 31 10:30:49 2024 +1100

    **test.unit.utility.cmdline** : ~ ensuring that definition of `"TEST_VERBOSITY"` or `"XTESTS_VERBOSITY"` environment variables cannot disrupt tests

commit a7d7a21
Author: Matt Wilson <[email protected]>
Date:   Tue Dec 31 09:03:55 2024 +1100

    STLSoft-1.11 (#45)

    * ~ consistency

    * + added **test.unit.utility.cmdline**

    * made command-line handling more standard, incl recognition of '--' special flag

    * made command-line handling more standard, incl recognition of '--' special flag when handling '--help'

    * ~ consistency

    * + added `xtests_commandLine_parseHelpOrVerbosity()` / `XTESTS_COMMANDLINE_PARSE_HELP_OR_VERBOSITY()`

    * - removed hard dependency on **shwild** in new unit-test

    * ~ standardised example and test program entry-point source files

    * ~ updated requirement on `_STLSOFT_VER` to >= 0x010b015d

    * ~ boilerplate, version, ...

    * ~ boilerplate, version, ...

commit 3bf62cd
Author: Matt Wilson <[email protected]>
Date:   Tue Dec 17 08:03:44 2024 +1100

    Substantial refactoring and minor feature enhancements (#44)

    * ~ preparatory refactoring

    * + added very short test macro names, such as `TEST_INT_EQ()`;
    + added scratch test **test.scratch.all_failure_messages**, which illustrates most/all failure messages

    * + added floating-point test macros `XTESTS_TEST_FLOATINGPOINT_GREATER`, `XTESTS_TEST_FLOATINGPOINT_GREATER_OR_EQUAL`, `XTESTS_TEST_FLOATINGPOINT_LESS`, `XTESTS_TEST_FLOATINGPOINT_LESS_OR_EQUAL` ;
    + added floating-point test macros `TEST_FLOATINGPOINT_GREATER`, `TEST_FLOATINGPOINT_GREATER_OR_EQUAL`, `TEST_FLOATINGPOINT_LESS`, `TEST_FLOATINGPOINT_LESS_OR_EQUAL` ;
    + added floating-point test macros `TEST_FP_GT`, `TEST_FP_GE`, `TEST_FP_LT`, `TEST_FP_LE` ;

    * ~ defect fix (for wide character tests)

    * ~ preparatory refactoring for failure messages

    * ~ preparatory work

    * ~ refactoring (`switch` statements)

    * ~ refactoring (`case` clauses)

    * ~ preparatory refactoring

    * ~ -preparatory refactoring

    * ~ tidying

    * ~ preparatory refactoring

    * + added colour for individual elements of failure statements (including expected value, actual value, relation, function)

    * ~ preparatory refactoring

    * + applied colour changes throught all parts (save for defect reporting elements)

    * ~ STLSoft version simplifications

    * **test.scratch.all_failure_messages** : choosing pointer values (for ease of before/after comparison)

    * - removed old non-colour implementations

    * ~ refactoring-to-function `relation_equals_()`

    * ~ refactoring-to-function `relation_contains_()`

    * ~ refactoring-to-function `colorise_()`

    * - removed old colour implementation(s)

    * ~ temporary renaming of field to help with imminent refactoring

    * ~ dealing with Windows' `min()` and `max()` macros

    * + added and applied `XTESTS_CALL_NORETURN()` macro

    * ~ tidying

    * ~ whitespace

    ---------

    Co-authored-by: Matt Wilson <[email protected]>

commit e74a0b8
Author: Matt Wilson <[email protected]>
Date:   Sat Nov 23 17:10:48 2024 +1100

    Integral types (#43)

    * ~ simplified and separated (C++) implementation of `bool` tests

    * ~ simplified and separated (C++) implementation of `bool` tests

    * ~ updated **STLSoft** constructs, incl. macros

    * ~ layout

    * - dead code

    * Merged 'msq' into 'int-types'

    Squashed commit of the following:

    commit 1083e94
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:40:31 2024 +1100

        ~ commit

    commit cf1e7e3
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:37:33 2024 +1100

        Environment variable (for verbosity) (#41)

        * Merged 'env-edits' into 'env'

        Squashed commit of the following:

        commit c536d64742d96df26887394185d625ac029a306c
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:20:56 2024 +1100

            ~ updated **STLSoft** constructs, incl. macros

        commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:25:09 2024 +1100

            ~ layout

        * ~ preparatory changes

        * `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`

    commit 6620ce6
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:35:44 2024 +1100

        ~ improved boilerplate (#39)

    * ~ now uses `stlsoft::integral_traits<>` for integer test macros (in C++) to allow for custom integral types to be tested

    * Merged 'dev' into 'int-types'

    Squashed commit of the following:

    commit 97fc966
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 17:00:52 2024 +1100

        Terse macros (#42)

        * ~ ignores

        * ~ all scratch-test entry-point source file names standardised

        * + added terse forms of macros, available by including **xtests/terse-api.h**

        * Merged 'env-edits' into 'env'

        Squashed commit of the following:

        commit c536d64742d96df26887394185d625ac029a306c
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:20:56 2024 +1100

            ~ updated **STLSoft** constructs, incl. macros

        commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:25:09 2024 +1100

            ~ layout

        * ~ preparatory changes

        * ~ boilerplate

        * Merged 'dev' into 'terse-macros'

        Squashed commit of the following:

        commit 1083e94
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 16:40:31 2024 +1100

            ~ commit

        commit cf1e7e3
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 16:37:33 2024 +1100

            Environment variable (for verbosity) (#41)

            * Merged 'env-edits' into 'env'

            Squashed commit of the following:

            commit c536d64742d96df26887394185d625ac029a306c
            Author: Matt Wilson <[email protected]>
            Date:   Sat Nov 23 10:20:56 2024 +1100

                ~ updated **STLSoft** constructs, incl. macros

            commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
            Author: Matt Wilson <[email protected]>
            Date:   Sat Nov 23 10:25:09 2024 +1100

                ~ layout

            * ~ preparatory changes

            * `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`

        commit 6620ce6
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 16:35:44 2024 +1100

            ~ improved boilerplate (#39)

        ---------

        Co-authored-by: Matt Wilson <[email protected]>

    commit 1083e94
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:40:31 2024 +1100

        ~ commit

    commit cf1e7e3
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:37:33 2024 +1100

        Environment variable (for verbosity) (#41)

        * Merged 'env-edits' into 'env'

        Squashed commit of the following:

        commit c536d64742d96df26887394185d625ac029a306c
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:20:56 2024 +1100

            ~ updated **STLSoft** constructs, incl. macros

        commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:25:09 2024 +1100

            ~ layout

        * ~ preparatory changes

        * `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`

    commit 6620ce6
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:35:44 2024 +1100

        ~ improved boilerplate (#39)

    ---------

    Co-authored-by: Matt Wilson <[email protected]>

commit 97fc966
Author: Matt Wilson <[email protected]>
Date:   Sat Nov 23 17:00:52 2024 +1100

    Terse macros (#42)

    * ~ ignores

    * ~ all scratch-test entry-point source file names standardised

    * + added terse forms of macros, available by including **xtests/terse-api.h**

    * Merged 'env-edits' into 'env'

    Squashed commit of the following:

    commit c536d64742d96df26887394185d625ac029a306c
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 10:20:56 2024 +1100

        ~ updated **STLSoft** constructs, incl. macros

    commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 10:25:09 2024 +1100

        ~ layout

    * ~ preparatory changes

    * ~ boilerplate

    * Merged 'dev' into 'terse-macros'

    Squashed commit of the following:

    commit 1083e94
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:40:31 2024 +1100

        ~ commit

    commit cf1e7e3
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:37:33 2024 +1100

        Environment variable (for verbosity) (#41)

        * Merged 'env-edits' into 'env'

        Squashed commit of the following:

        commit c536d64742d96df26887394185d625ac029a306c
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:20:56 2024 +1100

            ~ updated **STLSoft** constructs, incl. macros

        commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
        Author: Matt Wilson <[email protected]>
        Date:   Sat Nov 23 10:25:09 2024 +1100

            ~ layout

        * ~ preparatory changes

        * `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`

    commit 6620ce6
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 16:35:44 2024 +1100

        ~ improved boilerplate (#39)

    ---------

    Co-authored-by: Matt Wilson <[email protected]>

commit 1083e94
Author: Matt Wilson <[email protected]>
Date:   Sat Nov 23 16:40:31 2024 +1100

    ~ commit

commit cf1e7e3
Author: Matt Wilson <[email protected]>
Date:   Sat Nov 23 16:37:33 2024 +1100

    Environment variable (for verbosity) (#41)

    * Merged 'env-edits' into 'env'

    Squashed commit of the following:

    commit c536d64742d96df26887394185d625ac029a306c
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 10:20:56 2024 +1100

        ~ updated **STLSoft** constructs, incl. macros

    commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94
    Author: Matt Wilson <[email protected]>
    Date:   Sat Nov 23 10:25:09 2024 +1100

        ~ layout

    * ~ preparatory changes

    * `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`

commit 6620ce6
Author: Matt Wilson <[email protected]>
Date:   Sat Nov 23 16:35:44 2024 +1100

    ~ improved boilerplate (#39)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants