From 8f4f9cc520aaad99aae15eef5d5c39a83a0fd441 Mon Sep 17 00:00:00 2001 From: britt-j <128912908+britt-j@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:17:04 +0100 Subject: [PATCH] tests: Add test for EditText with negative bounds --- .../edittext_negative_bounds/output.expected.png | Bin 0 -> 4644 bytes .../edittext/edittext_negative_bounds/output.txt | 0 .../edittext/edittext_negative_bounds/test.swf | Bin 0 -> 383 bytes .../edittext/edittext_negative_bounds/test.toml | 7 +++++++ 4 files changed, 7 insertions(+) create mode 100644 tests/tests/swfs/visual/edittext/edittext_negative_bounds/output.expected.png create mode 100644 tests/tests/swfs/visual/edittext/edittext_negative_bounds/output.txt create mode 100644 tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.swf create mode 100644 tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.toml diff --git a/tests/tests/swfs/visual/edittext/edittext_negative_bounds/output.expected.png b/tests/tests/swfs/visual/edittext/edittext_negative_bounds/output.expected.png new file mode 100644 index 0000000000000000000000000000000000000000..c8413b93429f1299fd8a50b6b6e6d22e296c5191 GIT binary patch literal 4644 zcmeHKdsGzH86Swqx+zA80$O6`EIw;zcV^!^?nX8&!bVnB9^qkAGOvZH`(k(4T`(qK zO==Q+fH7FKNwr2Tv7*N&8ZZe66mzO2Hb*Psg9w#au}GTKR5A3+JvObEv zb@Aom=vwZjhuFT9z9&jP+_tqoGDC1FBClfSGZ+4jpDx`$cV4)5^IvS&|M|Mj(f;oz z7vZs*T>4^R*+YTT-6T4`!VvxL@eSuLVYNul^|z*XJ)&3UrVrjQ=R;7)CN?qAY)niX zDF+m>XG5hfr8yz4H9zB>^t`w}SX8wa?`W08z4KbqQS)WtAMjm2yB}tnS2a5(x#_*G zt~T;QQ)_N^c(#7lAXMaWrgN21L)EkMT71qc+r0PYd;6iixlC<`Ec{Rnv;XlTtU7z}MnG9Y59nP;>g3Cb}$b!CO>45$TxKZq37cH{1{` zTO}OO44l-*EO@b}zVFK)_f|EBwpYY-aTMxBlw5&4 zZXAC0_Tdd_-<~$>*M8#s%}q2a=jo`Wo42n?4$I2fe7?4l6qz0rJvOwxJFRlnqU^AW zxJM7^U+(#)X{gJ4!cycqZ4$PYUyJGdHa0A@A>m!3^LpF+SMiX+_QstT2mV&m*thuB zmaWmc(EBIKU%$O|QGZDF^2V+m;<;7v|6zr#qPs7yy#7Y`bbEPMP3PM6Pab?M;m!KI zk3we7EI$^-)U7|&P}gwcrS?BQco3pm;`%!E_j}c#?K~`KuN+ekl#*{pUq?$e3KEIe|(M4XP#(6qPIFYBfoaBpO6zw7WUNPBAZG!C8O< zSOct`c6i-m;7r!WWN-wpC#I62QjJo9D%4U;DbtLBo@HEa(2G1PhKgls{|G-ZI4B25 zOYofv2>fxhGt@NT%o{G z#WEDb(IC8oW-TS(hvt_LtPM^(4Dbusz}5wJLdob>III`Q^@scn&%+NH0*0r8OiJG=xu)crlme3iPj%OnT$55@ zQsAlX`oGB~96L-gcJL3#3yw-zJ5KQ@|LNqaWCJwBe}DVo!5zRd!gl z_QD0Z%a;xOIvYM1o{oErpUiEGELa%Y(Pq3~{iEii^Dm70JMfW?Rk*K( z>}+Vg@YRO?12cN!=4WZikf2J2MS>=nMnjL)I>Ge6D4cRD?3g9@SKa@31qag&8Ix8U Kjy(PR#{U9y-eo%g literal 0 HcmV?d00001 diff --git a/tests/tests/swfs/visual/edittext/edittext_negative_bounds/output.txt b/tests/tests/swfs/visual/edittext/edittext_negative_bounds/output.txt new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.swf b/tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.swf new file mode 100644 index 0000000000000000000000000000000000000000..b231f8bddc30f67ed12eaad5e9dc67bc730c7162 GIT binary patch literal 383 zcmV-_0f7EPS5qrB0{{ScoaK-`Xj5SnhM)T-njaFIszV62Ig`Y{3PM3pFpz+gameam zl6zy-m@DLh;X*Lb(pC@@!IGi`6hRP#POb@badLBW5K3`yNzfr+@bnNU0(2t*Sz5^TO^|U75|K=R{E#g8-H&{zLJWBWVfu1vZ_NN0)Lf&KJ*MgTYCZtVRahJdt+VT&n{}+J!kvZ)K z*OK2hw?D8OQM~uLN2y#f{ibv9xS=mn&vWl^tfo`FY1K@}YB-z?tfvT2bV@fY8kJJb dx?-Cab-U>AY$(DU^WE@GT_vlN_W&MT5|SIXyO#g} literal 0 HcmV?d00001 diff --git a/tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.toml b/tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.toml new file mode 100644 index 000000000000..f21e6d5c349c --- /dev/null +++ b/tests/tests/swfs/visual/edittext/edittext_negative_bounds/test.toml @@ -0,0 +1,7 @@ +num_ticks = 1 + +[image_comparisons."output"] +tolerance = 128 + +[player_options] +with_renderer = { optional = false, sample_count = 4 } \ No newline at end of file