• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2


Commit MetaInfo

Revisão64a8cdf1e9e71b9fad8d38014ffe05cc4258add5 (tree)
Hora2023-01-29 20:26:25
AutorAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Mensagem de Log

start with Component/Interface

Mudança Sumário

Diff

diff -r 1a7a253aa4a1 -r 64a8cdf1e9e7 Makefile
--- a/Makefile Sun Jan 29 11:44:18 2023 +0100
+++ b/Makefile Sun Jan 29 12:26:25 2023 +0100
@@ -2,13 +2,16 @@
22
33 all: current demo test mutmut pyanalyse XXX missing current-todo
44
5-CURRENT_TESTS = \
5+LAST = \
66 pytst/writers/CC2Cpy/test_2a_groundwork.py \
77 pytst/writers/CC2Cpy/test_2b_EventProtocol.py \
8-
8+#
9+CURRENT_TESTS = \
10+ pytst/writers/CC2Cpy/test_3_Interface.py \
11+#
912 TODO_TESTS = \
1013 pytst/writers/CC2Cpy/test_999_NoNameCollision.py \
11-
14+#
1215
1316 ToCS_dir = _ToCS-reports/
1417 COVERAGE_dir = ${ToCS_dir}Coverage/
@@ -46,12 +49,14 @@
4649 open: coverage-open mutmut-open
4750 remake: veryclean coverage mutmut open
4851
52+last:
53+ PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${LAST}
54+current-only:
55+ PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS}
4956 current:
5057 PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS} ${TODO_TESTS}
51-current-only:
52- PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS}
5358 current-todo:
54- PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS}
59+ PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${TODO_TESTS}
5560 current-ds current-sd:
5661 PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} --log-cli-level=DEBUG -s ${CURRENT_TESTS}
5762
diff -r 1a7a253aa4a1 -r 64a8cdf1e9e7 castle/writers/CC2Cpy/Component.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/castle/writers/CC2Cpy/Component.py Sun Jan 29 12:26:25 2023 +0100
@@ -0,0 +1,6 @@
1+# (C) Albert Mietus, 2022, 2023. Part of Castle/CCastle project
2+
3+__all__ = ['CC_B_ComponentInterface', ]
4+
5+from .CCbase import *
6+class CC_B_ComponentInterface(CC_Base): pass
diff -r 1a7a253aa4a1 -r 64a8cdf1e9e7 pytst/writers/CC2Cpy/test_3_Interface.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pytst/writers/CC2Cpy/test_3_Interface.py Sun Jan 29 12:26:25 2023 +0100
@@ -0,0 +1,7 @@
1+# (C) Albert Mietus, 2022, 2023. Part of Castle/CCastle project
2+
3+import logging; logger = logging.getLogger(__name__)
4+import pytest
5+from . import * # CCompare
6+
7+from castle.writers.CC2Cpy.Component import * # CC_B_ComponentInterface