DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦b91246dbd⟧ TextFile

    Length: 1963 (0x7ab)
    Types: TextFile
    Names: »V«

Derivation

└─⟦db1c56801⟧ Bits:30000748 8mm tape, Rational 1000, TESTMATE 2_2_0
    └─ ⟦866d14df1⟧ »DATA« 
        └─⟦97c804b2f⟧ 
            └─⟦this⟧ 

TextFile

with Access_String;
with System;  
with Po_Handle;
with Po_Access_Modes;
with Po_Conditions;

package Test_Context is

  type Location_Kind is (None, Test_Run_Loc, Test_Case_Loc, Test_Set_Loc,
                         Subject_Program_Loc, Test_Driver_Loc,
                         Input_Data_Loc, Expected_Output_Loc,
                         Test_Output_Loc, Test_Log_Loc, Test_Script_Loc);

  type Object is private;


  function Constructor (Heap : System.Segment) return Test_Context.Object;

  procedure Destructor (The_Context : in out Test_Context.Object);

  procedure Set_Location_Of (The_Kind   :        Location_Kind;
                             In_Context : in out Test_Context.Object;
                             With_Value :        String);

  function Location_Of
            (The_Kind : Location_Kind; In_Context : Test_Context.Object)
            return String;


  function Full_Name (Of_Relative_Name : String;
                      Of_Kind          : Location_Kind;
                      Using_Context    : Test_Context.Object) return String;


  package Persistent_Operations is


    procedure Get_Condition (Obj  : in     Test_Context.Object;
                             Into : in out Po_Conditions.Condition);


    procedure Open (The_Obj : in out Test_Context.Object;
                    Mode    : in     Po_Access_Modes.Modes;
                    Handle  : in     Po_Handle.Object);


    procedure Create (The_Obj : in out Test_Context.Object;
                      Handle  : in     Po_Handle.Object);

    function Name (For_Obj : Test_Context.Object) return String;

    procedure Save (The_Obj : in out Test_Context.Object);

    procedure Save_As (The_Obj         : in out Test_Context.Object;
                       With_New_Handle :        Po_Handle.Object);

    procedure Close (The_Obj : in out Test_Context.Object;
                     Abandon :        Boolean := False);


  end Persistent_Operations;


end Test_Context;