aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinhui Wang <jinhuiw@google.com>2016-08-02 10:46:24 -0700
committerJinhui Wang <jinhuiw@google.com>2016-08-02 10:46:24 -0700
commit6307cce38cd83f4408a17a35dc764b23540ffac8 (patch)
tree61779cf296f95f3a80c1f8fd853e6efd9e7ab072
parentf4be9ac26595ede989bbeeae4cbb8fda5712566b (diff)
downloadAfwTestHarness-6307cce38cd83f4408a17a35dc764b23540ffac8.tar.gz
Minor comments cleanup
Change-Id: I699a3e3c8d16a5d5cc135264b2e184f8ed980222
-rw-r--r--README2
-rw-r--r--apps/SystemUtil/src/com/android/afwtest/systemutil/NfcBumpSender.java4
-rw-r--r--tools/utils/afwtest/__init__.py2
-rw-r--r--tools/utils/afwtest/tools.py3
4 files changed, 4 insertions, 7 deletions
diff --git a/README b/README
index 111dd68..45a6924 100644
--- a/README
+++ b/README
@@ -107,7 +107,7 @@ Run Afw Test Harness
5. If the device supports both 64 bits & 32 bits abi, you can force the test
harness to run on a specific abi, e.g.:
- cts-tf > run cts --plan afw-userdebug-build --force-abi 64
+ cts-tf > run cts --plan afw-userdebug-build --force-abi 64 -l DEBUG
6.For more options:
cts-tf > run cts --help
diff --git a/apps/SystemUtil/src/com/android/afwtest/systemutil/NfcBumpSender.java b/apps/SystemUtil/src/com/android/afwtest/systemutil/NfcBumpSender.java
index 636d537..5cda272 100644
--- a/apps/SystemUtil/src/com/android/afwtest/systemutil/NfcBumpSender.java
+++ b/apps/SystemUtil/src/com/android/afwtest/systemutil/NfcBumpSender.java
@@ -23,10 +23,10 @@ import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
-import java.io.IOException;
-
import com.android.afwtest.common.nfcprovisioning.NfcBumpSimulator;
+import java.io.IOException;
+
/**
* Activity to send a nfc bump.
*/
diff --git a/tools/utils/afwtest/__init__.py b/tools/utils/afwtest/__init__.py
index 7391cf0..0092f55 100644
--- a/tools/utils/afwtest/__init__.py
+++ b/tools/utils/afwtest/__init__.py
@@ -1,6 +1,6 @@
#!/usr/bin/python2.4
-# Copyright (C) 2009 The Android Open Source Project
+# Copyright (C) 2016 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/tools/utils/afwtest/tools.py b/tools/utils/afwtest/tools.py
index 3b352ce..be09369 100644
--- a/tools/utils/afwtest/tools.py
+++ b/tools/utils/afwtest/tools.py
@@ -29,9 +29,6 @@ class TestPackage(object):
The package structure is currently stored using Python dictionaries and lists. Translation
to XML is done via a DOM tree that gets created on demand.
-
- TODO: Instead of using an internal data structure, using a DOM tree directly would increase
- the usability. For example, one could easily create an instance by parsing an existing XML.
"""
class TestSuite(object):