Files
aws/regtests/0379_enum_value/enumval.adb
Pascal Obry a4014654fa Fix WSDL enumeration whose values have invalid characters for an identifier.
Add corresponding regression test.

TN eng/toolchain/aws#106
2025-11-17 20:39:10 +01:00

39 lines
1.7 KiB
Ada

------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2025, AdaCore --
-- --
-- This is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This software is distributed in the hope that it will --
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty --
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- distributed with this software; see file COPYING3. If not, go --
-- to http://www.gnu.org/licenses for a complete copy of the license. --
------------------------------------------------------------------------------
with Ada.Text_IO;
with EnumValService.Client;
with EnumValService.Server;
with EnumValService.Types;
with simple.doc.net.sd.Exampletype_Type_Pkg;
procedure EnumVal is
use Ada;
use simple.doc.net.sd.Exampletype_Type_Pkg;
begin
for E in ExampleType_Type'Range loop
Text_IO.Put_Line (E'Image
& " : "
& Image (Value (To_String_Type (E))));
end loop;
end EnumVal;