Search in sources :

Example 66 with Site

use of org.asqatasun.entity.subject.Site in project Asqatasun by Asqatasun.

the class Rgaa32016Rule120502Test method setUpWebResourceMap.

@Override
protected void setUpWebResourceMap() {
    getWebResourceMap().put("Rgaa32016.Test.12.05.02-4NA-01", getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120502/Rgaa32016.Test.12.05.02-3NMI-01.html"));
    Site site = getWebResourceFactory().createSite("file:Site-NotTested");
    getWebResourceMap().put("Rgaa32016.Test.12.05.02-5NT-01", site);
    Page page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120502/Rgaa32016.Test.12.05.02-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.05.02-5NT-01-page1", page);
    page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120502/Rgaa32016.Test.12.05.02-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.05.02-5NT-01-page1", page);
}
Also used : Site(org.asqatasun.entity.subject.Site) Page(org.asqatasun.entity.subject.Page)

Example 67 with Site

use of org.asqatasun.entity.subject.Site in project Asqatasun by Asqatasun.

the class Rgaa32016Rule120601Test method setUpWebResourceMap.

@Override
protected void setUpWebResourceMap() {
    getWebResourceMap().put("Rgaa32016.Test.12.06.01-4NA-01", getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120601/Rgaa32016.Test.12.06.01-3NMI-01.html"));
    Site site = getWebResourceFactory().createSite("file:Site-NotTested");
    getWebResourceMap().put("Rgaa32016.Test.12.06.01-5NT-01", site);
    Page page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120601/Rgaa32016.Test.12.06.01-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.06.01-5NT-01-page1", page);
    page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120601/Rgaa32016.Test.12.06.01-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.06.01-5NT-01-page1", page);
}
Also used : Site(org.asqatasun.entity.subject.Site) Page(org.asqatasun.entity.subject.Page)

Example 68 with Site

use of org.asqatasun.entity.subject.Site in project Asqatasun by Asqatasun.

the class Rgaa32016Rule120603Test method setUpWebResourceMap.

@Override
protected void setUpWebResourceMap() {
    getWebResourceMap().put("Rgaa32016.Test.12.06.03-4NA-01", getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120603/Rgaa32016.Test.12.06.03-3NMI-01.html"));
    Site site = getWebResourceFactory().createSite("file:Site-NotTested");
    getWebResourceMap().put("Rgaa32016.Test.12.06.03-5NT-01", site);
    Page page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120603/Rgaa32016.Test.12.06.03-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.06.03-5NT-01-page1", page);
    page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120603/Rgaa32016.Test.12.06.03-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.06.03-5NT-01-page1", page);
}
Also used : Site(org.asqatasun.entity.subject.Site) Page(org.asqatasun.entity.subject.Page)

Example 69 with Site

use of org.asqatasun.entity.subject.Site in project Asqatasun by Asqatasun.

the class Rgaa32016Rule120101Test method setUpWebResourceMap.

@Override
protected void setUpWebResourceMap() {
    getWebResourceMap().put("Rgaa32016.Test.12.01.01-4NA-01", getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120101/Rgaa32016.Test.12.01.01-3NMI-01.html"));
    Site site = getWebResourceFactory().createSite("file:Site-NotTested");
    getWebResourceMap().put("Rgaa32016.Test.12.01.01-5NT-01", site);
    Page page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120101/Rgaa32016.Test.12.01.01-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.01.01-5NT-01-page1", page);
    page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule120101/Rgaa32016.Test.12.01.01-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.01.01-5NT-01-page1", page);
}
Also used : Site(org.asqatasun.entity.subject.Site) Page(org.asqatasun.entity.subject.Page)

Example 70 with Site

use of org.asqatasun.entity.subject.Site in project Asqatasun by Asqatasun.

the class Rgaa32016Rule121104Test method setUpWebResourceMap.

@Override
protected void setUpWebResourceMap() {
    getWebResourceMap().put("Rgaa32016.Test.12.11.4-4NA-01", getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule121104/Rgaa32016.Test.12.11.4-3NMI-01.html"));
    Site site = getWebResourceFactory().createSite("file:Site-NotTested");
    getWebResourceMap().put("Rgaa32016.Test.12.11.4-5NT-01", site);
    Page page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule121104/Rgaa32016.Test.12.11.4-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.11.4-5NT-01-page1", page);
    page = getWebResourceFactory().createPage(getTestcasesFilePath() + "rgaa32016/Rgaa32016Rule121104/Rgaa32016.Test.12.11.4-3NMI-01.html");
    site.addChild(page);
    getWebResourceMap().put("Rgaa32016.Test.12.11.4-5NT-01-page1", page);
}
Also used : Site(org.asqatasun.entity.subject.Site) Page(org.asqatasun.entity.subject.Page)

Aggregations

Site (org.asqatasun.entity.subject.Site)76 Page (org.asqatasun.entity.subject.Page)68 WebResource (org.asqatasun.entity.subject.WebResource)9 Audit (org.asqatasun.entity.audit.Audit)7 Query (javax.persistence.Query)6 ArrayList (java.util.ArrayList)5 ProcessResult (org.asqatasun.entity.audit.ProcessResult)4 ForbiddenPageException (org.asqatasun.webapp.exception.ForbiddenPageException)4 Contract (org.asqatasun.webapp.entity.contract.Contract)3 ForbiddenUserException (org.asqatasun.webapp.exception.ForbiddenUserException)3 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)3 List (java.util.List)2 Map (java.util.Map)2 Content (org.asqatasun.entity.audit.Content)2 DefiniteResult (org.asqatasun.entity.audit.DefiniteResult)2 SSP (org.asqatasun.entity.audit.SSP)2 ResultCounter (org.asqatasun.webapp.presentation.data.ResultCounter)2 Secured (org.springframework.security.access.annotation.Secured)2 Criterion (org.asqatasun.entity.reference.Criterion)1 Theme (org.asqatasun.entity.reference.Theme)1