use of org.apache.commons.lang3.tuple.ImmutablePair in project Asqatasun by Asqatasun.
the class Rgaa32016Rule110301Test method setProcess.
@Override
protected void setProcess() {
//----------------------------------------------------------------------
//------------------------------3NMI-01---------------------------------
//----------------------------------------------------------------------
ProcessResult processResult = processPageTest("Rgaa32016.Test.11.03.01-3NMI-01");
checkResultIsPreQualified(processResult, 2, 2);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.MANUAL_CHECK_ON_ELEMENTS_MSG, HtmlElementStore.LABEL_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "Field1"));
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.MANUAL_CHECK_ON_ELEMENTS_MSG, HtmlElementStore.LABEL_ELEMENT, 2, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "Field2"));
//----------------------------------------------------------------------
//------------------------------4NA-01----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa32016.Test.11.03.01-4NA-01"));
//----------------------------------------------------------------------
//------------------------------4NA-02----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa32016.Test.11.03.01-4NA-02"));
}
use of org.apache.commons.lang3.tuple.ImmutablePair in project Asqatasun by Asqatasun.
the class Rgaa30Rule010704Test method setProcess.
@Override
protected void setProcess() {
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
ProcessResult processResult = processPageTest("Rgaa30.Test.01.07.04-3NMI-01");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_DESC_PERTINENCE_OF_INFORMATIVE_IMG_MSG, HtmlElementStore.SVG_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock svg."));
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
processResult = processPageTest("Rgaa30.Test.01.07.04-3NMI-02");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_NATURE_OF_IMAGE_AND_DESC_PERTINENCE_MSG, HtmlElementStore.SVG_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock svg."));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.01.07.04-4NA-01"));
//----------------------------------------------------------------------
//------------------------------4NA-02---------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.01.07.04-4NA-02"));
//----------------------------------------------------------------------
//------------------------------4NA-03---------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.01.07.04-4NA-03"));
//----------------------------------------------------------------------
//------------------------------4NA-04---------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.01.07.04-4NA-04"));
}
use of org.apache.commons.lang3.tuple.ImmutablePair in project Asqatasun by Asqatasun.
the class Rgaa30Rule010705Test method setProcess.
@Override
protected void setProcess() {
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
ProcessResult processResult = processPageTest("Rgaa30.Test.1.7.5-3NMI-01");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_AT_RESTITUTION_OF_DESC_OF_INFORMATIVE_IMG_MSG, HtmlElementStore.SVG_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock svg"));
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
processResult = processPageTest("Rgaa30.Test.1.7.5-3NMI-02");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_NATURE_OF_IMAGE_AND_AT_RESTITUTION_OF_PERTINENCE_MSG, HtmlElementStore.SVG_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock svg"));
//----------------------------------------------------------------------
//------------------------------4NA-01----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.5-4NA-01"));
//----------------------------------------------------------------------
//------------------------------4NA-02----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.5-4NA-02"));
//----------------------------------------------------------------------
//------------------------------4NA-03----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.5-4NA-03"));
//----------------------------------------------------------------------
//------------------------------4NA-04----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.5-4NA-04"));
//----------------------------------------------------------------------
//------------------------------4NA-05----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.5-4NA-05"));
//----------------------------------------------------------------------
//------------------------------4NA-06----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.5-4NA-06"));
}
use of org.apache.commons.lang3.tuple.ImmutablePair in project Asqatasun by Asqatasun.
the class Rgaa30Rule010706Test method setProcess.
@Override
protected void setProcess() {
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
ProcessResult processResult = processPageTest("Rgaa30.Test.1.7.6-3NMI-01");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_DESC_PERTINENCE_OF_INFORMATIVE_IMG_MSG, HtmlElementStore.CANVAS_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock canvas."));
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
processResult = processPageTest("Rgaa30.Test.1.7.6-3NMI-02");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_NATURE_OF_IMAGE_AND_DESC_PERTINENCE_MSG, HtmlElementStore.CANVAS_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock canvas"));
//----------------------------------------------------------------------
//------------------------------4NA-01------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.6-4NA-01"));
//----------------------------------------------------------------------
//------------------------------4NA-02---------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.6-4NA-02"));
//----------------------------------------------------------------------
//------------------------------4NA-03---------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.6-4NA-03"));
//----------------------------------------------------------------------
//------------------------------4NA-04---------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.6-4NA-04"));
}
use of org.apache.commons.lang3.tuple.ImmutablePair in project Asqatasun by Asqatasun.
the class Rgaa30Rule010707Test method setProcess.
@Override
protected void setProcess() {
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
ProcessResult processResult = processPageTest("Rgaa30.Test.1.7.7-3NMI-01");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_AT_RESTITUTION_OF_DESC_OF_INFORMATIVE_IMG_MSG, HtmlElementStore.CANVAS_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock canvas"));
//----------------------------------------------------------------------
//-------------------------------3NMI-01--------------------------------
//----------------------------------------------------------------------
processResult = processPageTest("Rgaa30.Test.1.7.7-3NMI-02");
checkResultIsPreQualified(processResult, 1, 1);
checkRemarkIsPresent(processResult, TestSolution.NEED_MORE_INFO, RemarkMessageStore.CHECK_NATURE_OF_IMAGE_AND_AT_RESTITUTION_OF_PERTINENCE_MSG, HtmlElementStore.CANVAS_ELEMENT, 1, new ImmutablePair(HtmlElementStore.TEXT_ELEMENT2, "mock canvas"));
//----------------------------------------------------------------------
//------------------------------4NA-01----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.7-4NA-01"));
//----------------------------------------------------------------------
//------------------------------4NA-02----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.7-4NA-02"));
//----------------------------------------------------------------------
//------------------------------4NA-03----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.7-4NA-03"));
//----------------------------------------------------------------------
//------------------------------4NA-04----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.7-4NA-04"));
//----------------------------------------------------------------------
//------------------------------4NA-05----------------------------------
//----------------------------------------------------------------------
checkResultIsNotApplicable(processPageTest("Rgaa30.Test.1.7.7-4NA-05"));
}
Aggregations