From 1aeb317f2dbfb63215e6226073e67878ffa6503b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 6 Dec 2024 04:06:41 +0100 Subject: Add image and hash snapshot-based testing to `iced_test` --- examples/todos/snapshots/creates_a_new_task.sha256 | 1 + 1 file changed, 1 insertion(+) create mode 100644 examples/todos/snapshots/creates_a_new_task.sha256 (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 new file mode 100644 index 00000000..fcfee315 --- /dev/null +++ b/examples/todos/snapshots/creates_a_new_task.sha256 @@ -0,0 +1 @@ +5047c10c4ea050393b686185b8d03b3c3738b47182f9892fb68df589ec46bd4b \ No newline at end of file -- cgit From 7683bd201f156c6e80309584a9bdc205810b0e2e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 10 Dec 2024 05:10:04 +0100 Subject: Stop tracking `todos` snapshot hash file Font selection is platform-dependent. --- examples/todos/snapshots/creates_a_new_task.sha256 | 1 - 1 file changed, 1 deletion(-) delete mode 100644 examples/todos/snapshots/creates_a_new_task.sha256 (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 deleted file mode 100644 index fcfee315..00000000 --- a/examples/todos/snapshots/creates_a_new_task.sha256 +++ /dev/null @@ -1 +0,0 @@ -5047c10c4ea050393b686185b8d03b3c3738b47182f9892fb68df589ec46bd4b \ No newline at end of file -- cgit From 6572909ab5b004176f6d261b67b4caa99f1f54bb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 12 Dec 2024 03:14:40 +0100 Subject: Embed and use Fira Sans as default font when testing --- examples/todos/snapshots/creates_a_new_task.sha256 | 1 + 1 file changed, 1 insertion(+) create mode 100644 examples/todos/snapshots/creates_a_new_task.sha256 (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 new file mode 100644 index 00000000..75d5f2ce --- /dev/null +++ b/examples/todos/snapshots/creates_a_new_task.sha256 @@ -0,0 +1 @@ +b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123 \ No newline at end of file -- cgit From 2cf4abf25bb5702635c19a22353399db8cef7be3 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 14 Dec 2024 03:49:24 +0100 Subject: Support custom renderers in `iced_test` through `renderer::Headless` trait --- examples/todos/snapshots/creates_a_new_task.sha256 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 index 75d5f2ce..15efcd77 100644 --- a/examples/todos/snapshots/creates_a_new_task.sha256 +++ b/examples/todos/snapshots/creates_a_new_task.sha256 @@ -1 +1 @@ -b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123 \ No newline at end of file +a7c2ac4b57f84416812e2134e48fe34db55a757d9176beedf5854a2f69532e32 \ No newline at end of file -- cgit From 0ad40d03387a8127b445305a1c63fa3d2ac45ed7 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 17 Dec 2024 01:53:39 +0100 Subject: Reduce size of `Simulator` in `todos` test --- examples/todos/snapshots/creates_a_new_task.sha256 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 index 15efcd77..75d5f2ce 100644 --- a/examples/todos/snapshots/creates_a_new_task.sha256 +++ b/examples/todos/snapshots/creates_a_new_task.sha256 @@ -1 +1 @@ -a7c2ac4b57f84416812e2134e48fe34db55a757d9176beedf5854a2f69532e32 \ No newline at end of file +b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123 \ No newline at end of file -- cgit From 2f98a7e2032715409891e6d2c9f8529cfed59569 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 17 Dec 2024 02:17:07 +0100 Subject: Append `env::consts::OS` to snapshot filenames --- examples/todos/snapshots/creates_a_new_task-linux.sha256 | 1 + examples/todos/snapshots/creates_a_new_task.sha256 | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 examples/todos/snapshots/creates_a_new_task-linux.sha256 delete mode 100644 examples/todos/snapshots/creates_a_new_task.sha256 (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task-linux.sha256 b/examples/todos/snapshots/creates_a_new_task-linux.sha256 new file mode 100644 index 00000000..9291711e --- /dev/null +++ b/examples/todos/snapshots/creates_a_new_task-linux.sha256 @@ -0,0 +1 @@ +e0b1f2e0c0af6324eb45fde8e82384d16acc2a80a9e157bdf3f42ac6548181cf \ No newline at end of file diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 deleted file mode 100644 index 75d5f2ce..00000000 --- a/examples/todos/snapshots/creates_a_new_task.sha256 +++ /dev/null @@ -1 +0,0 @@ -b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123 \ No newline at end of file -- cgit From 41a822c6fb6dd15c9e2246a6f0d136d83c6c7d00 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 17 Dec 2024 02:27:13 +0100 Subject: Use proper hash for `creates_a_new_task` snapshot --- examples/todos/snapshots/creates_a_new_task-linux.sha256 | 1 - examples/todos/snapshots/creates_a_new_task.sha256 | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 examples/todos/snapshots/creates_a_new_task-linux.sha256 create mode 100644 examples/todos/snapshots/creates_a_new_task.sha256 (limited to 'examples/todos/snapshots') diff --git a/examples/todos/snapshots/creates_a_new_task-linux.sha256 b/examples/todos/snapshots/creates_a_new_task-linux.sha256 deleted file mode 100644 index 9291711e..00000000 --- a/examples/todos/snapshots/creates_a_new_task-linux.sha256 +++ /dev/null @@ -1 +0,0 @@ -e0b1f2e0c0af6324eb45fde8e82384d16acc2a80a9e157bdf3f42ac6548181cf \ No newline at end of file diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 new file mode 100644 index 00000000..193132c5 --- /dev/null +++ b/examples/todos/snapshots/creates_a_new_task.sha256 @@ -0,0 +1 @@ +3160686067cb7c738802009cdf2f3c5f5a5bd8c89ada70517388b7adbe64c313 \ No newline at end of file -- cgit