Menu

Commit [r13039]  Maximize  Restore  History

.NET: reference program pinning what the generator should emit

dotnet/examples/ pairs a 4GL program with the C# the generator should
produce for it, hand-written so the target shape is settled before the
generator is pointed at it. It covers the cases the 2012 output got
wrong: MONEY (which emitted "unknown_8"), CHAR padding, a NULL that has
to survive the round trip, a cursor loop, and NOTFOUND as a status
rather than an error.

End-to-end tests run it against SQLite with a recording UI channel, a
JSON channel, and no channel at all - proving a generated program needs
neither a screen nor Informix to run or be tested. The session now
carries the UI channel alongside SQL and status.

mikeaubury 2026-09-02

added /aubit4glsrc/trunk/dotnet/examples
added /aubit4glsrc/trunk/dotnet/examples/CustomerList.cs
added /aubit4glsrc/trunk/dotnet/examples/customer_list.4gl
changed /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/FglSession.cs
added /aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/CustomerListExample.cs
added /aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/EndToEndTests.cs
/aubit4glsrc/trunk/dotnet/examples/CustomerList.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/examples/customer_list.4gl Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/FglSession.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/CustomerListExample.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/EndToEndTests.cs Diff Switch to side-by-side view
Loading...