From 705625a5bcef4c95f118cb05cd474ec863e210ef Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Thu, 11 Jan 2024 23:39:07 +0300 Subject: [PATCH] Get rid of license headers in test cases --- test/unit/loop/alive.ml | 5 ----- test/unit/loop/backend_fd.ml | 5 ----- test/unit/loop/backend_timeout.ml | 5 ----- test/unit/loop/configure.ml | 5 ----- test/unit/loop/configure_invalid.ml | 5 ----- test/unit/loop/default.ml | 5 ----- test/unit/loop/helpers.ml | 5 ----- test/unit/loop/now.ml | 5 ----- test/unit/loop/run_empty_default.ml | 5 ----- test/unit/loop/run_empty_nowait.ml | 5 ----- test/unit/loop/run_empty_once.ml | 5 ----- test/unit/loop/stop.ml | 5 ----- test/unit/loop/trivial.ml | 5 ----- test/unit/loop/update_time.ml | 5 ----- test/unit/pure/version.ml | 5 ----- 15 files changed, 75 deletions(-) diff --git a/test/unit/loop/alive.ml b/test/unit/loop/alive.ml index 8905a160..201bef09 100644 --- a/test/unit/loop/alive.ml +++ b/test/unit/loop/alive.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.alive loop diff --git a/test/unit/loop/backend_fd.ml b/test/unit/loop/backend_fd.ml index d686cf0c..4bfeb609 100644 --- a/test/unit/loop/backend_fd.ml +++ b/test/unit/loop/backend_fd.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.backend_fd loop |> ignore; diff --git a/test/unit/loop/backend_timeout.ml b/test/unit/loop/backend_timeout.ml index d2f70b35..a4cfbe55 100644 --- a/test/unit/loop/backend_timeout.ml +++ b/test/unit/loop/backend_timeout.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.backend_timeout loop diff --git a/test/unit/loop/configure.ml b/test/unit/loop/configure.ml index 29d55b0b..c2c27103 100644 --- a/test/unit/loop/configure.ml +++ b/test/unit/loop/configure.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let check = if not Sys.win32 then ok else error [`ENOSYS] let () = diff --git a/test/unit/loop/configure_invalid.ml b/test/unit/loop/configure_invalid.ml index de1d9104..70cd418c 100644 --- a/test/unit/loop/configure_invalid.ml +++ b/test/unit/loop/configure_invalid.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.(Luv.Loop.configure loop Luv.Loop.Option.block_signal 0) diff --git a/test/unit/loop/default.ml b/test/unit/loop/default.ml index 8b3f457d..420209e0 100644 --- a/test/unit/loop/default.ml +++ b/test/unit/loop/default.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Ctypes.is_null (Luv.Loop.default ()) |> Printf.printf "%b\n" diff --git a/test/unit/loop/helpers.ml b/test/unit/loop/helpers.ml index b84af0a5..ffddbc1a 100644 --- a/test/unit/loop/helpers.ml +++ b/test/unit/loop/helpers.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let with_loop f = Luv.Loop.init () |> ok "init" @@ fun loop -> f loop; diff --git a/test/unit/loop/now.ml b/test/unit/loop/now.ml index 132cc025..ede24121 100644 --- a/test/unit/loop/now.ml +++ b/test/unit/loop/now.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> let time = Luv.Loop.now loop in diff --git a/test/unit/loop/run_empty_default.ml b/test/unit/loop/run_empty_default.ml index 77a2e31e..2e1410b0 100644 --- a/test/unit/loop/run_empty_default.ml +++ b/test/unit/loop/run_empty_default.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.run ~loop ~mode:`DEFAULT () diff --git a/test/unit/loop/run_empty_nowait.ml b/test/unit/loop/run_empty_nowait.ml index d5adcbcd..f479cdfd 100644 --- a/test/unit/loop/run_empty_nowait.ml +++ b/test/unit/loop/run_empty_nowait.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.run ~loop ~mode:`NOWAIT () diff --git a/test/unit/loop/run_empty_once.ml b/test/unit/loop/run_empty_once.ml index 7b8ad956..2dce64b8 100644 --- a/test/unit/loop/run_empty_once.ml +++ b/test/unit/loop/run_empty_once.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.run ~loop ~mode:`ONCE () diff --git a/test/unit/loop/stop.ml b/test/unit/loop/stop.ml index da515cb0..d2e33d1d 100644 --- a/test/unit/loop/stop.ml +++ b/test/unit/loop/stop.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> Luv.Loop.stop loop; diff --git a/test/unit/loop/trivial.ml b/test/unit/loop/trivial.ml index bf088ca3..80f812f5 100644 --- a/test/unit/loop/trivial.ml +++ b/test/unit/loop/trivial.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> ignore loop; diff --git a/test/unit/loop/update_time.ml b/test/unit/loop/update_time.ml index 30939afa..34eed279 100644 --- a/test/unit/loop/update_time.ml +++ b/test/unit/loop/update_time.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Helpers.with_loop @@ fun loop -> let initial = Luv.Loop.now loop in diff --git a/test/unit/pure/version.ml b/test/unit/pure/version.ml index 8cfbeb83..b13ae848 100644 --- a/test/unit/pure/version.ml +++ b/test/unit/pure/version.ml @@ -1,8 +1,3 @@ -(* This file is part of Luv, released under the MIT license. See LICENSE.md for - details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) - - - let () = Printf.printf "Numeric: %i.%i.%i\n" Luv.Version.major Luv.Version.minor Luv.Version.patch;