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
181efb95
Kaydet (Commit)
181efb95
authored
Eyl 22, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: workaround auto_ptr deprecation
üst
87142653
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
106 additions
and
106 deletions
+106
-106
rtl_OStringBuffer.cxx
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
+0
-0
osl_File.cxx
sal/qa/osl/file/osl_File.cxx
+0
-0
osl_Module.cxx
sal/qa/osl/module/osl_Module.cxx
+16
-16
osl_Thread.cxx
sal/qa/osl/process/osl_Thread.cxx
+34
-34
osl_process.cxx
sal/qa/osl/process/osl_process.cxx
+4
-4
osl_Security.cxx
sal/qa/osl/security/osl_Security.cxx
+18
-18
rtl_cipher.cxx
sal/qa/rtl/cipher/rtl_cipher.cxx
+20
-20
rtl_locale.cxx
sal/qa/rtl/locale/rtl_locale.cxx
+14
-14
No files found.
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
Dosyayı görüntüle @
181efb95
This diff is collapsed.
Click to expand it.
sal/qa/osl/file/osl_File.cxx
Dosyayı görüntüle @
181efb95
This diff is collapsed.
Click to expand it.
sal/qa/osl/module/osl_Module.cxx
Dosyayı görüntüle @
181efb95
...
@@ -212,10 +212,10 @@ namespace osl_Module
...
@@ -212,10 +212,10 @@ namespace osl_Module
sal_True
==
bRes
);
sal_True
==
bRes
);
}
}
CPPUNIT_TEST_SUITE
(
ctors
);
SAL_
CPPUNIT_TEST_SUITE
(
ctors
);
CPPUNIT_TEST
(
ctors_none
);
CPPUNIT_TEST
(
ctors_none
);
CPPUNIT_TEST
(
ctors_name_mode
);
CPPUNIT_TEST
(
ctors_name_mode
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class ctors
};
// class ctors
...
@@ -262,10 +262,10 @@ namespace osl_Module
...
@@ -262,10 +262,10 @@ namespace osl_Module
/* tester comments: another case is getFunctionSymbol_001*/
/* tester comments: another case is getFunctionSymbol_001*/
CPPUNIT_TEST_SUITE
(
getUrlFromAddress
);
SAL_
CPPUNIT_TEST_SUITE
(
getUrlFromAddress
);
CPPUNIT_TEST
(
getUrlFromAddress_001
);
CPPUNIT_TEST
(
getUrlFromAddress_001
);
CPPUNIT_TEST
(
getUrlFromAddress_002
);
CPPUNIT_TEST
(
getUrlFromAddress_002
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getUrlFromAddress
};
// class getUrlFromAddress
...
@@ -336,10 +336,10 @@ namespace osl_Module
...
@@ -336,10 +336,10 @@ namespace osl_Module
#endif
#endif
}
}
CPPUNIT_TEST_SUITE
(
load
);
SAL_
CPPUNIT_TEST_SUITE
(
load
);
CPPUNIT_TEST
(
load_001
);
CPPUNIT_TEST
(
load_001
);
CPPUNIT_TEST
(
load_002
);
CPPUNIT_TEST
(
load_002
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class load
};
// class load
...
@@ -362,9 +362,9 @@ namespace osl_Module
...
@@ -362,9 +362,9 @@ namespace osl_Module
sal_True
==
bRes
);
sal_True
==
bRes
);
}
}
CPPUNIT_TEST_SUITE
(
unload
);
SAL_
CPPUNIT_TEST_SUITE
(
unload
);
CPPUNIT_TEST
(
unload_001
);
CPPUNIT_TEST
(
unload_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class unload
};
// class unload
...
@@ -394,9 +394,9 @@ namespace osl_Module
...
@@ -394,9 +394,9 @@ namespace osl_Module
CPPUNIT_ASSERT_MESSAGE
(
"#test comment#: test if a module is a loaded module."
,
CPPUNIT_ASSERT_MESSAGE
(
"#test comment#: test if a module is a loaded module."
,
sal_False
==
bRes
&&
sal_True
==
bRes1
);
sal_False
==
bRes
&&
sal_True
==
bRes1
);
}
}
CPPUNIT_TEST_SUITE
(
is
);
SAL_
CPPUNIT_TEST_SUITE
(
is
);
CPPUNIT_TEST
(
is_001
);
CPPUNIT_TEST
(
is_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class is
};
// class is
...
@@ -424,9 +424,9 @@ namespace osl_Module
...
@@ -424,9 +424,9 @@ namespace osl_Module
#endif
#endif
}
}
CPPUNIT_TEST_SUITE
(
getSymbol
);
SAL_
CPPUNIT_TEST_SUITE
(
getSymbol
);
CPPUNIT_TEST
(
getSymbol_001
);
CPPUNIT_TEST
(
getSymbol_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getSymbol
};
// class getSymbol
...
@@ -474,10 +474,10 @@ namespace osl_Module
...
@@ -474,10 +474,10 @@ namespace osl_Module
#endif
#endif
}
}
CPPUNIT_TEST_SUITE
(
optr_oslModule
);
SAL_
CPPUNIT_TEST_SUITE
(
optr_oslModule
);
CPPUNIT_TEST
(
optr_oslModule_001
);
CPPUNIT_TEST
(
optr_oslModule_001
);
CPPUNIT_TEST
(
optr_oslModule_002
);
CPPUNIT_TEST
(
optr_oslModule_002
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class optr_oslModule
};
// class optr_oslModule
/** testing the methods:
/** testing the methods:
...
@@ -502,9 +502,9 @@ namespace osl_Module
...
@@ -502,9 +502,9 @@ namespace osl_Module
#endif
#endif
}
}
CPPUNIT_TEST_SUITE
(
getFunctionSymbol
);
SAL_
CPPUNIT_TEST_SUITE
(
getFunctionSymbol
);
CPPUNIT_TEST
(
getFunctionSymbol_001
);
CPPUNIT_TEST
(
getFunctionSymbol_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getFunctionSymbol
};
// class getFunctionSymbol
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
...
sal/qa/osl/process/osl_Thread.cxx
Dosyayı görüntüle @
181efb95
...
@@ -567,10 +567,10 @@ namespace osl_Thread
...
@@ -567,10 +567,10 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
create
);
SAL_
CPPUNIT_TEST_SUITE
(
create
);
CPPUNIT_TEST
(
create_001
);
CPPUNIT_TEST
(
create_001
);
CPPUNIT_TEST
(
create_002
);
CPPUNIT_TEST
(
create_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class create
};
// class create
...
@@ -633,11 +633,11 @@ namespace osl_Thread
...
@@ -633,11 +633,11 @@ namespace osl_Thread
);
);
}
}
CPPUNIT_TEST_SUITE
(
createSuspended
);
SAL_
CPPUNIT_TEST_SUITE
(
createSuspended
);
CPPUNIT_TEST
(
createSuspended_001
);
CPPUNIT_TEST
(
createSuspended_001
);
// LLA: Deadlocked!!!
// LLA: Deadlocked!!!
CPPUNIT_TEST
(
createSuspended_002
);
CPPUNIT_TEST
(
createSuspended_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class createSuspended
};
// class createSuspended
/** when the count value equal to or more than 3, suspend the thread.
/** when the count value equal to or more than 3, suspend the thread.
...
@@ -743,11 +743,11 @@ namespace osl_Thread
...
@@ -743,11 +743,11 @@ namespace osl_Thread
);
);
}
}
CPPUNIT_TEST_SUITE
(
suspend
);
SAL_
CPPUNIT_TEST_SUITE
(
suspend
);
CPPUNIT_TEST
(
suspend_001
);
CPPUNIT_TEST
(
suspend_001
);
// LLA: Deadlocked!!!
// LLA: Deadlocked!!!
// CPPUNIT_TEST(createSuspended_002);
// CPPUNIT_TEST(createSuspended_002);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class suspend
};
// class suspend
/** Test of the osl::Thread::resume method
/** Test of the osl::Thread::resume method
...
@@ -829,10 +829,10 @@ namespace osl_Thread
...
@@ -829,10 +829,10 @@ namespace osl_Thread
);
);
}
}
CPPUNIT_TEST_SUITE
(
resume
);
SAL_
CPPUNIT_TEST_SUITE
(
resume
);
CPPUNIT_TEST
(
resume_001
);
CPPUNIT_TEST
(
resume_001
);
CPPUNIT_TEST
(
resume_002
);
CPPUNIT_TEST
(
resume_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class resume
};
// class resume
/** Test of the osl::Thread::terminate method
/** Test of the osl::Thread::terminate method
...
@@ -908,10 +908,10 @@ namespace osl_Thread
...
@@ -908,10 +908,10 @@ namespace osl_Thread
nLaterValue
>
nValue
);
nLaterValue
>
nValue
);
}
}
CPPUNIT_TEST_SUITE
(
terminate
);
SAL_
CPPUNIT_TEST_SUITE
(
terminate
);
CPPUNIT_TEST
(
terminate_001
);
CPPUNIT_TEST
(
terminate_001
);
CPPUNIT_TEST
(
terminate_002
);
CPPUNIT_TEST
(
terminate_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class terminate
};
// class terminate
/** Test of the osl::Thread::join method
/** Test of the osl::Thread::join method
...
@@ -1000,10 +1000,10 @@ namespace osl_Thread
...
@@ -1000,10 +1000,10 @@ namespace osl_Thread
);
);
}
}
CPPUNIT_TEST_SUITE
(
join
);
SAL_
CPPUNIT_TEST_SUITE
(
join
);
CPPUNIT_TEST
(
join_001
);
CPPUNIT_TEST
(
join_001
);
CPPUNIT_TEST
(
join_002
);
CPPUNIT_TEST
(
join_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class join
};
// class join
/** Test of the osl::Thread::isRunning method
/** Test of the osl::Thread::isRunning method
...
@@ -1071,10 +1071,10 @@ namespace osl_Thread
...
@@ -1071,10 +1071,10 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
isRunning
);
SAL_
CPPUNIT_TEST_SUITE
(
isRunning
);
CPPUNIT_TEST
(
isRunning_001
);
CPPUNIT_TEST
(
isRunning_001
);
CPPUNIT_TEST
(
isRunning_002
);
CPPUNIT_TEST
(
isRunning_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class isRunning
};
// class isRunning
...
@@ -1522,7 +1522,7 @@ namespace osl_Thread
...
@@ -1522,7 +1522,7 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
setPriority
);
SAL_
CPPUNIT_TEST_SUITE
(
setPriority
);
#ifndef SOLARIS
#ifndef SOLARIS
CPPUNIT_TEST
(
setPriority_002
);
CPPUNIT_TEST
(
setPriority_002
);
CPPUNIT_TEST
(
setPriority_003
);
CPPUNIT_TEST
(
setPriority_003
);
...
@@ -1534,7 +1534,7 @@ namespace osl_Thread
...
@@ -1534,7 +1534,7 @@ namespace osl_Thread
CPPUNIT_TEST
(
setPriority_001_3
);
CPPUNIT_TEST
(
setPriority_001_3
);
CPPUNIT_TEST
(
setPriority_001_4
);
CPPUNIT_TEST
(
setPriority_001_4
);
CPPUNIT_TEST
(
setPriority_001_5
);
CPPUNIT_TEST
(
setPriority_001_5
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class setPriority
};
// class setPriority
/** Test of the osl::Thread::getPriority method
/** Test of the osl::Thread::getPriority method
...
@@ -1587,10 +1587,10 @@ namespace osl_Thread
...
@@ -1587,10 +1587,10 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
getPriority
);
SAL_
CPPUNIT_TEST_SUITE
(
getPriority
);
CPPUNIT_TEST
(
getPriority_001
);
CPPUNIT_TEST
(
getPriority_001
);
CPPUNIT_TEST
(
getPriority_002
);
CPPUNIT_TEST
(
getPriority_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getPriority
};
// class getPriority
...
@@ -1617,10 +1617,10 @@ namespace osl_Thread
...
@@ -1617,10 +1617,10 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
getIdentifier
);
SAL_
CPPUNIT_TEST_SUITE
(
getIdentifier
);
CPPUNIT_TEST
(
getIdentifier_001
);
CPPUNIT_TEST
(
getIdentifier_001
);
CPPUNIT_TEST
(
getIdentifier_002
);
CPPUNIT_TEST
(
getIdentifier_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getIdentifier
};
// class getIdentifier
/** Test of the osl::Thread::getCurrentIdentifier method
/** Test of the osl::Thread::getCurrentIdentifier method
...
@@ -1660,10 +1660,10 @@ namespace osl_Thread
...
@@ -1660,10 +1660,10 @@ namespace osl_Thread
{
{
}
}
CPPUNIT_TEST_SUITE
(
getCurrentIdentifier
);
SAL_
CPPUNIT_TEST_SUITE
(
getCurrentIdentifier
);
CPPUNIT_TEST
(
getCurrentIdentifier_001
);
CPPUNIT_TEST
(
getCurrentIdentifier_001
);
//CPPUNIT_TEST(getCurrentIdentifier_002);
//CPPUNIT_TEST(getCurrentIdentifier_002);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getCurrentIdentifier
};
// class getCurrentIdentifier
/** Test of the osl::Thread::wait method
/** Test of the osl::Thread::wait method
...
@@ -1727,9 +1727,9 @@ namespace osl_Thread
...
@@ -1727,9 +1727,9 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
wait
);
SAL_
CPPUNIT_TEST_SUITE
(
wait
);
CPPUNIT_TEST
(
wait_001
);
CPPUNIT_TEST
(
wait_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class wait
};
// class wait
/** osl::Thread::yield method: can not design good test scenario to test up to now
/** osl::Thread::yield method: can not design good test scenario to test up to now
...
@@ -1751,9 +1751,9 @@ namespace osl_Thread
...
@@ -1751,9 +1751,9 @@ namespace osl_Thread
}
}
CPPUNIT_TEST_SUITE
(
yield
);
SAL_
CPPUNIT_TEST_SUITE
(
yield
);
CPPUNIT_TEST
(
yield_001
);
CPPUNIT_TEST
(
yield_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class yield
};
// class yield
/** Test of the osl::Thread::schedule method
/** Test of the osl::Thread::schedule method
...
@@ -1874,10 +1874,10 @@ namespace osl_Thread
...
@@ -1874,10 +1874,10 @@ namespace osl_Thread
);
);
}
}
CPPUNIT_TEST_SUITE
(
schedule
);
SAL_
CPPUNIT_TEST_SUITE
(
schedule
);
CPPUNIT_TEST
(
schedule_001
);
CPPUNIT_TEST
(
schedule_001
);
CPPUNIT_TEST
(
schedule_002
);
CPPUNIT_TEST
(
schedule_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class schedule
};
// class schedule
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
@@ -1994,9 +1994,9 @@ namespace osl_ThreadData
...
@@ -1994,9 +1994,9 @@ namespace osl_ThreadData
}
}
CPPUNIT_TEST_SUITE
(
ctors
);
SAL_
CPPUNIT_TEST_SUITE
(
ctors
);
CPPUNIT_TEST
(
ctor_001
);
CPPUNIT_TEST
(
ctor_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class ctors
};
// class ctors
...
@@ -2107,11 +2107,11 @@ namespace osl_ThreadData
...
@@ -2107,11 +2107,11 @@ namespace osl_ThreadData
);
);
}
}
CPPUNIT_TEST_SUITE
(
setData
);
SAL_
CPPUNIT_TEST_SUITE
(
setData
);
CPPUNIT_TEST
(
setData_001
);
CPPUNIT_TEST
(
setData_001
);
CPPUNIT_TEST
(
setData_002
);
CPPUNIT_TEST
(
setData_002
);
CPPUNIT_TEST
(
setData_003
);
CPPUNIT_TEST
(
setData_003
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class setData
};
// class setData
class
getData
:
public
CppUnit
::
TestFixture
class
getData
:
public
CppUnit
::
TestFixture
...
@@ -2191,10 +2191,10 @@ namespace osl_ThreadData
...
@@ -2191,10 +2191,10 @@ namespace osl_ThreadData
}
}
CPPUNIT_TEST_SUITE
(
getData
);
SAL_
CPPUNIT_TEST_SUITE
(
getData
);
CPPUNIT_TEST
(
getData_001
);
CPPUNIT_TEST
(
getData_001
);
CPPUNIT_TEST
(
getData_002
);
CPPUNIT_TEST
(
getData_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getData
};
// class getData
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
...
sal/qa/osl/process/osl_process.cxx
Dosyayı görüntüle @
181efb95
...
@@ -304,12 +304,12 @@ public:
...
@@ -304,12 +304,12 @@ public:
osl_freeProcessHandle
(
process
);
osl_freeProcessHandle
(
process
);
}
}
CPPUNIT_TEST_SUITE
(
Test_osl_joinProcess
);
SAL_
CPPUNIT_TEST_SUITE
(
Test_osl_joinProcess
);
CPPUNIT_TEST
(
osl_joinProcessWithTimeout_timeout_failure
);
CPPUNIT_TEST
(
osl_joinProcessWithTimeout_timeout_failure
);
CPPUNIT_TEST
(
osl_joinProcessWithTimeout_without_timeout_failure
);
CPPUNIT_TEST
(
osl_joinProcessWithTimeout_without_timeout_failure
);
CPPUNIT_TEST
(
osl_joinProcessWithTimeout_infinite
);
CPPUNIT_TEST
(
osl_joinProcessWithTimeout_infinite
);
CPPUNIT_TEST
(
osl_joinProcess
);
CPPUNIT_TEST
(
osl_joinProcess
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
};
//#########################################################
//#########################################################
...
@@ -740,7 +740,7 @@ public:
...
@@ -740,7 +740,7 @@ public:
osl_freeProcessHandle
(
process
);
osl_freeProcessHandle
(
process
);
}
}
CPPUNIT_TEST_SUITE
(
Test_osl_executeProcess
);
SAL_
CPPUNIT_TEST_SUITE
(
Test_osl_executeProcess
);
//TODO: Repair these under windows.
//TODO: Repair these under windows.
#ifndef WNT
#ifndef WNT
CPPUNIT_TEST
(
osl_execProc_parent_equals_child_environment
);
CPPUNIT_TEST
(
osl_execProc_parent_equals_child_environment
);
...
@@ -750,7 +750,7 @@ public:
...
@@ -750,7 +750,7 @@ public:
// CPPUNIT_TEST(osl_execProc_test_batch);
// CPPUNIT_TEST(osl_execProc_test_batch);
///TODO: Repair test (or tested function ;-) - test fails.
///TODO: Repair test (or tested function ;-) - test fails.
// CPPUNIT_TEST(osl_execProc_exe_name_in_argument_list);
// CPPUNIT_TEST(osl_execProc_exe_name_in_argument_list);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
};
//#####################################
//#####################################
...
...
sal/qa/osl/security/osl_Security.cxx
Dosyayı görüntüle @
181efb95
...
@@ -93,9 +93,9 @@ namespace osl_Security
...
@@ -93,9 +93,9 @@ namespace osl_Security
aSec
.
getHandle
(
)
!=
NULL
);
aSec
.
getHandle
(
)
!=
NULL
);
}
}
CPPUNIT_TEST_SUITE
(
ctors
);
SAL_
CPPUNIT_TEST_SUITE
(
ctors
);
CPPUNIT_TEST
(
ctors_001
);
CPPUNIT_TEST
(
ctors_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class ctors
};
// class ctors
...
@@ -130,7 +130,7 @@ namespace osl_Security
...
@@ -130,7 +130,7 @@ namespace osl_Security
}
}
CPPUNIT_TEST_SUITE
(
logonUser
);
SAL_
CPPUNIT_TEST_SUITE
(
logonUser
);
if
(
!
aStringForward
.
equals
(
aNullUrl
)
&&
aStringForward
.
indexOf
(
(
sal_Unicode
)
' '
)
!=
-
1
&&
(
aStringForward
.
indexOf
(
(
sal_Unicode
)
' '
)
==
aStringForward
.
lastIndexOf
(
(
sal_Unicode
)
' '
)
)
)
if
(
!
aStringForward
.
equals
(
aNullUrl
)
&&
aStringForward
.
indexOf
(
(
sal_Unicode
)
' '
)
!=
-
1
&&
(
aStringForward
.
indexOf
(
(
sal_Unicode
)
' '
)
==
aStringForward
.
lastIndexOf
(
(
sal_Unicode
)
' '
)
)
)
/// if user name and passwd are forwarded
/// if user name and passwd are forwarded
{
{
...
@@ -141,7 +141,7 @@ namespace osl_Security
...
@@ -141,7 +141,7 @@ namespace osl_Security
{
{
CPPUNIT_TEST
(
logonUser_user_pwd_server
);
CPPUNIT_TEST
(
logonUser_user_pwd_server
);
}
}
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class logonUser
};
// class logonUser
...
@@ -170,9 +170,9 @@ namespace osl_Security
...
@@ -170,9 +170,9 @@ namespace osl_Security
CPPUNIT_ASSERT_MESSAGE
(
aMessage
.
getStr
(),
strUserID
.
equals
(
strID
)
&&
(
bRes
==
sal_True
));
CPPUNIT_ASSERT_MESSAGE
(
aMessage
.
getStr
(),
strUserID
.
equals
(
strID
)
&&
(
bRes
==
sal_True
));
}
}
CPPUNIT_TEST_SUITE
(
getUserIdent
);
SAL_
CPPUNIT_TEST_SUITE
(
getUserIdent
);
CPPUNIT_TEST
(
getUserIdent_001
);
CPPUNIT_TEST
(
getUserIdent_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getUserIdent
};
// class getUserIdent
...
@@ -203,9 +203,9 @@ namespace osl_Security
...
@@ -203,9 +203,9 @@ namespace osl_Security
(
nPos
>=
0
)
&&
(
sal_True
==
bRes
)
);
(
nPos
>=
0
)
&&
(
sal_True
==
bRes
)
);
}
}
CPPUNIT_TEST_SUITE
(
getUserName
);
SAL_
CPPUNIT_TEST_SUITE
(
getUserName
);
CPPUNIT_TEST
(
getUserName_001
);
CPPUNIT_TEST
(
getUserName_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getUserName
};
// class getUserName
...
@@ -227,9 +227,9 @@ namespace osl_Security
...
@@ -227,9 +227,9 @@ namespace osl_Security
(
sal_True
==
bRes
));
(
sal_True
==
bRes
));
}
}
CPPUNIT_TEST_SUITE
(
getConfigDir
);
SAL_
CPPUNIT_TEST_SUITE
(
getConfigDir
);
CPPUNIT_TEST
(
getConfigDir_001
);
CPPUNIT_TEST
(
getConfigDir_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getConfigDir
};
// class getConfigDir
/** testing the method:
/** testing the method:
...
@@ -249,9 +249,9 @@ namespace osl_Security
...
@@ -249,9 +249,9 @@ namespace osl_Security
bRes
==
isAdmin
);
bRes
==
isAdmin
);
}
}
CPPUNIT_TEST_SUITE
(
isAdministrator
);
SAL_
CPPUNIT_TEST_SUITE
(
isAdministrator
);
CPPUNIT_TEST
(
isAdministrator_001
);
CPPUNIT_TEST
(
isAdministrator_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class isAdministrator
};
// class isAdministrator
/** testing the method:
/** testing the method:
...
@@ -271,9 +271,9 @@ namespace osl_Security
...
@@ -271,9 +271,9 @@ namespace osl_Security
bRes
==
sal_True
);
bRes
==
sal_True
);
}
}
CPPUNIT_TEST_SUITE
(
getHandle
);
SAL_
CPPUNIT_TEST_SUITE
(
getHandle
);
CPPUNIT_TEST
(
getHandle_001
);
CPPUNIT_TEST
(
getHandle_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class getHandle
};
// class getHandle
...
@@ -296,10 +296,10 @@ namespace osl_Security
...
@@ -296,10 +296,10 @@ namespace osl_Security
CPPUNIT_ASSERT_MESSAGE
(
"empty function."
,
sal_True
);
CPPUNIT_ASSERT_MESSAGE
(
"empty function."
,
sal_True
);
}
}
CPPUNIT_TEST_SUITE
(
UserProfile
);
SAL_
CPPUNIT_TEST_SUITE
(
UserProfile
);
CPPUNIT_TEST
(
loadUserProfile
);
CPPUNIT_TEST
(
loadUserProfile
);
CPPUNIT_TEST
(
unloadUserProfile
);
CPPUNIT_TEST
(
unloadUserProfile
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class UserProfile
};
// class UserProfile
class
loginUserOnFileServer
:
public
CppUnit
::
TestFixture
class
loginUserOnFileServer
:
public
CppUnit
::
TestFixture
...
@@ -319,9 +319,9 @@ namespace osl_Security
...
@@ -319,9 +319,9 @@ namespace osl_Security
CPPUNIT_ASSERT_MESSAGE
(
"empty function."
,
erg
==
osl_Security_E_UserUnknown
);
CPPUNIT_ASSERT_MESSAGE
(
"empty function."
,
erg
==
osl_Security_E_UserUnknown
);
}
}
CPPUNIT_TEST_SUITE
(
loginUserOnFileServer
);
SAL_
CPPUNIT_TEST_SUITE
(
loginUserOnFileServer
);
CPPUNIT_TEST
(
loginUserOnFileServer_001
);
CPPUNIT_TEST
(
loginUserOnFileServer_001
);
CPPUNIT_TEST_SUITE_END
(
);
SAL_
CPPUNIT_TEST_SUITE_END
(
);
};
// class loginUserOnFileServer
};
// class loginUserOnFileServer
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
...
sal/qa/rtl/cipher/rtl_cipher.cxx
Dosyayı görüntüle @
181efb95
...
@@ -125,7 +125,7 @@ public:
...
@@ -125,7 +125,7 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
create
);
SAL_
CPPUNIT_TEST_SUITE
(
create
);
CPPUNIT_TEST
(
create_001
);
CPPUNIT_TEST
(
create_001
);
CPPUNIT_TEST
(
create_002
);
CPPUNIT_TEST
(
create_002
);
CPPUNIT_TEST
(
create_003
);
CPPUNIT_TEST
(
create_003
);
...
@@ -134,7 +134,7 @@ public:
...
@@ -134,7 +134,7 @@ public:
CPPUNIT_TEST
(
create_006
);
CPPUNIT_TEST
(
create_006
);
CPPUNIT_TEST
(
create_007
);
CPPUNIT_TEST
(
create_007
);
CPPUNIT_TEST
(
create_008
);
CPPUNIT_TEST
(
create_008
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class create
};
// class create
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
@@ -178,12 +178,12 @@ public:
...
@@ -178,12 +178,12 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
createBF
);
SAL_
CPPUNIT_TEST_SUITE
(
createBF
);
CPPUNIT_TEST
(
createBF_001
);
CPPUNIT_TEST
(
createBF_001
);
CPPUNIT_TEST
(
createBF_002
);
CPPUNIT_TEST
(
createBF_002
);
CPPUNIT_TEST
(
createBF_003
);
CPPUNIT_TEST
(
createBF_003
);
CPPUNIT_TEST
(
createBF_004
);
CPPUNIT_TEST
(
createBF_004
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class createBF
};
// class createBF
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
decode
:
public
CppUnit
::
TestFixture
class
decode
:
public
CppUnit
::
TestFixture
...
@@ -319,10 +319,10 @@ public:
...
@@ -319,10 +319,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
decode
);
SAL_
CPPUNIT_TEST_SUITE
(
decode
);
CPPUNIT_TEST
(
decode_001
);
CPPUNIT_TEST
(
decode_001
);
CPPUNIT_TEST
(
decode_002
);
CPPUNIT_TEST
(
decode_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class decode
};
// class decode
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
decodeBF
:
public
CppUnit
::
TestFixture
class
decodeBF
:
public
CppUnit
::
TestFixture
...
@@ -344,9 +344,9 @@ public:
...
@@ -344,9 +344,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
decodeBF
);
SAL_
CPPUNIT_TEST_SUITE
(
decodeBF
);
CPPUNIT_TEST
(
decodeBF_001
);
CPPUNIT_TEST
(
decodeBF_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class decodeBF
};
// class decodeBF
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
destroy
:
public
CppUnit
::
TestFixture
class
destroy
:
public
CppUnit
::
TestFixture
...
@@ -371,9 +371,9 @@ public:
...
@@ -371,9 +371,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
destroy
);
SAL_
CPPUNIT_TEST_SUITE
(
destroy
);
CPPUNIT_TEST
(
destroy_001
);
CPPUNIT_TEST
(
destroy_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class destroy
};
// class destroy
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
destroyBF
:
public
CppUnit
::
TestFixture
class
destroyBF
:
public
CppUnit
::
TestFixture
...
@@ -400,9 +400,9 @@ public:
...
@@ -400,9 +400,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
destroyBF
);
SAL_
CPPUNIT_TEST_SUITE
(
destroyBF
);
CPPUNIT_TEST
(
destroyBF_001
);
CPPUNIT_TEST
(
destroyBF_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class destroyBF
};
// class destroyBF
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
encode
:
public
CppUnit
::
TestFixture
class
encode
:
public
CppUnit
::
TestFixture
...
@@ -473,9 +473,9 @@ public:
...
@@ -473,9 +473,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
encode
);
SAL_
CPPUNIT_TEST_SUITE
(
encode
);
CPPUNIT_TEST
(
encode_001
);
CPPUNIT_TEST
(
encode_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class encode
};
// class encode
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
encodeBF
:
public
CppUnit
::
TestFixture
class
encodeBF
:
public
CppUnit
::
TestFixture
...
@@ -497,9 +497,9 @@ public:
...
@@ -497,9 +497,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
encodeBF
);
SAL_
CPPUNIT_TEST_SUITE
(
encodeBF
);
CPPUNIT_TEST
(
encodeBF_001
);
CPPUNIT_TEST
(
encodeBF_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class encodeBF
};
// class encodeBF
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
init
:
public
CppUnit
::
TestFixture
class
init
:
public
CppUnit
::
TestFixture
...
@@ -607,12 +607,12 @@ public:
...
@@ -607,12 +607,12 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
init
);
SAL_
CPPUNIT_TEST_SUITE
(
init
);
CPPUNIT_TEST
(
init_001
);
CPPUNIT_TEST
(
init_001
);
CPPUNIT_TEST
(
init_002
);
CPPUNIT_TEST
(
init_002
);
CPPUNIT_TEST
(
init_003
);
CPPUNIT_TEST
(
init_003
);
CPPUNIT_TEST
(
init_004
);
CPPUNIT_TEST
(
init_004
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class init
};
// class init
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
class
initBF
:
public
CppUnit
::
TestFixture
class
initBF
:
public
CppUnit
::
TestFixture
...
@@ -636,9 +636,9 @@ public:
...
@@ -636,9 +636,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
initBF
);
SAL_
CPPUNIT_TEST_SUITE
(
initBF
);
CPPUNIT_TEST
(
initBF_001
);
CPPUNIT_TEST
(
initBF_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class initBF
};
// class initBF
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
...
sal/qa/rtl/locale/rtl_locale.cxx
Dosyayı görüntüle @
181efb95
...
@@ -84,10 +84,10 @@ public:
...
@@ -84,10 +84,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
getDefault
);
SAL_
CPPUNIT_TEST_SUITE
(
getDefault
);
CPPUNIT_TEST
(
getDefault_000
);
CPPUNIT_TEST
(
getDefault_000
);
CPPUNIT_TEST
(
getDefault_001
);
CPPUNIT_TEST
(
getDefault_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getDefault
};
// class getDefault
...
@@ -120,9 +120,9 @@ public:
...
@@ -120,9 +120,9 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
setDefault
);
SAL_
CPPUNIT_TEST_SUITE
(
setDefault
);
CPPUNIT_TEST
(
setDefault_001
);
CPPUNIT_TEST
(
setDefault_001
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class setDefault
};
// class setDefault
...
@@ -158,10 +158,10 @@ public:
...
@@ -158,10 +158,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
getLanguage
);
SAL_
CPPUNIT_TEST_SUITE
(
getLanguage
);
CPPUNIT_TEST
(
getLanguage_001
);
CPPUNIT_TEST
(
getLanguage_001
);
CPPUNIT_TEST
(
getLanguage_002
);
CPPUNIT_TEST
(
getLanguage_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getLanguage
};
// class getLanguage
...
@@ -197,10 +197,10 @@ public:
...
@@ -197,10 +197,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
getCountry
);
SAL_
CPPUNIT_TEST_SUITE
(
getCountry
);
CPPUNIT_TEST
(
getCountry_001
);
CPPUNIT_TEST
(
getCountry_001
);
CPPUNIT_TEST
(
getCountry_002
);
CPPUNIT_TEST
(
getCountry_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getCountry
};
// class getCountry
...
@@ -236,10 +236,10 @@ public:
...
@@ -236,10 +236,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
getVariant
);
SAL_
CPPUNIT_TEST_SUITE
(
getVariant
);
CPPUNIT_TEST
(
getVariant_001
);
CPPUNIT_TEST
(
getVariant_001
);
CPPUNIT_TEST
(
getVariant_002
);
CPPUNIT_TEST
(
getVariant_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class getVariant
};
// class getVariant
...
@@ -275,10 +275,10 @@ public:
...
@@ -275,10 +275,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
hashCode
);
SAL_
CPPUNIT_TEST_SUITE
(
hashCode
);
CPPUNIT_TEST
(
hashCode_001
);
CPPUNIT_TEST
(
hashCode_001
);
CPPUNIT_TEST
(
hashCode_002
);
CPPUNIT_TEST
(
hashCode_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class hashCode
};
// class hashCode
...
@@ -321,10 +321,10 @@ public:
...
@@ -321,10 +321,10 @@ public:
// member functions of the current class,
// member functions of the current class,
// because these macros are need by auto register mechanism.
// because these macros are need by auto register mechanism.
CPPUNIT_TEST_SUITE
(
equals
);
SAL_
CPPUNIT_TEST_SUITE
(
equals
);
CPPUNIT_TEST
(
equals_001
);
CPPUNIT_TEST
(
equals_001
);
CPPUNIT_TEST
(
equals_002
);
CPPUNIT_TEST
(
equals_002
);
CPPUNIT_TEST_SUITE_END
();
SAL_
CPPUNIT_TEST_SUITE_END
();
};
// class equals
};
// class equals
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
...
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