Ver Fonte

Add explicit copyright info to `core:testing`

Feoramund há 1 ano atrás
pai
commit
0af025d056

+ 8 - 0
core/testing/events.odin

@@ -1,6 +1,14 @@
 //+private
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Feoramund:   Total rewrite.
+*/
+
 import "base:runtime"
 import "core:sync/chan"
 import "core:time"

+ 9 - 0
core/testing/logging.odin

@@ -1,6 +1,15 @@
 //+private
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Ginger Bill: Initial implementation.
+		Feoramund:   Total rewrite.
+*/
+
 import "base:runtime"
 import "core:fmt"
 import pkg_log "core:log"

+ 8 - 0
core/testing/reporting.odin

@@ -1,6 +1,14 @@
 //+private
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Feoramund:   Total rewrite.
+*/
+
 import "base:runtime"
 import "core:encoding/ansi"
 import "core:fmt"

+ 9 - 0
core/testing/runner.odin

@@ -1,6 +1,15 @@
 //+private
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Ginger Bill: Initial implementation.
+		Feoramund:   Total rewrite.
+*/
+
 import "base:intrinsics"
 import "base:runtime"
 import "core:bytes"

+ 8 - 0
core/testing/signal_handler.odin

@@ -1,6 +1,14 @@
 //+private
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Feoramund:   Total rewrite.
+*/
+
 import "base:runtime"
 import pkg_log "core:log"
 

+ 8 - 0
core/testing/signal_handler_libc.odin

@@ -2,6 +2,14 @@
 //+build windows, linux, darwin, freebsd, openbsd, netbsd, haiku
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Feoramund:   Total rewrite.
+*/
+
 import "base:intrinsics"
 import "core:c/libc"
 import "core:encoding/ansi"

+ 8 - 0
core/testing/signal_handler_other.odin

@@ -2,6 +2,14 @@
 //+build !windows !linux !darwin !freebsd !openbsd !netbsd !haiku
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Feoramund:   Total rewrite.
+*/
+
 _setup_signal_handler :: proc() {
 	// Do nothing.
 }

+ 10 - 1
core/testing/testing.odin

@@ -1,5 +1,14 @@
 package testing
 
+/*
+	(c) Copyright 2024 Feoramund <[email protected]>.
+	Made available under Odin's BSD-3 license.
+
+	List of contributors:
+		Ginger Bill: Initial implementation.
+		Feoramund:   Total rewrite.
+*/
+
 import "base:intrinsics"
 import "base:runtime"
 import pkg_log "core:log"
@@ -162,4 +171,4 @@ set_fail_timeout :: proc(t: ^T, duration: time.Duration, loc := #caller_location
 		at_time = time.time_add(time.now(), duration),
 		location = loc,
 	})
-}
+}