Search in sources :

Example 31 with IndefiniteResult

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

the class IndefiniteResultFactoryImpl method create.

@Override
public IndefiniteResult create(Test test, WebResource subject, String value, Collection<ProcessRemark> remarkList) {
    IndefiniteResult instance = this.create();
    instance.setTest(test);
    instance.setSubject(subject);
    instance.setIndefiniteValue(value);
    instance.addAllRemark(remarkList);
    return instance;
}
Also used : IndefiniteResult(org.asqatasun.entity.audit.IndefiniteResult)

Example 32 with IndefiniteResult

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

the class Aw22Rule12011Test method setProcess.

@Override
protected void setProcess() {
    ProcessResult pr = processPageTest("AW22.Test.12.1.1-4NA-01");
    assertTrue(pr instanceof IndefiniteResult);
    assertEquals(getWebResourceMap().get("AW22.Test.12.1.1-4NA-01"), pr.getSubject());
    assertEquals("mock-result", pr.getValue());
    process("AW22.Test.12.1.1-5NT-01");
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult) IndefiniteResult(org.asqatasun.entity.audit.IndefiniteResult)

Example 33 with IndefiniteResult

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

the class Aw22Rule12031Test method setProcess.

@Override
protected void setProcess() {
    ProcessResult pr = processPageTest("AW22.Test.12.3.1-4NA-01");
    assertTrue(pr instanceof IndefiniteResult);
    assertEquals(getWebResourceMap().get("AW22.Test.12.3.1-4NA-01"), pr.getSubject());
    assertEquals("mock-result", pr.getValue());
    process("AW22.Test.12.3.1-5NT-01");
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult) IndefiniteResult(org.asqatasun.entity.audit.IndefiniteResult)

Example 34 with IndefiniteResult

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

the class Aw22Rule12051Test method setProcess.

@Override
protected void setProcess() {
    ProcessResult pr = processPageTest("AW22.Test.12.5.1-4NA-01");
    assertTrue(pr instanceof IndefiniteResult);
    assertEquals(getWebResourceMap().get("AW22.Test.12.5.1-4NA-01"), pr.getSubject());
    assertEquals("mock-result", pr.getValue());
    process("AW22.Test.12.5.1-5NT-01");
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult) IndefiniteResult(org.asqatasun.entity.audit.IndefiniteResult)

Example 35 with IndefiniteResult

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

the class Aw22Rule12061Test method setProcess.

@Override
protected void setProcess() {
    ProcessResult pr = processPageTest("AW22.Test.12.6.1-4NA-01");
    assertTrue(pr instanceof IndefiniteResult);
    assertEquals(getWebResourceMap().get("AW22.Test.12.6.1-4NA-01"), pr.getSubject());
    assertEquals("mock-result", pr.getValue());
    process("AW22.Test.12.6.1-5NT-01");
}
Also used : ProcessResult(org.asqatasun.entity.audit.ProcessResult) IndefiniteResult(org.asqatasun.entity.audit.IndefiniteResult)

Aggregations

IndefiniteResult (org.asqatasun.entity.audit.IndefiniteResult)44 ProcessResult (org.asqatasun.entity.audit.ProcessResult)41