Skip to content

Commit

Permalink
don't use TestImages in tests
Browse files Browse the repository at this point in the history
It's currently broken with Gtk4's CI.
  • Loading branch information
jwahlstrand committed Dec 7, 2024
1 parent c198160 commit 32efde4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
ModernGL = "66fc600b-dfda-50eb-8b99-91cfa97b1301"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
ImageIO = "82e4d734-157c-48bb-816b-45c225c6df19"
ImageIO = "82e4d734-157c-48bb-816b-45c225c6df19"
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
4 changes: 2 additions & 2 deletions test/gdkpixbuf.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Test, Gtk4, Gtk4.GdkPixbufLib, Colors, TestImages
using Test, Gtk4, Gtk4.GdkPixbufLib, Colors, FixedPointNumbers

@testset "GdkTexture" begin
img = testimage("mountainstream")
img = rand(RGB{N0f8}, 512, 768)
t = GdkMemoryTexture(img)
@test size(t) == reverse(size(img)) # image is transposed
p = GdkPaintable(t)
Expand Down
8 changes: 4 additions & 4 deletions test/gui/examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ end
destroy(main_window)
end

@testset "Show Image" begin
include(joinpath(@__DIR__, "..", "..", "examples", "show_image.jl"))
destroy(win)
end
#@testset "Show Image" begin
# include(joinpath(@__DIR__, "..", "..", "examples", "show_image.jl"))
# destroy(win)
#end

@testset "CSS Style" begin
include(joinpath(@__DIR__, "..", "..", "examples", "css-style.jl"))
Expand Down

0 comments on commit 32efde4

Please sign in to comment.