You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mu...@apache.org on 2023/02/04 16:16:48 UTC

[xalan-test] branch master updated: improving implementation of xalanj tests class XsltcTestsTask.java

This is an automated email from the ASF dual-hosted git repository.

mukulg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xalan-test.git


The following commit(s) were added to refs/heads/master by this push:
     new 6cc2e6cd improving implementation of xalanj tests class XsltcTestsTask.java
6cc2e6cd is described below

commit 6cc2e6cdb625c1a85c94c299b4c7c85155e05602
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Sat Feb 4 21:46:27 2023 +0530

    improving implementation of xalanj tests class XsltcTestsTask.java
---
 java/src/org/apache/qetest/xsl/XsltcTestsTask.class | Bin 9804 -> 9797 bytes
 java/src/org/apache/qetest/xsl/XsltcTestsTask.java  |   8 ++++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/src/org/apache/qetest/xsl/XsltcTestsTask.class b/java/src/org/apache/qetest/xsl/XsltcTestsTask.class
index 1786ec80..d7e27e83 100644
Binary files a/java/src/org/apache/qetest/xsl/XsltcTestsTask.class and b/java/src/org/apache/qetest/xsl/XsltcTestsTask.class differ
diff --git a/java/src/org/apache/qetest/xsl/XsltcTestsTask.java b/java/src/org/apache/qetest/xsl/XsltcTestsTask.java
index 51b7feb4..af13dafb 100644
--- a/java/src/org/apache/qetest/xsl/XsltcTestsTask.java
+++ b/java/src/org/apache/qetest/xsl/XsltcTestsTask.java
@@ -218,10 +218,10 @@ public class XsltcTestsTask extends Task {
           Element fileNameElem = resultDocument.createElement("fileName");
           fileNameElem.appendChild(resultDocument.createTextNode(fileName));
           resultElem.appendChild(fileNameElem);
-          Element passElem = resultDocument.createElement("pass");
-          passElem.appendChild(resultDocument.createTextNode(passStatus == 
-                                                   Boolean.TRUE ? "true" : "false"));
-          resultElem.appendChild(passElem);
+          Element statusElem = resultDocument.createElement("status");
+          statusElem.appendChild(resultDocument.createTextNode(passStatus == 
+                                                   Boolean.TRUE ? "pass" : "fail"));
+          resultElem.appendChild(statusElem);
           
           testResultsElem.appendChild(resultElem);
        }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org