Search in sources :

Example 36 with ProcessResult

use of org.asqatasun.entity.audit.ProcessResult in project Asqatasun by Asqatasun.

the class Rgaa30Rule131301Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa30.Test.13.13.1-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa30.Test.13.13.1-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa30.Test.13.13.1-3NMI-01");
    // temporary result to make the result buildable before implementation
    checkResultIsNotTested(processResult);
//        checkResultIsPreQualified(processResult, 2, 1);
//        checkRemarkIsPresent(
//                processResult,
//                TestSolution.NEED_MORE_INFO,
//                "#MessageHere",
//                "#CurrentElementHere",
//                1,
//                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
//        checkResultIsNotApplicable(processPageTest("Rgaa30.Test.13.13.1-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 37 with ProcessResult

use of org.asqatasun.entity.audit.ProcessResult in project Asqatasun by Asqatasun.

the class Rgaa30Rule131401Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa30.Test.13.14.1-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa30.Test.13.14.1-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa30.Test.13.14.1-3NMI-01");
    // temporary result to make the result buildable before implementation
    checkResultIsNotTested(processResult);
//        checkResultIsPreQualified(processResult, 2, 1);
//        checkRemarkIsPresent(
//                processResult,
//                TestSolution.NEED_MORE_INFO,
//                "#MessageHere",
//                "#CurrentElementHere",
//                1,
//                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
//        checkResultIsNotApplicable(processPageTest("Rgaa30.Test.13.14.1-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 38 with ProcessResult

use of org.asqatasun.entity.audit.ProcessResult in project Asqatasun by Asqatasun.

the class Rgaa30Rule131502Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa30.Test.13.15.2-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa30.Test.13.15.2-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa30.Test.13.15.2-3NMI-01");
    // temporary result to make the result buildable before implementation
    checkResultIsNotTested(processResult);
//        checkResultIsPreQualified(processResult, 2, 1);
//        checkRemarkIsPresent(
//                processResult,
//                TestSolution.NEED_MORE_INFO,
//                "#MessageHere",
//                "#CurrentElementHere",
//                1,
//                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
//        checkResultIsNotApplicable(processPageTest("Rgaa30.Test.13.15.2-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 39 with ProcessResult

use of org.asqatasun.entity.audit.ProcessResult in project Asqatasun by Asqatasun.

the class Rgaa30Rule131601Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa30.Test.13.16.1-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa30.Test.13.16.1-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa30.Test.13.16.1-3NMI-01");
    // temporary result to make the result buildable before implementation
    checkResultIsNotTested(processResult);
//        checkResultIsPreQualified(processResult, 2, 1);
//        checkRemarkIsPresent(
//                processResult,
//                TestSolution.NEED_MORE_INFO,
//                "#MessageHere",
//                "#CurrentElementHere",
//                1,
//                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
//        checkResultIsNotApplicable(processPageTest("Rgaa30.Test.13.16.1-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 40 with ProcessResult

use of org.asqatasun.entity.audit.ProcessResult in project Asqatasun by Asqatasun.

the class Rgaa30Rule131602Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa30.Test.13.16.2-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa30.Test.13.16.2-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa30.Test.13.16.2-3NMI-01");
    // temporary result to make the result buildable before implementation
    checkResultIsNotTested(processResult);
//        checkResultIsPreQualified(processResult, 2, 1);
//        checkRemarkIsPresent(
//                processResult,
//                TestSolution.NEED_MORE_INFO,
//                "#MessageHere",
//                "#CurrentElementHere",
//                1,
//                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
//        checkResultIsNotApplicable(processPageTest("Rgaa30.Test.13.16.2-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Aggregations

ProcessResult (org.asqatasun.entity.audit.ProcessResult)856 SourceCodeRemark (org.asqatasun.entity.audit.SourceCodeRemark)143 ImmutablePair (org.apache.commons.lang3.tuple.ImmutablePair)109 LinkedHashSet (java.util.LinkedHashSet)77 EvidenceElement (org.asqatasun.entity.audit.EvidenceElement)53 IndefiniteResult (org.asqatasun.entity.audit.IndefiniteResult)41 ProcessRemark (org.asqatasun.entity.audit.ProcessRemark)41 WebResource (org.asqatasun.entity.subject.WebResource)8 ArrayList (java.util.ArrayList)4 Audit (org.asqatasun.entity.audit.Audit)4 DefiniteResult (org.asqatasun.entity.audit.DefiniteResult)4 Page (org.asqatasun.entity.subject.Page)4 Site (org.asqatasun.entity.subject.Site)4 List (java.util.List)3 SourceCodeRemarkImpl (org.asqatasun.entity.audit.SourceCodeRemarkImpl)3 Test (org.asqatasun.entity.reference.Test)3 Map (java.util.Map)2 Content (org.asqatasun.entity.audit.Content)2 TestSolution (org.asqatasun.entity.audit.TestSolution)2 CriterionStatistics (org.asqatasun.entity.statistics.CriterionStatistics)2