Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ec95e6a1
Kaydet (Commit)
ec95e6a1
authored
Nis 18, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add an import ssl test
Change-Id: Ia2dad214e6a224c979a8664bfded7d2caffb221a
üst
a7f68538
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
0 deletions
+35
-0
Module_pyuno.mk
pyuno/Module_pyuno.mk
+6
-0
PythonTest_pytests.mk
pyuno/PythonTest_pytests.mk
+1
-0
PythonTest_pyuno_pytests_ssl.mk
pyuno/PythonTest_pyuno_pytests_ssl.mk
+16
-0
ssl.py
pyuno/qa/pytests/ssl.py
+12
-0
No files found.
pyuno/Module_pyuno.mk
Dosyayı görüntüle @
ec95e6a1
...
...
@@ -60,6 +60,12 @@ endif
endif # SYSTEM_PYTHON
ifneq ($(DISABLE_PYTHON),TRUE)
$(eval $(call gb_Module_add_targets,pyuno, \
PythonTest_pyuno_pytests_ssl \
))
endif
ifneq (,$(filter PythonTest_pytests,$(MAKECMDGOALS)))
$(eval $(call gb_Module_add_targets,pyuno, \
PythonTest_pytests \
...
...
pyuno/PythonTest_pytests.mk
Dosyayı görüntüle @
ec95e6a1
...
...
@@ -25,5 +25,6 @@ $(eval $(call gb_PythonTest_PythonTest,pytests))
$(call gb_PythonTest_get_target,pytests) : \
$(call gb_PythonTest_get_target,pyuno_pytests_insertremovecells) \
$(call gb_PythonTest_get_target,pyuno_pytests_ssl) \
# vim: set noet sw=4 ts=4:
pyuno/PythonTest_pyuno_pytests_ssl.mk
0 → 100644
Dosyayı görüntüle @
ec95e6a1
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_PythonTest_PythonTest,pyuno_pytests_ssl))
$(eval $(call gb_PythonTest_add_modules,pyuno_pytests_ssl,$(SRCDIR)/pyuno/qa/pytests,\
ssl \
))
# vim: set noet sw=4 ts=4:
pyuno/qa/pytests/ssl.py
0 → 100644
Dosyayı görüntüle @
ec95e6a1
import
unittest
from
org.libreoffice.unotest
import
pyuno
#I want to ensure that import ssl works on all platforms
class
SSLTest
(
unittest
.
TestCase
):
def
test_ssl_import
(
self
):
import
ssl
if
__name__
==
'__main__'
:
unittest
.
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment