Skip to content

Commit 12f521e

Browse files
committedAug 8, 2012
Fix html test
1 parent 852c5e7 commit 12f521e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎tests/src/core/qgscompositionchecker.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ bool QgsCompositionChecker::testComposition( int page )
4141
return false;
4242
}
4343

44-
#if 0 //fake mode to generate expected image
44+
#if 0
45+
//fake mode to generate expected image
4546
//assume 300 dpi and size of the control image 3507 * 2480
4647
QImage outputImage( QSize( 3507, 2480 ), QImage::Format_ARGB32 );
4748
mComposition->setPlotStyle( QgsComposition::Print );

‎tests/src/core/testqgscomposerhtml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void TestQgsComposerHtml::table()
7474
void TestQgsComposerHtml::tableMultiFrame()
7575
{
7676
QgsComposerHtml* htmlItem = new QgsComposerHtml( mComposition, false );
77-
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 0, 0, 100, 200 );
77+
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 10, 10, 100, 50 );
7878
htmlItem->addFrame( htmlFrame );
7979
htmlItem->setResizeMode( QgsComposerMultiFrame::ExtendToNextPage );
8080
bool result = true;

0 commit comments

Comments
 (0)
Please sign in to comment.