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
db8c7032
Kaydet (Commit)
db8c7032
authored
Eki 16, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert PASSED to COMPLETED in 'make check' test messages
Change-Id: I5501f4f40024d3a47bb7007896e07c6252151cf6
üst
6f1313b3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
ComplexTestCase.java
qadevOOo/runner/complexlib/ComplexTestCase.java
+1
-1
SimpleStatus.java
qadevOOo/runner/lib/SimpleStatus.java
+1
-1
Status.java
qadevOOo/runner/lib/Status.java
+3
-3
Summarizer.java
qadevOOo/runner/stats/Summarizer.java
+6
-6
UnitConversion.java
toolkit/qa/complex/toolkit/UnitConversion.java
+1
-1
No files found.
qadevOOo/runner/complexlib/ComplexTestCase.java
Dosyayı görüntüle @
db8c7032
...
...
@@ -200,7 +200,7 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest
subEntry
.
ErrorMsg
=
(
msg
==
null
?
""
:
msg
);
continue
;
}
subEntry
.
State
=
(
bSuccessful
?
"
PASS
ED.OK"
:
message
);
subEntry
.
State
=
(
bSuccessful
?
"
COMPLET
ED.OK"
:
message
);
subEntry
.
hasErrorMsg
=
!
bSuccessful
;
subEntry
.
ErrorMsg
=
message
;
}
...
...
qadevOOo/runner/lib/SimpleStatus.java
Dosyayı görüntüle @
db8c7032
...
...
@@ -36,7 +36,7 @@ class SimpleStatus {
private
final
RunState
runState
;
/**
* This is the run state: either SKIPPED,
PASS
ED, etc.
* This is the run state: either SKIPPED,
COMPLET
ED, etc.
* or user defined. Deriving classes can overwrite it for own run states.
*/
protected
String
runStateString
;
...
...
qadevOOo/runner/lib/Status.java
Dosyayı görüntüle @
db8c7032
...
...
@@ -23,7 +23,7 @@ package lib;
* described in two ways: state and runtime state. The state describes if the
* activity was successful (OK state) or not (FAILED state). The runtime state
* describes what happened during the activity: the test can be:
* -
PASS
ED - the activity completed normally (although it can complete with
* -
COMPLET
ED - the activity completed normally (although it can complete with
* FAILED state)
* - SKIPPED - the activity was not performed because of a reason (it also can
* has OK or FAILED state)
...
...
@@ -38,7 +38,7 @@ public class Status extends SimpleStatus {
/**
* Construct a status: use runState and state
* @param runState either
PASS
ED, SKIPPED, etc.
* @param runState either
COMPLET
ED, SKIPPED, etc.
* @param bSuccessful OK or FAILED.
*/
public
Status
(
RunState
runState
,
boolean
bSuccessful
)
{
...
...
@@ -102,7 +102,7 @@ public class Status extends SimpleStatus {
* The method returns a human-readable description of the status.
* The Status implementation of the method returns the status state
* description and appends to it the reason, for example:
* "FAILED.The getLabel works wrong", "
PASS
ED.OK".
* "FAILED.The getLabel works wrong", "
COMPLET
ED.OK".
*/
@Override
public
String
toString
()
{
...
...
qadevOOo/runner/stats/Summarizer.java
Dosyayı görüntüle @
db8c7032
...
...
@@ -47,11 +47,11 @@ public class Summarizer
{
if
(
entry
.
SubEntries
[
i
].
State
==
null
)
{
entry
.
SubEntries
[
i
].
State
=
"
PASS
ED.FAILED"
;
entry
.
SubEntries
[
i
].
State
=
"
COMPLET
ED.FAILED"
;
}
if
(
entry
.
SubEntries
[
i
].
State
.
equals
(
"known issue"
))
{
entry
.
SubEntries
[
i
].
State
=
"
PASS
ED.OK"
;
entry
.
SubEntries
[
i
].
State
=
"
COMPLET
ED.OK"
;
knownIssues
++;
}
if
(!
entry
.
SubEntries
[
i
].
State
.
endsWith
(
"OK"
))
...
...
@@ -64,12 +64,12 @@ public class Summarizer
if
(
failures
.
size
()
>
0
)
{
String
errMsg
=
""
;
String
state
=
"
PASS
ED.FAILED"
;
String
state
=
"
COMPLET
ED.FAILED"
;
for
(
int
j
=
0
;
j
<
failures
.
size
();
j
++)
{
if
(
states
.
get
(
j
).
equals
(
"not part of the job"
))
{
state
=
"
PASS
ED(some interfaces/services not tested).OK"
;
state
=
"
COMPLET
ED(some interfaces/services not tested).OK"
;
}
else
{
...
...
@@ -83,11 +83,11 @@ public class Summarizer
}
else
if
(
entry
.
EntryType
.
equals
(
"component"
)
&&
knownIssues
>
0
)
{
entry
.
State
=
"
PASS
ED(with known issues).OK"
;
entry
.
State
=
"
COMPLET
ED(with known issues).OK"
;
}
else
{
entry
.
State
=
"
PASS
ED.OK"
;
entry
.
State
=
"
COMPLET
ED.OK"
;
}
}
...
...
toolkit/qa/complex/toolkit/UnitConversion.java
Dosyayı görüntüle @
db8c7032
...
...
@@ -90,7 +90,7 @@ public class UnitConversion
* 4. try to resize and move the window to an other position, so we get a well knowing position and size.
* 5. run some more tests
*
* If no test fails, the test is well done and returns with '
PASSED,
OK'
* If no test fails, the test is well done and returns with '
COMPLETED.
OK'
*
*/
@Test
...
...
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