text
stringlengths
0
234
begin
Assert (SDF.Scope_Entry_Count = 1);
Assert (SDF.Scope_Exit_Count = 0);
Function Definition: procedure Scope_Debug_Create_A_Test is
Function Body: begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
declare
C_D_T : Controlled_Debug_Tracer
:= Create_A ("Scope_Debug_Create_A_Test");
pragma Unreferenced (C_D_T);
begin
Assert (SDF.Scope_Entry_Count = 1);
Assert (SDF.Scope_Exit_Count = 0);
Function Definition: procedure Scope_Debug_Create_A_E_Test is
Function Body: begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
begin
declare
C_D_T : Controlled_Debug_Tracer
:= Create_A ("Scope_Debug_Create_A_Test");
pragma Unreferenced (C_D_T);
begin
Assert (SDF.Scope_Entry_Count = 1);
Assert (SDF.Scope_Exit_Count = 0);
raise Program_Error;
Function Definition: procedure Scope_Debug_Create_I_Test is
Function Body: begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
declare
C_D_T : Controlled_Debug_Tracer
:= Create_I ("Scope_Debug_Create_I_Test");
pragma Unreferenced (C_D_T);
begin
Assert (SDF.Scope_Entry_Count = 1);
Assert (SDF.Scope_Exit_Count = 0);
Function Definition: procedure Scope_Debug_Create_F_Test is
Function Body: begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
declare
C_D_T : Controlled_Debug_Tracer
:= Create_F ("Scope_Debug_Create_F_Test");
pragma Unreferenced (C_D_T);
begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
Function Definition: procedure Scope_Debug_Create_N_Test is
Function Body: begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
declare
C_D_T : Controlled_Debug_Tracer
:= Create_N ("Scope_Debug_Create_N_Test");
pragma Unreferenced (C_D_T);
begin
Assert (SDF.Scope_Entry_Count = 0);
Assert (SDF.Scope_Exit_Count = 0);
Function Definition: procedure Shared_Instance_Access_Setter_L_Null_CB_Test is
Function Body: use Ada.Tags;
use SIFLI_Shared_Instance_L;
begin
Assert (not SIFLI_Shared_Instance_L.Locked);
Assert (not SIFLI_Shared_Instance_L.Instantiated);
Assert (SIFLI_Shared_Instance_L.Instance = null);
Assert (SIF.Lock_Count = 0);
Assert (SIF.Unlock_Count = 0);
declare
package Outer_A_S is new SIFLI_Shared_Instance_L.Access_Setter
(Inst_Access => SIFLI_Concrete_1_Instance'Access);
begin
Assert (SIFLI_Shared_Instance_L.Locked);
Assert (SIFLI_Shared_Instance_L.Instantiated);
Assert (SIFLI_Shared_Instance_L.Instance
=
SIFLI_Concrete_1_Instance'Access);
Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag);
Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1');