def __init__(
         self,
         name,
         namespace,
         app_image="quay.io/redhat-developer/sbo-generic-test-app:20200923"
 ):
     App.__init__(self, name, namespace, app_image, "8080")
Beispiel #2
0
    def __init__(self):
        """Constructor."""
        self.__tcpSocket = QTcpSocket()

        self.__name = ""
        self.__food = {}

        App.__init__(self)  # Used at the end because it launches the app
Beispiel #3
0
    def __init__(self, *argp, **argv):
        Tk.__init__(self)
        App.__init__(self, *argp, **argv)
        
        self.title('French Songs')

        self.radioBoolVar = BooleanVar(self, value = self.isWholeWord)
        self.searchStringVar = StringVar(self)
        self.result = dict()
        
        self.drawWindow()
        self.showCount()
Beispiel #4
0
    def __init__(self):
        """Constructor."""

        self.__database = Database(DB_NAME)

        #création d'une table history_champagne
        max_drink = self.__database.select("SELECT MAX(id) FROM drinks")[0][0]
        self.history_champagne = np.zeros((5, max_drink))

        self._socket = ServerSocket()

        self.__reset_rooms()

        App.__init__(self)  # Set at the end because it launches the app
Beispiel #5
0
    def __init__(self):
        """Constructor."""
        self.__tcpSocket = QTcpSocket()
        # print("client descriptor", int(self.__tcpSocket.socketDescriptor()))
        # print("set descriptor ?",self.__tcpSocket.setSocketDescriptor(122315546))  # Why?? Just Why?
        # self.blockSize = 0  # ?

        self.__drinks = {}
        for k in [
                '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '.', '/',
                '*', '-', '+'
        ]:
            self.__drinks[k] = None

        App.__init__(self)  # Used at the end because it launches the app
Beispiel #6
0
 def __init__(self):
     App.__init__(self, "rr", "com.zhongduomei.rrmj.society",
                  ".function.launch.activity.LaunchActivity", 950, 1850)
     self.set_sigin(180, 380)
Beispiel #7
0
 def __init__(self):
     App.__init__(self, "smzdm", "com.smzdm.client.android",
                  ".activity.HomeActivity", 950, 1850)
     self.set_sigin(790, 620)
Beispiel #8
0
 def __init__(self):
     App.__init__(self, "black_box", "com.max.xiaoheihe", ".SplashActivity",
                  950, 1850)
Beispiel #9
0
 def __init__(self):
     App.__init__(self, "qqac", "com.qq.ac.android",
                  ".view.activity.SplashActivity", 950, 1850)
     self.set_sigin(1000, 1600)
Beispiel #10
0
 def __init__(self):
     App.__init__(self, "music", "com.netease.cloudmusic",
                  ".activity.LoadingActivity", 950, 1850)
     self.set_sigin_btn(160, 575)
     self.set_sigin(810, 520)
Beispiel #11
0
 def __init__(self):
     App.__init__(self, "jianshu", "com.jianshu.haruki",
                  "com.baiji.jianshu.ui.splash.SplashScreenActivity", 950,
                  1850)
     self.set_sigin(950, 500)
Beispiel #12
0
 def __init__(self):
     App.__init__(self, "map", "com.baidu.BaiduMap",
                  "com.baidu.baidumaps.MapsActivity", 90, 130)
     self.set_sigin(900, 230)
Beispiel #13
0
 def __init__(self):
     App.__init__(self, 'post')
Beispiel #14
0
 def __init__(self):
     App.__init__(self, "oneplus", "com.oneplus.bbs", ".ui.activity.PreStartActivity", 400, 720)
     self.set_sigin(500, 720)
Beispiel #15
0
 def __init__(
         self,
         name,
         namespace,
         app_image="quay.io/service-binding/generic-test-app:20211112"):
     App.__init__(self, name, namespace, app_image, "8080")
Beispiel #16
0
 def __init__(self,
              name,
              namespace,
              nodejs_app_image="quay.io/pmacik/nodejs-rest-http-crud"):
     App.__init__(self, name, namespace, nodejs_app_image, "8080")
Beispiel #17
0
 def __init__(self):
   App.__init__(self)
   self.inputMap.update(self.makeInputMap())
   self.gamestate = Gamestate()
Beispiel #18
0
 def __init__(self):
     App.__init__(self, "acfun", "tv.acfundanmaku.video",
                  "tv.acfun.core.view.activity.SplashActivity", 950, 1850)
     # self.set_sigin_btn(160, 575)
     self.set_sigin(900, 650)
Beispiel #19
0
 def __init__(self):
     App.__init__(self, "bilibili", "tv.danmaku.bili",
                  ".ui.splash.SplashActivity", 400, 1450)
     self.set_sigin_btn(400, 1450)
     self.set_sigin(990, 520)
Beispiel #20
0
 def __init__(self, ifile='-', ofile='-'):
     App.__init__(self)
     self.setInput(ifile or self.name + '.in')
     self.setOutput(ofile or self.name + '.out')
Beispiel #21
0
 def __init__(self):
     App.__init__(self, "jd", "com.jingdong.app.mall", ".main.MainActivity",
                  968, 1864)
     self.set_sigin_btn(330, 800)
     self.set_sigin(530, 340)
Beispiel #22
0
 def __init__(self, d):
     App.__init__(self, APP_NAME, d)
Beispiel #23
0
 def __init__(self):
     App.__init__(self, "youku", "com.youku.phone", ".ActivityWelcome", 950,
                  1850)
     self.set_sigin_btn(160, 575)
     self.set_sigin(900, 220)