Commit graph

9 commits

Author SHA1 Message Date
Dennis Francis
e2ef62aabd mocha: add tests for '-left' anchor flag
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibb359bb596994204d4641b2929ac2d3cd329caf1
2023-01-18 16:45:02 +05:30
Dennis Francis
f19948de9c mocha: avoid assert with absolute coordinates
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iffb3ad4e35621bb7d57e8379d59940fa2caae288
2023-01-18 16:45:02 +05:30
Dennis Francis
4ac90db720 mocha: tests for 2-vert section container
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I22a1b72917508e1a1615251aa9b6183f79299432
2023-01-18 16:45:02 +05:30
Dennis Francis
98da29a609 mocha: tests for 2-horiz section container
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I26b29113fcb627e1f22a3578eb82641d105a67ae
2023-01-18 16:45:02 +05:30
Dennis Francis
c744ed64dc mocha: move container setup code
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5f31276c3570d2ab02a2820848cb2393dfb0b760
2023-01-18 16:45:02 +05:30
Dennis Francis
df14c25fbe mocha: move Rectangle utility functions
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id441837e6939297d40870761dd191c7f4240b677
2023-01-18 16:45:02 +05:30
Dennis Francis
ad71d399ef mocha: move Rectangle type to its own file
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I8bfa41e9a25d5d13da62065186f8d7e7d2466b5f
2023-01-18 16:45:02 +05:30
Dennis Francis
13f746781b mocha: move jsdom setup string to helper function
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I8a04aabee4691d1c0d914618a1be49bd8dac7fb2
2023-01-18 16:45:02 +05:30
Dennis Francis
ee7a6e7539 add mocha tests for singleton section-container
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2d6cb530b527d891ed1490e535105c7362fcc0de
2023-01-18 16:45:02 +05:30