1 |
#!/bin/bash
|
2 |
|
3 |
xml="$1"
|
4 |
tests_count="$2"
|
5 |
tests_fail="$3"
|
6 |
tests_skipped="0"
|
7 |
|
8 |
echo '<?xml version="1.0" encoding="UTF-8"?>
|
9 |
<testsuites>
|
10 |
<testsuite name="JUnitXmlReporter" errors="0" tests="0" failures="0" time="0" />
|
11 |
<testsuite name="JUnitXmlReporter.constructor" errors="0" skipped="0" tests="'"$tests_count"'" failures="'"$tests_fail"'" time="0" >
|
12 |
<properties>
|
13 |
<property name="java.vendor" value="Sun Microsystems Inc." />
|
14 |
<property name="app" value="ZANavi for Android" />
|
15 |
<property name="developer.name" value="Zoff" />
|
16 |
<property name="developer.email" value="zoff@zanavi.cc" />
|
17 |
</properties>' > "$xml"
|
18 |
|