1
0
forked from Alepha/Alepha
Commit Graph

324 Commits

Author SHA1 Message Date
d6160b430f Some Alepha.h header inclusions were missing. 2023-10-29 23:35:33 -04:00
b93e2060a8 Discard an unused file. 2023-10-29 23:30:39 -04:00
7097e6ae65 renames 2023-10-29 20:37:52 -04:00
80cf4138ed Start name unification for console. 2023-10-29 11:58:24 -04:00
4dfbafbe81 Merged branch 'universal-handler'
Now `TableTest::UniversalCases` seems to work and has been
made the default for `Cases` and `ExceptionCases`.  THe original
versions still remain, for now.  These will be retired once
a few more use-cases get tried.

The `UniversalHandler` that implements the per-case entries
in `UniversalCases` is kinda messy right now.  I have to
clean that up; there's a lot of code duplication therein.
2023-10-29 06:11:09 -04:00
c6bce63536 Forgot the rename in the cmake for the streamable capability 2023-10-29 06:01:45 -04:00
1963485b9a Start renaming capabilities to lowercase. 2023-10-29 06:00:29 -04:00
01cf7bc0a9 Unified streamable support capability. 2023-10-29 05:59:55 -04:00
540e30ec18 Auto-generated istream operators respect delimiters now. 2023-10-29 05:58:55 -04:00
c15e42034f Now it's possible to set delimiters on input streams. 2023-10-29 05:58:29 -04:00
1fc1c8daac Add ability to get the current delimiter in a stream. 2023-10-29 05:57:49 -04:00
4d88f7cb75 Multi-char delimiter string splitting. 2023-10-29 05:57:11 -04:00
b9dcec564d I think I have everything working with universal testing cases. 2023-10-29 03:13:40 -04:00
a61d6222c7 Minor reformat 2023-10-29 00:22:56 -04:00
19f060b2a6 Move breakpoint stub to the top of the file. 2023-10-28 18:00:13 -04:00
bca067add4 Permit std::nothrow_t for no throwing cases, in addition to std::type_identity< void >. 2023-10-28 11:59:23 -04:00
48549ff465 I have the universal handler working for value-test cases... 2023-10-28 10:57:41 -04:00
3a3e709236 Helper to get the type of an aggregate decomposition. 2023-10-28 10:46:56 -04:00
2bd71cdfcf Merge branch 'master' of github.com:adamlsd/Alepha 2023-10-26 02:34:35 -04:00
bd3309e7ce The beginnings of UniversalCases.
The rest has to be fleshed out.  Then I can pivot the existing cases
to this, I think.
2023-10-26 01:32:46 -04:00
bba2544780 Split out some of the test core into its own TU.
This might cut down on test build times?  It will let
me polish up some of this stuff without needing to recompile
some things.
2023-10-26 00:54:33 -04:00
6b3492636a Make test exception not part of the hierarchy.
(It shouldn't be caught, but for the framework.  Although `Condition`
may be the right type?)
2023-10-26 00:38:05 -04:00
5021dfa8f9 Merge branch 'master' of github.com:adamlsd/Alepha 2023-10-26 00:00:06 -04:00
172ad64596 Add an extra test to split. 2023-10-25 23:59:56 -04:00
685d33527e Table test output alignment. 2023-10-25 23:59:45 -04:00
987aa454db Make test framework start using concepts... 2023-10-25 23:58:16 -04:00
f54ef61e6d Simplify AutoRAII.
MCE permits us to discard the move operations that used to give
us the ability to construct these and return them from functions.
2023-10-25 22:37:28 -04:00
ae5151c913 Start migrating some C++17 traits work to Concepts. 2023-10-25 22:23:17 -04:00
a62335960e Rename string gen to IOStreams::String. 2023-10-25 20:54:39 -04:00
fe305f52c3 Debug mode should build unoptimized, to help with backtraces. 2023-10-25 05:02:21 -04:00
89dd3cc81c Tuplize args testing.
The code bit-rotted a bit.  Some internals of Alepha
changed, this impl of tuplize args being imported from a
near-dead laptop.
2023-10-25 04:48:09 -04:00
5908f8d126 Add a bit more support for tuple/type-lisp crossover. 2023-10-25 04:47:23 -04:00
0fb0b578d3 Discard unit test library explicit links. 2023-10-25 04:46:54 -04:00
6bad057af3 Migrate type_lisp into Hydrogen ABI. 2023-10-25 04:19:05 -04:00
c2bc8dae2e Stream builder notation for strings.
This should be less boilerplate than repeated `lexical_cast`
or `stringify` calls when building strings.
2023-10-25 04:03:39 -04:00
bacaa9fcee Make stream state have a default-construction option.
Start integrating it for the field delimiters.
2023-10-25 03:55:42 -04:00
5e86b58987 Start to migrate delimiter code to common helper. 2023-10-25 03:40:57 -04:00
2bbaa65d68 Move function_traits into Hydrogen ABI. 2023-10-25 03:34:25 -04:00
c66282de82 Move base meta helpers to Hydrogen ABI
These probably should be consolidated into `Alepha::Meta`, but
for now, this should be fine.
2023-10-25 03:33:02 -04:00
7553289283 Move concepts to Hydrogen ABI. 2023-10-25 03:32:37 -04:00
cafc66e09f Make unit tests use the testing lib main function. 2023-10-24 00:58:38 -04:00
2ebb60e888 Improper test dependency -- relative path was broken here. 2023-10-24 00:41:06 -04:00
794e4404a1 Put in some structure to test output.
This helps to visually distinguish between different cases
which executed and when new tests start.
2023-10-24 00:36:04 -04:00
7cd33b9164 Clean up some bugs in the console color code. 2023-10-24 00:35:49 -04:00
6aa302f791 Table testing for exception cases.
I still have to implement a bit more here, but this is a good start.
2023-10-23 04:10:51 -04:00
795661873e Some output style changes for table test. 2023-10-23 04:08:46 -04:00
e1d3374e09 Delimiters helpers which work with ostream helpers. 2023-10-23 03:31:23 -04:00
3a92d2b788 OStream automatic generation for aggregates.
I still have to sort out the extended capabilities system and
implement the ostream_lens system.
2023-10-23 01:50:47 -04:00
23c71c8d27 Auto-generation of comparisons as a capability. 2023-10-22 05:15:43 -04:00
08971abb06 Add IStreamable helper. 2023-10-22 04:43:25 -04:00