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
e07ac676
Kaydet (Commit)
e07ac676
authored
Eyl 12, 2011
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sb140: #i117381# gvfs ucp handling all schemes spoils deregisterContentProvider test
üst
60ad74a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
_XContentProviderManager.java
qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
+14
-1
No files found.
qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
Dosyayı görüntüle @
e07ac676
...
...
@@ -32,6 +32,7 @@ import lib.Status;
import
lib.StatusException
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.lang.XServiceInfo
;
import
com.sun.star.ucb.ContentProviderInfo
;
import
com.sun.star.ucb.DuplicateProviderException
;
import
com.sun.star.ucb.XContentProvider
;
...
...
@@ -272,7 +273,19 @@ public class _XContentProviderManager extends MultiMethodTest {
res
=
oObj
.
queryContentProvider
(
myScheme
);
// verifying that no provider is returned
// verifying that no provider is returned (if the
// GnomeVFSContentProvider is installed, it will handle all otherwise
// unhandled schemes, so we have to ignore it here):
if
(
res
!=
null
)
{
XServiceInfo
info
=
UnoRuntime
.
queryInterface
(
XServiceInfo
.
class
,
res
);
if
(
info
!=
null
&&
info
.
supportsService
(
"com.sun.star.ucb.GnomeVFSContentProvider"
))
{
res
=
null
;
}
}
tRes
.
tested
(
"deregisterContentProvider()"
,
res
==
null
);
}
}
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