/test/language/ace/ace_002.ace

http://github.com/tybor/Liberty · Unknown · 55 lines · 46 code · 9 blank · 0 comment · 0 complexity · bf09577147c1d638acc94dcfe6981b90 MD5 · raw file

  1. system
  2. "test_002.exe" -- is the name for the executable
  3. root
  4. TEST_002: main
  5. -- To indicate that the execution will start in procedure "make" of
  6. -- class PYRAMID.
  7. default -- The default section:
  8. -- To select the default assertion level to be verified:
  9. assertion (loop) -- Try to change this "loop" keyword for example.
  10. -- To include or to exclude the Garbage Collector:
  11. collect (yes) -- Yes or No is a valid answer here.
  12. -- The default section is finished, the next keyword starts the
  13. -- cluster section.
  14. cluster
  15. "."
  16. -- The description of the first cluster starts with its name
  17. -- just folowed by the path of the directory:
  18. demos_cluster: "${path_tutorial}"
  19. -- The ${path_tutorial} variable is set in the
  20. -- configuration file (.serc or system.se)
  21. end
  22. -- The string cluster:
  23. standard : "${path_liberty_core}/string"
  24. default
  25. assertion (require)
  26. option
  27. -- To override the previously defined level
  28. -- for some classes of this cluster:
  29. assertion (ensure): STRING
  30. end
  31. -- The io basic cluster:
  32. standard : "${path_liberty_core}/io/basic"
  33. default
  34. assertion (ensure)
  35. option
  36. -- To override the previously defined level
  37. -- for some classes of this cluster:
  38. assertion (require): STD_INPUT
  39. end
  40. -- SmartEiffel's standard library. Always put this last so
  41. -- that you can override options for parts of the library.
  42. standard: "${path_liberty_core}/loadpath.se"
  43. default
  44. assertion (ensure)
  45. end
  46. end