ocaml/ocamltest/tsl_semantics.mli

48 lines
1.9 KiB
OCaml

(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Sebastien Hinderer, projet Gallium, INRIA Paris *)
(* *)
(* Copyright 2016 Institut National de Recherche en Informatique et *)
(* en Automatique. *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(* Interpretation of TSL blocks and operations on test trees *)
open Tsl_ast
val apply_modifiers : Environments.t -> string located -> Environments.t
val interprete_environment_statement :
Environments.t -> Tsl_ast.environment_statement Tsl_ast.located ->
Environments.t
val interprete_environment_statements :
Environments.t -> Tsl_ast.environment_statement Tsl_ast.located list ->
Environments.t
type test_tree =
| Node of
(Tsl_ast.environment_statement located list) *
Tests.t *
string located list *
(test_tree list)
val test_trees_of_tsl_block :
Tsl_ast.tsl_block ->
Tsl_ast.environment_statement located list * test_tree list
val tests_in_tree : test_tree -> Tests.TestSet.t
val tests_in_trees : test_tree list -> Tests.TestSet.t
val actions_in_test : Tests.t -> Actions.ActionSet.t
val actions_in_tests : Tests.TestSet.t -> Actions.ActionSet.t