Skip to content

Commit 2d3b6dd

Browse files
committed
update docs
(cherry picked from commit dcd04e439bfb2f1f8bfbe281655de9dbbf32cd05)
1 parent 312f267 commit 2d3b6dd

27 files changed

Lines changed: 549 additions & 53 deletions

DocBuilder/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
os.chdir(this_dir)
3030
sys.path.insert(0, os.path.abspath(os.path.join(this_dir, '..', 'poco')))
3131

32-
print sys.argv
33-
print sys.path
32+
print(sys.argv)
33+
print(sys.path)
3434
# compatible with readthedocs online builder and local builder
35-
if sys.argv[0].endswith('sphinx-build') and ('html' in sys.argv or sys.argv[-1] == '_build/html'):
35+
# local: sphinx-build -b html . ../doc-auto
36+
# readthedocs: /bin/python -m sphinx -T -b html -d _build/doctrees
37+
if ('sphinx' in sys.argv or sys.argv[0].endswith('sphinx-build')) and ('html' in sys.argv or sys.argv[-1] == '_build/html'):
3638
if not os.path.exists('source'):
3739
os.mkdir('source')
3840

DocBuilder/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Welcome to Poco (ポコ) documentation!
3-
===================================
3+
======================================
44

55
**A cross-engine UI automation framework**. ``Unity3D``/``cocos2dx-*``/``Android native APP``/``iOS native APP``/(Other engines SDK)/...
66

DocBuilder/locale/zh_CN/LC_MESSAGES/source/poco.drivers.ios.po

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: poco \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-10 14:16+0800\n"
11+
"POT-Creation-Date: 2021-07-19 19:29+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=utf-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
18-
"Generated-By: Babel 2.5.1\n"
18+
"Generated-By: Babel 2.9.1\n"
1919

2020
#: ../../source/poco.drivers.ios.rst:2
2121
msgid "poco.drivers.ios package"
@@ -39,6 +39,34 @@ msgstr ""
3939
msgid "基类::class:`poco.agent.PocoAgent`"
4040
msgstr ""
4141

42+
#: of poco.drivers.ios.json_parser
43+
msgid "参数"
44+
msgstr ""
45+
46+
#: of poco.drivers.ios.json_parser:1
47+
msgid "node info {}"
48+
msgstr ""
49+
50+
#: of poco.drivers.ios.json_parser:2
51+
msgid "ios.windows_size()"
52+
msgstr ""
53+
54+
#: of poco.drivers.ios.json_parser:3
55+
msgid ""
56+
"If it is an ipad , when on the desktop, all coordinates must be converted"
57+
" to vertical screen coordinates"
58+
msgstr ""
59+
60+
#: of poco.drivers.ios.json_parser:4
61+
msgid ""
62+
"wda ['PORTRAIT', 'LANDSCAPE', 'UIA_DEVICE_ORIENTATION_LANDSCAPERIGHT', "
63+
"'UIA_DEVICE_ORIENTATION_PORTRAIT_UPSIDEDOWN']"
64+
msgstr ""
65+
66+
#: of poco.drivers.ios.json_parser
67+
msgid "返回"
68+
msgstr ""
69+
4270
#~ msgid "poco\\.drivers\\.ios package"
4371
#~ msgstr ""
4472

DocBuilder/locale/zh_CN/LC_MESSAGES/source/poco.drivers.netease.internal.po

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,22 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: poco \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-10 14:16+0800\n"
11+
"POT-Creation-Date: 2021-07-19 16:32+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=utf-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
18-
"Generated-By: Babel 2.5.1\n"
18+
"Generated-By: Babel 2.9.1\n"
1919

2020
#: ../../source/poco.drivers.netease.internal.rst:2
2121
msgid "poco.drivers.netease.internal module"
2222
msgstr ""
2323

24-
#: of poco.drivers.netease.internal.NeteasePoco:1
25-
msgid "基类::class:`poco.pocofw.Poco`"
26-
msgstr ""
27-
2824
#~ msgid "poco\\.drivers\\.netease\\.internal module"
2925
#~ msgstr ""
3026

27+
#~ msgid "基类::class:`poco.pocofw.Poco`"
28+
#~ msgstr ""
29+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2017, NetEase Co, Ltd.
3+
# This file is distributed under the same license as the poco package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: poco 1.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2021-07-19 16:32+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.9.1\n"
19+
20+
#: ../../source/poco.drivers.ue4.device.rst:2
21+
msgid "poco.drivers.ue4.device module"
22+
msgstr ""
23+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2017, NetEase Co, Ltd.
3+
# This file is distributed under the same license as the poco package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: poco 1.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2021-07-19 16:32+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.9.1\n"
19+
20+
#: ../../source/poco.drivers.ue4.rst:2
21+
msgid "poco.drivers.ue4 package"
22+
msgstr ""
23+
24+
#: ../../source/poco.drivers.ue4.rst:9
25+
msgid "Submodules"
26+
msgstr ""
27+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2017, NetEase Co, Ltd.
3+
# This file is distributed under the same license as the poco package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: poco 1.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2021-07-19 19:29+0800\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Generated-By: Babel 2.9.1\n"
19+
20+
#: ../../source/poco.drivers.ue4.ue4_poco.rst:2
21+
msgid "poco.drivers.ue4.ue4\\_poco module"
22+
msgstr ""
23+
24+
#: of poco.drivers.ue4.ue4_poco.UE4Poco:1
25+
msgid "基类::class:`poco.drivers.std.StdPoco`"
26+
msgstr ""
27+

