aboutsummaryrefslogtreecommitdiff
path: root/en/devices/tech/test_infra/tradefed/full_example.html
diff options
context:
space:
mode:
authorAndroid Partner Docs <noreply@android.com>2017-06-23 13:18:39 -0700
committerClay Murphy <claym@google.com>2017-06-26 13:40:01 -0700
commitcb2b2fcd6e35be6139157b1f401b2cc81b61679f (patch)
tree993d64201a783b91d3b9ad990ebe30afca79c960 /en/devices/tech/test_infra/tradefed/full_example.html
parent14605d77b5e0aabc741b2b69d53e9e772f010b23 (diff)
downloadsource.android.com-cb2b2fcd6e35be6139157b1f401b2cc81b61679f.tar.gz
Docs: Changes to source.android.com
- 159984637 Remove stale information from known issues page by daroberts <daroberts@google.com> - 159713438 Fixed spelling error in terminal command and removed extr... by cqn <cqn@google.com> - 159634352 Fix name of SEEC driver by claym <claym@google.com> - 159628057 Remove unneeded closing tag by cqn <cqn@google.com> - 159627213 Remove unneeded closing tags by cqn <cqn@google.com> - 159627180 Fix minor tag nesting issue by cqn <cqn@google.com> - 159627159 Fixed HTML tag nesting by cqn <cqn@google.com> - 159626603 Add missing closing tags by cqn <cqn@google.com> - 159626543 Remove unneeded tag by cqn <cqn@google.com> - 159626515 Fix tag nesting by cqn <cqn@google.com> - 159626453 Changed tag nesting issues by cqn <cqn@google.com> - 159626442 Add missing tag by cqn <cqn@google.com> - 159625955 Added missing paragraph tags by cqn <cqn@google.com> - 159625722 Fixed header closing tag by cqn <cqn@google.com> - 159625168 Delete unneeded code tag by cqn <cqn@google.com> - 159624516 Add note explaining dollar sign in sample commands by claym <claym@google.com> - 159615772 Delete unneeded </code> tags by cqn <cqn@google.com> - 159615658 Added missing closing tag by cqn <cqn@google.com> - 159612512 Removed a couple unneeded <p> tags by cqn <cqn@google.com> - 159612476 Add missing <p> tag by cqn <cqn@google.com> PiperOrigin-RevId: 159984637 Change-Id: Ib9f6f4905c548fc113dc0724e3e776ad8685a628
Diffstat (limited to 'en/devices/tech/test_infra/tradefed/full_example.html')
-rw-r--r--en/devices/tech/test_infra/tradefed/full_example.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/en/devices/tech/test_infra/tradefed/full_example.html b/en/devices/tech/test_infra/tradefed/full_example.html
index f2bbb704..32b6b28f 100644
--- a/en/devices/tech/test_infra/tradefed/full_example.html
+++ b/en/devices/tech/test_infra/tradefed/full_example.html
@@ -151,7 +151,7 @@ example/helloworld: Runs the hello world test
tf&gt; run example/helloworld
05-12 13:21:21 I/TestInvocation: Starting invocation for target stub on build 0 on device 004ad9880810a548
Hello, TF World!
-</code></pre>
+</pre>
<h2 id="deviceinteract">Interacting with a device (D, R)</h2>
<p>So far, our HelloWorldTest isn't doing anything interesting. Tradefed's
@@ -294,7 +294,7 @@ Hello, TF World! I have device 004ad9880810a548
05-16 21:07:07 I/XmlResultReporter: Saved device_logcat log to /tmp/0/inv_2991649128735283633/device_logcat_6999997036887173857.txt
05-16 21:07:07 I/XmlResultReporter: Saved host_log log to /tmp/0/inv_2991649128735283633/host_log_6307746032218561704.txt
05-16 21:07:07 I/XmlResultReporter: XML test result file generated at /tmp/0/inv_2991649128735283633/test_result_536358148261684076.xml. Total tests 1, Failed 1, Error 0
-</code></pre>
+</pre>
<p>Notice the log message stating that an XML file has been generated; the
generated file should look like this:</p>
@@ -365,7 +365,7 @@ full class name of <code>FileLogger</code>:</p>
&lt;result_reporter class="com.android.tradefed.result.XmlResultReporter" /&gt;
&lt;logger class="com.android.tradefed.log.FileLogger" /&gt;
&lt;/configuration&gt;
-</code></pre>
+</pre>
<p>Now, rebuild and run the helloworld example again:</p>
<pre class="devsite-click-to-copy">
@@ -374,7 +374,7 @@ tf &gt;run example/helloworld
05-16 21:38:21 I/XmlResultReporter: Saved device_logcat log to /tmp/0/inv_6390011618174565918/device_logcat_1302097394309452308.txt
05-16 21:38:21 I/XmlResultReporter: Saved host_log log to /tmp/0/inv_6390011618174565918/host_log_4255420317120216614.txt
-</code></pre>
+</pre>
<p>The log message indicates the path of the host log, which, when viewed,
should contain your HelloWorldTest log message:</p>
<pre class="devsite-terminal devsite-click-to-copy">
@@ -453,7 +453,7 @@ Printing help for only the important options. To see help for all options, use t
'file' logger options:
--log-level-display the minimum log level to display on stdout. Must be one of verbose, debug, info, warn, error, assert. Default: error.
-</code></pre>
+</pre>
<p>Note the message about "printing only the important options." To reduce
option help clutter, TF uses the <code>Option#importance</code> attribute to
@@ -500,7 +500,7 @@ stdout, in addition to being logged to a file:</p>
tf&gt; run example/helloworld --log-level-display info
05-24 18:53:50 I/HelloWorldTest: Hello, TF World! I have device 004ad9880810a548
-</code></pre>
+</pre>
<h2 id="conclusion">That's all, folks!</h2>
<p>As a reminder, if you're stuck on something, the