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
854bd8b3
Kaydet (Commit)
854bd8b3
authored
Agu 31, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Eyl 05, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Java cleanup, fix compile error
Change-Id: I911bf39980dcc2fcf34f3adde899ff7fbd5211de
üst
8244fd5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
16 deletions
+19
-16
CheckMemoryUsage.java
vcl/qa/complex/memCheck/CheckMemoryUsage.java
+19
-16
No files found.
vcl/qa/complex/memCheck/CheckMemoryUsage.java
Dosyayı görüntüle @
854bd8b3
...
...
@@ -17,25 +17,20 @@
*/
package
complex
.
memCheck
;
import
com.sun.star.beans.PropertyValue
;
import
com.sun.star.frame.XStorable
;
import
com.sun.star.lang.XComponent
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.uno.UnoRuntime
;
import
com.sun.star.util.XCloseable
;
// import complexlib.ComplexTestCase;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
static
org
.
junit
.
Assert
.
fail
;
import
helper.ProcessHandler
;
import
java.io.File
;
// import java.io.FilePermission;
import
java.io.FileWriter
;
import
java.io.FilenameFilter
;
import
java.io.PrintWriter
;
import
java.util.Enumeration
;
import
java.util.Iterator
;
import
java.util.Set
;
import
java.util.StringTokenizer
;
import
java.util.Vector
;
import
lib.*
;
import
util.DesktopTools
;
// import util.WriterTools;
import
lib.TestParameters
;
import
org.junit.After
;
import
org.junit.AfterClass
;
...
...
@@ -43,7 +38,15 @@ import org.junit.Before;
import
org.junit.BeforeClass
;
import
org.junit.Test
;
import
org.openoffice.test.OfficeConnection
;
import
static
org
.
junit
.
Assert
.*;
import
util.DesktopTools
;
import
com.sun.star.beans.PropertyValue
;
import
com.sun.star.frame.XStorable
;
import
com.sun.star.lang.XComponent
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.uno.UnoRuntime
;
import
com.sun.star.util.XCloseable
;
/**
* Documents are opened and exported with StarOffice. The memory usage of
...
...
@@ -153,11 +156,11 @@ public class CheckMemoryUsage /* extends ComplexTestCase */
m_aTempDir
=
new
TempDir
(
util
.
utils
.
getOfficeTemp
/*Dir*/
(
xMsf
));
// get the file extension, export filter connection
Enumeration
keys
=
param
.
keys
();
Iterator
<
String
>
keys
=
param
.
keySet
().
iterator
();
Vector
<
String
>
v
=
new
Vector
<
String
>();
while
(
keys
.
has
MoreElements
())
while
(
keys
.
has
Next
())
{
String
key
=
(
String
)
keys
.
nextElemen
t
();
String
key
=
keys
.
nex
t
();
if
(
key
.
startsWith
(
"FileExportFilter"
))
{
v
.
add
((
String
)
param
.
get
(
key
));
...
...
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