Search in sources :

Example 66 with ProcessResult

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

the class Rgaa32016Rule070105Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa32016.Test.7.1.5-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa32016.Test.7.1.5-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa32016.Test.7.1.5-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("Rgaa32016.Test.7.1.5-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 67 with ProcessResult

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

the class Rgaa32016Rule131602Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa32016.Test.13.16.2-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa32016.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("Rgaa32016.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("Rgaa32016.Test.13.16.2-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 68 with ProcessResult

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

the class Rgaa32016Rule131603Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa32016.Test.13.16.3-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa32016.Test.13.16.3-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa32016.Test.13.16.3-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("Rgaa32016.Test.13.16.3-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 69 with ProcessResult

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

the class Rgaa32016Rule131701Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa32016.Test.13.17.1-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa32016.Test.13.17.1-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa32016.Test.13.17.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("Rgaa32016.Test.13.17.1-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Example 70 with ProcessResult

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

the class Rgaa32016Rule131702Test method setProcess.

@Override
protected void setProcess() {
    //----------------------------------------------------------------------
    //------------------------------1Passed-01------------------------------
    //----------------------------------------------------------------------
    //        checkResultIsPassed(processPageTest("Rgaa32016.Test.13.17.2-1Passed-01"), 1);
    //----------------------------------------------------------------------
    //------------------------------2Failed-01------------------------------
    //----------------------------------------------------------------------
    //        ProcessResult processResult = processPageTest("Rgaa32016.Test.13.17.2-2Failed-01");
    //        checkResultIsFailed(processResult, 1, 1);
    //        checkRemarkIsPresent(
    //                processResult,
    //                TestSolution.FAILED,
    //                "#MessageHere",
    //                "#CurrentElementHere",
    //                1,
    //                new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue"));
    //----------------------------------------------------------------------
    //------------------------------3NMI-01---------------------------------
    //----------------------------------------------------------------------
    ProcessResult processResult = processPageTest("Rgaa32016.Test.13.17.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("Rgaa32016.Test.13.17.2-4NA-01"));
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult)

Aggregations

ProcessResult (org.asqatasun.entity.audit.ProcessResult)1081 SourceCodeRemark (org.asqatasun.entity.audit.SourceCodeRemark)143 ImmutablePair (org.apache.commons.lang3.tuple.ImmutablePair)125 LinkedHashSet (java.util.LinkedHashSet)76 EvidenceElement (org.asqatasun.entity.audit.EvidenceElement)53 IndefiniteResult (org.asqatasun.entity.audit.IndefiniteResult)51 ProcessRemark (org.asqatasun.entity.audit.ProcessRemark)40 Map (java.util.Map)23 HashMap (java.util.HashMap)22 WebResource (org.asqatasun.entity.subject.WebResource)15 SSP (org.asqatasun.entity.audit.SSP)10 ArrayList (java.util.ArrayList)5 DefiniteResult (org.asqatasun.entity.audit.DefiniteResult)5 Audit (org.asqatasun.entity.audit.Audit)4 Test (org.asqatasun.entity.reference.Test)4 List (java.util.List)3 SourceCodeRemarkImpl (org.asqatasun.entity.audit.SourceCodeRemarkImpl)3 Page (org.asqatasun.entity.subject.Page)3 Site (org.asqatasun.entity.subject.Site)3 RuleImplementation (org.asqatasun.ruleimplementation.RuleImplementation)3