Natools

natools-s_expressions-lockable-tests.ads at [dd0bb46ace]
Login

File tests/natools-s_expressions-lockable-tests.ads artifact 730be3fd9a part of check-in dd0bb46ace


------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté                                        --
--                                                                          --
-- Permission to use, copy, modify, and distribute this software for any    --
-- purpose with or without fee is hereby granted, provided that the above   --
-- copyright notice and this permission notice appear in all copies.        --
--                                                                          --
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF         --
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR  --
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES   --
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN    --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF  --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.           --
------------------------------------------------------------------------------

------------------------------------------------------------------------------
-- Natools.S_Expressions.Lockable.Tests provides both test suites for lock  --
-- stack and the lockable wrapper, and tools to test Lockable.Descriptor    --
-- interface for other types.                                               --
------------------------------------------------------------------------------

with Natools.Tests;

package Natools.S_Expressions.Lockable.Tests is
   pragma Preelaborate (Tests);

   package NT renames Natools.Tests;

   function Test_Expression return Atom;
   procedure Test_Interface
     (Test : in out NT.Test;
      Object : in out Lockable.Descriptor'Class);

   procedure All_Tests (Report : in out NT.Reporter'Class);

   procedure Test_Stack (Report : in out NT.Reporter'Class);
   procedure Test_Wrapper_Extra (Report : in out NT.Reporter'Class);
   procedure Test_Wrapper_Interface (Report : in out NT.Reporter'Class);

end Natools.S_Expressions.Lockable.Tests;