Skip to content

Commit

Permalink
Get rid of license headers in test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Jan 11, 2024
1 parent 3d71cf8 commit 705625a
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 75 deletions.
5 changes: 0 additions & 5 deletions test/unit/loop/alive.ml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/backend_fd.ml
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/backend_timeout.ml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/configure.ml
Original file line number Diff line number Diff line change
@@ -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 () =
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/configure_invalid.ml
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/default.ml
Original file line number Diff line number Diff line change
@@ -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"
5 changes: 0 additions & 5 deletions test/unit/loop/helpers.ml
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/now.ml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/run_empty_default.ml
Original file line number Diff line number Diff line change
@@ -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 ()
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/run_empty_nowait.ml
Original file line number Diff line number Diff line change
@@ -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 ()
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/run_empty_once.ml
Original file line number Diff line number Diff line change
@@ -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 ()
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/stop.ml
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/trivial.ml
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 0 additions & 5 deletions test/unit/loop/update_time.ml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions test/unit/pure/version.ml
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 705625a

Please # to comment.