DocBuilder/locale/zh_CN/LC_MESSAGES/source/poco.drivers.unity3d.test.tutorial.buttons_and_labels.po

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,29 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: poco \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-10 14:16+0800\n"
11+
"POT-Creation-Date: 2021-07-19 19:29+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=utf-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
18-
"Generated-By: Babel 2.5.1\n"
18+
"Generated-By: Babel 2.9.1\n"
1919

2020
#: ../../source/poco.drivers.unity3d.test.tutorial.buttons_and_labels.rst:2
2121
msgid "poco.drivers.unity3d.test.tutorial.buttons\\_and\\_labels module"
2222
msgstr ""
2323

24+
#: of
25+
#: poco.drivers.unity3d.test.tutorial.buttons_and_labels.ButtonsAndLabelsTutorial:1
26+
msgid "基类::class:`poco.drivers.unity3d.test.tutorial.case.TutorialCase`"
27+
msgstr ""
28+
29+
#: of
30+
#: poco.drivers.unity3d.test.tutorial.buttons_and_labels.ButtonsAndLabelsTutorial.runTest:1
31+
msgid "testcase的正文,把要执行的测试和包括断言语句都写到这里"
32+
msgstr ""
33+
2434
#~ msgid ""
2535
#~ "poco\\.drivers\\.unity3d\\.test\\.tutorial\\.buttons\\_and\\_labels"
2636
#~ " module"

DocBuilder/locale/zh_CN/LC_MESSAGES/source/poco.drivers.unity3d.test.tutorial.case.po

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,36 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: poco \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-10 14:16+0800\n"
11+
"POT-Creation-Date: 2021-07-19 19:29+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=utf-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
18-
"Generated-By: Babel 2.5.1\n"
18+
"Generated-By: Babel 2.9.1\n"
1919

2020
#: ../../source/poco.drivers.unity3d.test.tutorial.case.rst:2
2121
msgid "poco.drivers.unity3d.test.tutorial.case module"
2222
msgstr ""
2323

24+
#: of poco.drivers.unity3d.test.tutorial.case.TutorialCase:1
25+
msgid "基类::class:`pocounit.case.PocoTestCase`"
26+
msgstr ""
27+
28+
#: of poco.drivers.unity3d.test.tutorial.case.TutorialCase.setUpClass:1
29+
msgid "用例预处理,加载自定义插件等"
30+
msgstr ""
31+
32+
#: of poco.drivers.unity3d.test.tutorial.case.TutorialCase.setUpClass
33+
#: poco.drivers.unity3d.test.tutorial.case.TutorialCase.tearDownClass
34+
msgid "返回"
35+
msgstr ""
36+
37+
#: of poco.drivers.unity3d.test.tutorial.case.TutorialCase.tearDownClass:1
38+
msgid "用例后处理"
39+
msgstr ""
40+
2441
#~ msgid "poco\\.drivers\\.unity3d\\.test\\.tutorial\\.case module"
2542
#~ msgstr ""
2643

DocBuilder/locale/zh_CN/LC_MESSAGES/source/poco.drivers.unity3d.test.tutorial.click.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,27 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: poco \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-10 14:16+0800\n"
11+
"POT-Creation-Date: 2021-07-19 19:29+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=utf-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
18-
"Generated-By: Babel 2.5.1\n"
18+
"Generated-By: Babel 2.9.1\n"
1919

2020
#: ../../source/poco.drivers.unity3d.test.tutorial.click.rst:2
2121
msgid "poco.drivers.unity3d.test.tutorial.click module"
2222
msgstr ""
2323

24+
#: of poco.drivers.unity3d.test.tutorial.click.ClickTutorial:1
25+
msgid "基类::class:`poco.drivers.unity3d.test.tutorial.case.TutorialCase`"
26+
msgstr ""
27+
28+
#: of poco.drivers.unity3d.test.tutorial.click.ClickTutorial.runTest:1
29+
msgid "testcase的正文,把要执行的测试和包括断言语句都写到这里"
30+
msgstr ""
31+
2432
#~ msgid "poco\\.drivers\\.unity3d\\.test\\.tutorial\\.click module"
2533
#~ msgstr ""
2634

0 commit comments

Comments
 (0)