Bazaar: GtestUIExample cosmetic improvements.

git-svn-id: svn://ultimatepp.org/upp/trunk@14994 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2020-09-06 11:44:12 +00:00
parent eee1bd4e46
commit da73533484

View file

@ -55,9 +55,7 @@ TEST_F(AppWindowTest, ApperanceTest)
PNGEncoder encoder;
if (!FileExists(fileName)) {
encoder.SaveFile(fileName, id);
Cout() << "Non referal window image. Creating and failing test..\n";
ASSERT_TRUE(false);
return;
ASSERT_TRUE(false) << "Non found referal window image. Creating new one and failing test..\n";
}
auto img = StreamRaster::LoadFileAny(fileName);