All Downloads are FREE. Search and download functionalities are using the official Maven repository.

reports.MainReport.jrxml Maven / Gradle / Ivy

Go to download

EasyTest is a JUnit extension perform Data Driven Testing with ease and simplicity. It supports method parameters with Test annotation and much more.

There is a newer version: 1.4.0
Show newest version


	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				
					
					
						
					
					
				
				
					
					
						
					
					
				
				
					
					
						
					
					
				
				
					
					
						
					
					
				
				
					
					
						
					
					
				
				
					
					
						
					
					
				
				
					
					
				
				
					
					
						
					
					
				
				
					
					
						
					
				
				
					
					
						
					
				
			
		
	
	
		<band height="251" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="-20" y="0" width="822" height="65" forecolor="#006699" backcolor="#006699"/>
				<staticText>
					<reportElement style="Title" x="231" y="0" width="578" height="65"/>
					<textElement textAlignment="Right">
						<font size="54" isBold="false"/>
					</textElement>
					<text><![CDATA[EasyTest Reports]]></text>
				</staticText>
			</frame>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement style="SubTitle" x="180" y="65" width="609" height="29"/>
				<textElement textAlignment="Right">
					<font fontName="Times New Roman" size="22" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Test class: " + $P{TEST_CLASS_NAME}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="0" y="65" width="180" height="180"/>
				<imageExpression><![CDATA[((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getTotalsGraph()]]></imageExpression>
			</image>
			<textField>
				<reportElement x="180" y="186" width="262" height="20"/>
				<textElement textAlignment="Left">
					<font size="12" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Passed: " + ((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getPassed() + " (" + ((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getPercentagePassed() + " %)"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="180" y="206" width="262" height="20"/>
				<textElement textAlignment="Left">
					<font size="12" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Failed: " + ((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getFailed() + " (" + ((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getPercentageFailed() + " %)"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="180" y="226" width="262" height="20"/>
				<textElement textAlignment="Left">
					<font size="12" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Exception: " + ((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getException() + " (" + ((org.easetech.easytest.reports.data.ReportTotalsBean)$P{REPORT_PARAMETERS_MAP}.get($P{TEST_CLASS_NAME})).getPercentageException() + " %)"]]></textFieldExpression>
			</textField>
		</band>