summaryrefslogtreecommitdiff
path: root/test/utils/python/testgen/mixins.py
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2015-11-11 18:07:14 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-11 18:07:14 +0000
commitd15cd44c905e055d2d60b847ba4b221edda5e119 (patch)
treeb1c3d7d3f2365f3fc1cccba7778c1a351f67b335 /test/utils/python/testgen/mixins.py
parent54af9bd45a482376b5fe8d4ac291afb5bc950065 (diff)
parent9139e008abe30b7beaf4afd6533228a1dd9b202c (diff)
Merge "Correct exception behavior for default methods"
Diffstat (limited to 'test/utils/python/testgen/mixins.py')
-rw-r--r--test/utils/python/testgen/mixins.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/utils/python/testgen/mixins.py b/test/utils/python/testgen/mixins.py
index 085e51def2..aa8943baf3 100644
--- a/test/utils/python/testgen/mixins.py
+++ b/test/utils/python/testgen/mixins.py
@@ -79,6 +79,12 @@ class SmaliFileMixin(get_file_extension_mixin(".smali")):
"""
pass
+class JavaFileMixin(get_file_extension_mixin(".java")):
+ """
+ A mixin that defines that the file this class belongs to is get_name() + ".java".
+ """
+ pass
+
class NameComparableMixin(object):
"""
A mixin that defines the object comparison and related functionality in terms