Skip to content

Commit

Permalink
Added constants to AdbClient
Browse files Browse the repository at this point in the history
 - Version 12.5.4
 - Updated copyright
  • Loading branch information
dtmilano committed Feb 9, 2017
1 parent 894f78f commit fb7c3ff
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

setup(name='androidviewclient',
version='12.5.3',
version='12.5.4',
description='''AndroidViewClient is a 100% pure python library and tools
that simplifies test script creation providing higher level
operations and the ability of obtaining the tree of Views present at
Expand Down
8 changes: 6 additions & 2 deletions src/com/dtmilano/android/adb/adbclient.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Dec 1, 2012
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,7 +18,7 @@
'''
import threading

__version__ = '12.5.3'
__version__ = '12.5.4'

import sys
import warnings
Expand Down Expand Up @@ -157,6 +157,10 @@ class TimeoutException(Exception):

class AdbClient:

UP = UP
DOWN = DOWN
DOWN_AND_UP = DOWN_AND_UP

def __init__(self, serialno=None, hostname=HOSTNAME, port=PORT, settransport=True, reconnect=True,
ignoreversioncheck=False, timeout=TIMEOUT):
self.Log = AdbClient.__Log(self)
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Jan 5, 2015
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions src/com/dtmilano/android/concertina.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Jul 6, 2015
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -24,7 +24,7 @@
import sys

__author__ = 'diego'
__version__ = '12.5.3'
__version__ = '12.5.4'

DEBUG = True

Expand Down
4 changes: 2 additions & 2 deletions src/com/dtmilano/android/controlpanel.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2014 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on oct 30, 2014
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -19,7 +19,7 @@
@author: Ahmed Kasem
'''

__version__ = '12.5.3'
__version__ = '12.5.4'

import Tkinter
import ttk
Expand Down
4 changes: 2 additions & 2 deletions src/com/dtmilano/android/culebron.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on oct 6, 2014
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -27,7 +27,7 @@
from com.dtmilano.android.common import profileStart
from com.dtmilano.android.concertina import Concertina

__version__ = '12.5.3'
__version__ = '12.5.4'

import sys
import threading
Expand Down
4 changes: 2 additions & 2 deletions src/com/dtmilano/android/robotframework/viewclientwrapper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Nov 10, 2015
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,7 +18,7 @@
@author: Diego Torres Milano
'''

__version__ = '12.5.3'
__version__ = '12.5.4'
__author__ = 'diego'

import sys
Expand Down
4 changes: 2 additions & 2 deletions src/com/dtmilano/android/uiautomator/uiautomatorhelper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Feb 2, 2015
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,7 +18,7 @@
@author: Diego Torres Milano
'''

__version__ = '12.5.3'
__version__ = '12.5.4'

import json
import os
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/viewclient.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Feb 2, 2012
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/window.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Jan 5, 2015
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
6 changes: 3 additions & 3 deletions tools/culebra
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Copyright (C) 2013-2016 Diego Torres Milano
Copyright (C) 2013-2017 Diego Torres Milano
Created on Mar 28, 2013
Culebra helps you create AndroidViewClient scripts generating a working template that can be
Expand All @@ -20,7 +20,7 @@ ___________________/ /__/ /__/ /__/ /________________________________
'''

__version__ = '12.5.3'
__version__ = '12.5.4'

import calendar
import codecs
Expand Down Expand Up @@ -937,7 +937,7 @@ def printScriptHeader():
print '''%s
# -*- coding: utf-8 -*-
\'\'\'
Copyright (C) 2013-2016 Diego Torres Milano
Copyright (C) 2013-2017 Diego Torres Milano
Created on %s by Culebra v%s
__ __ __ __
/ \ / \ / \ / \
Expand Down
4 changes: 2 additions & 2 deletions tools/dump
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#! /usr/bin/env python
'''
Copyright (C) 2012-2015 Diego Torres Milano
Copyright (C) 2012-2017 Diego Torres Milano
Created on Feb 3, 2012
@author: diego
'''

__version__ = '12.5.3'
__version__ = '12.5.4'

import ast
import getopt
Expand Down

0 comments on commit fb7c3ff

Please sign in to comment.