コード例 #1
0
ファイル: test_cmdline.py プロジェクト: mesheven/pyOCD
 def test_all_b(self):
     assert convert_vector_catch(b'all') == Target.CATCH_ALL
コード例 #2
0
ファイル: test_cmdline.py プロジェクト: mesheven/pyOCD
 def test_vc_b(self, vc, msk):
     assert convert_vector_catch(vc) == msk
コード例 #3
0
ファイル: test_cmdline.py プロジェクト: mesheven/pyOCD
 def test_none_str(self):
     assert convert_vector_catch('none') == 0
コード例 #4
0
ファイル: test_cmdline.py プロジェクト: mesheven/pyOCD
 def test_none_b(self):
     assert convert_vector_catch(b'none') == 0
コード例 #5
0
ファイル: test_cmdline.py プロジェクト: xqt2010a/pyOCD
 def test_vc_b(self, vc, msk):
     assert convert_vector_catch(vc) == msk
コード例 #6
0
ファイル: test_cmdline.py プロジェクト: xqt2010a/pyOCD
 def test_all_b(self):
     assert convert_vector_catch(b'all') == Target.CATCH_ALL
コード例 #7
0
ファイル: test_cmdline.py プロジェクト: xqt2010a/pyOCD
 def test_none_b(self):
     assert convert_vector_catch(b'none') == 0
コード例 #8
0
ファイル: test_cmdline.py プロジェクト: xqt2010a/pyOCD
 def test_none_str(self):
     assert convert_vector_catch('none') == 0
コード例 #9
0
 def test_all_b(self):
     assert convert_vector_catch(b'all') == Target.VectorCatch.ALL