diff --git a/grails-app/conf/BuildConfig.groovy b/grails-app/conf/BuildConfig.groovy index 42066943..85a04623 100644 --- a/grails-app/conf/BuildConfig.groovy +++ b/grails-app/conf/BuildConfig.groovy @@ -46,6 +46,7 @@ grails.project.dependency.resolution = { compile('lib:itext-pdfa:5.4.0') compile('lib:itext-xtra:5.4.0') compile('lib:twitter4j-core:4.0.1') + compile('commons-codec:commons-codec:1.6') compile(group: 'org.apache.poi', name: 'poi', version: '3.7') { excludes 'xmlbeans' @@ -57,10 +58,11 @@ grails.project.dependency.resolution = { } plugins { - //compile ":twitter4j:0.3.2" + compile ":twitter4j:0.3.2" compile ":remote-control:1.4" compile ":codenarc:0.20" compile ":gmetrics:0.3.1" + compile ":blueprint:1.0.2" runtime ":hibernate:$grailsVersion" runtime ":jquery:1.7.1" diff --git a/grails-app/controllers/rgms/publication/BibtexGenerateFileController.groovy b/grails-app/controllers/rgms/publication/BibtexGenerateFileController.groovy index 07b6e6b7..03b5cbee 100644 --- a/grails-app/controllers/rgms/publication/BibtexGenerateFileController.groovy +++ b/grails-app/controllers/rgms/publication/BibtexGenerateFileController.groovy @@ -71,4 +71,25 @@ class BibtexGenerateFileController { render(bibtex) } + def generateBibTexByTopic = { String topic -> + String bibtex = "" + List groupList = ResearchGroup.getAll(); + + for(group in groupList) { + if(group.getId() == (params.id).toInteger()) { + List memberList = Membership.getAllMembers(group); + + for(member in memberList) { + String toAppend = memberPublications(member.getId()) + + if(toAppend.contains(topic)) { + bibtex += toAppend + } + } + } + } + + render(bibtex) + } + } diff --git a/grails-app/controllers/rgms/publication/BookController.groovy b/grails-app/controllers/rgms/publication/BookController.groovy index eab9da7a..7b2eb900 100644 --- a/grails-app/controllers/rgms/publication/BookController.groovy +++ b/grails-app/controllers/rgms/publication/BookController.groovy @@ -1,7 +1,7 @@ package rgms.publication class BookController { - + boolean busca= false,v= false,p= false,n = false, a = false; static allowedMethods = [save: "POST", update: "POST", delete: "POST"] AuxiliarController aux = new AuxiliarController() @@ -11,7 +11,27 @@ class BookController { def list(Integer max) { params.max = Math.min(max ?: 10, 100) - [bookInstanceList: Book.list(params), bookInstanceTotal: Book.count()] + if (busca) { + def bookInstanceList = Book.createCriteria().list(params) { + if (params.query) { + System.out.println("penes") + if (v) { + ilike("Volume", "%${params.query}%") + } + if(p){ + ilike("Publisher", "%${params.query}%") + } + if(n){ + ilike("Title", "%${params.query}%") + } + if(a){ + ilike("Autores", "%${params.query}%") + } + } + } + } + [bookInstanceList: Book.list(params), bookInstanceTotal: Book.count()] + } def create() { @@ -38,26 +58,22 @@ class BookController { redirect(action: "show", id: bookInstance.id) } - def show(Long id) { + def showOrEditAux(Long id){ def bookInstance = Book.get(id) if (!bookInstance) { flash.message = message(code: 'default.not.found.message', args: [message(code: 'book.label', default: 'Book'), id]) redirect(action: "list") return } - [bookInstance: bookInstance] } - def edit(Long id) { - def bookInstance = Book.get(id) - if (!bookInstance) { - flash.message = message(code: 'default.not.found.message', args: [message(code: 'book.label', default: 'Book'), id]) - redirect(action: "list") - return - } + def showOrEdit(Long id) { + showOrEditAux(id) + } - [bookInstance: bookInstance] + def edit(Long id) { + showOrEditAux(id) } def update(Long id, Long version) { @@ -93,4 +109,44 @@ class BookController { def bookInstance = Book.get(id) aux.delete(id, bookInstance, 'book.label', 'Book'); } + def valores ={ + def Input1 = params.Input1 + def Input2 = params.Input2 + ["Input1": Input1, "Input2": Input2] + } + + def busca(String tipo){ + params.max = Math.min(params.max ? params.int('max') : 5, 100) + + def bookList = Book.createCriteria().list (params) { + if ( params.query ) { + ilike(tipo, "%${params.query}%") + } + } + + [bookInstanceList: bookList, bookInstanceTotal: bookList.totalCount] + } + + def listSearchVolume () + { + params.max = Math.min(params.max ? params.int('max') : 5, 100) + + def bookList = Book.createCriteria().list (params) { + if ( params.query ) { + ilike(tipo, "%${params.query}%") + } + } + + [bookInstanceList: bookList, bookInstanceTotal: bookList.totalCount] + } + def listSearchTitle () + { + busca("title"); + + } + def listSearchPublisher(){ + busca("publisher") + } + + } diff --git a/grails-app/controllers/rgms/publication/PublicationController.groovy b/grails-app/controllers/rgms/publication/PublicationController.groovy index 3f0198ee..851e1224 100644 --- a/grails-app/controllers/rgms/publication/PublicationController.groovy +++ b/grails-app/controllers/rgms/publication/PublicationController.groovy @@ -61,6 +61,22 @@ class PublicationController { } } //#end + static def write(file, request) { + InputStream inputStream = request.getInputStream() + OutputStream outputStream = new FileOutputStream(file) + byte[] buffer = new byte[1024 * 10] //buffer de 10MB + int length + + while ((length = inputStream.read(buffer)) > 0) { + outputStream.write(buffer, 0, length) + } + outputStream.close() + inputStream.close() + } + + def write(file) { + write(file, request) + } def upload(Publication publicationInstance) { @@ -75,16 +91,7 @@ class PublicationController { return false } - InputStream inputStream = request.getInputStream() - OutputStream outputStream = new FileOutputStream(f) - byte[] buffer = new byte[1024 * 10] //buffer de 10MB - int length - - while ((length = inputStream.read(buffer)) > 0) { - outputStream.write(buffer, 0, length) - } - outputStream.close() - inputStream.close() + write(f) return true } @@ -100,16 +107,8 @@ class PublicationController { flash.message = 'File already exists. Please try to use a different file name.' return false } - InputStream inputStream = request.getInputStream() - OutputStream outputStream = new FileOutputStream(f) - byte[] buffer = new byte[1024 * 10] //buffer de 10MB - int length - while ((length = inputStream.read(buffer)) > 0) { - outputStream.write(buffer, 0, length) - } - outputStream.close() - inputStream.close() + write(f, request) return true } diff --git a/grails-app/domain/rgms/publication/BibtexExport.groovy b/grails-app/domain/rgms/publication/BibtexExport.groovy index 7cce106b..54b2ff60 100644 --- a/grails-app/domain/rgms/publication/BibtexExport.groovy +++ b/grails-app/domain/rgms/publication/BibtexExport.groovy @@ -51,7 +51,7 @@ class BibtexExport { public String generateBibtexTese(Tese tese) { - return "@phdthesis{" + "author=\"" + BibtexAux.organizeAuthors(tese.members) + "\",\n title=\"" + tese.title + "\",\n school=\"" + tese.school + "\",\n year=\"" + tese.publicationDate.getAt(Calendar.YEAR) + "\",\n address=\"" + tese.address + "\"}" + return "@phdthesis{" + "author=\"" + BibtexAux.organizeAuthors(tese.members) + "\",\n title=\"" + tese.title + "\",\n school=\"" + tese.school + "\",\n author=\"" + tese.author + "\",\n year=\"" + tese.publicationDate.getAt(Calendar.YEAR) + "\",\n address=\"" + tese.address + "\"}" } } diff --git a/grails-app/domain/rgms/publication/Book.groovy b/grails-app/domain/rgms/publication/Book.groovy index 5bdb9261..315626bf 100644 --- a/grails-app/domain/rgms/publication/Book.groovy +++ b/grails-app/domain/rgms/publication/Book.groovy @@ -5,11 +5,13 @@ class Book extends Publication { String publisher int volume String pages + String autores static constraints = { publisher nullable: false, blank: false, unique: ['title', 'volume'] volume nullable: false, blank: false, min: 1 pages nullable: false, blank: false + autores nullable:false, blank: false } //#if($Bibtex) diff --git a/grails-app/domain/rgms/publication/Publication.groovy b/grails-app/domain/rgms/publication/Publication.groovy index fd5ba019..b11207e7 100644 --- a/grails-app/domain/rgms/publication/Publication.groovy +++ b/grails-app/domain/rgms/publication/Publication.groovy @@ -50,7 +50,7 @@ abstract class Publication { } static Set getPublicationsByMembership(membership) { - def publications = membership?.member.publications + def publications = membership?.member?.publications def query = !membership.dateLeft ? { it.publicationDate?.compareTo(membership.dateJoined) > 0 } : { diff --git a/grails-app/domain/rgms/publication/TeseOrDissertacao.groovy b/grails-app/domain/rgms/publication/TeseOrDissertacao.groovy index d9b50f8f..9ba375d3 100644 --- a/grails-app/domain/rgms/publication/TeseOrDissertacao.groovy +++ b/grails-app/domain/rgms/publication/TeseOrDissertacao.groovy @@ -7,10 +7,12 @@ abstract class TeseOrDissertacao extends Publication { String school String address + String author static constraints = { school nullable: false, blank: false address nullable: false, blank: false + author nullable: false, blank: false } } diff --git a/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParse.java b/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParse.java index d96b515f..6bfad2b8 100644 --- a/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParse.java +++ b/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParse.java @@ -1,8 +1,10 @@ package rgms.publication.strategyBibtexParse; import org.jbibtex.BibTeXEntry; + import rgms.publication.Publication; + /** * @author Diogo Vinicius */ diff --git a/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParseTese.java b/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParseTese.java index 779a06f7..983b8bb9 100644 --- a/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParseTese.java +++ b/grails-app/domain/rgms/publication/strategyBibtexParse/StrategyParseTese.java @@ -16,6 +16,7 @@ public Publication execute(BibTeXEntry entry) { Tese tese = new Tese(); tese.setTitle(entry.getField(BibTeXEntry.KEY_TITLE).toUserString()); tese.setSchool(entry.getField(BibTeXEntry.KEY_SCHOOL).toUserString()); + tese.setAuthor(entry.getField(BibTeXEntry.KEY_AUTHOR).toUserString()); tese.setAddress(entry.getField(BibTeXEntry.KEY_ADDRESS).toUserString()); tese.setPublicationDate(new Date());//TODO transformar o date para setar no objeto tese.setFile("file");//TODO settar corretamente este atributo diff --git a/grails-app/i18n/messages.properties b/grails-app/i18n/messages.properties index 05c696f1..a9864cd2 100644 --- a/grails-app/i18n/messages.properties +++ b/grails-app/i18n/messages.properties @@ -44,6 +44,8 @@ default.button.delete.label=Delete default.button.list.label = List default.button.delete.confirm.message=Are you sure? +default.link.skip.label=Skip to content… + typeMismatch.java.net.URL=Property {0} must be a valid URL typeMismatch.java.net.URI=Property {0} must be a valid URI @@ -73,6 +75,7 @@ default.title.label=Title default.author.label=Author default.year.label=Year default.search.label=Search +default.advancedSearch.label=Advanced Search default.user.label=Users user.login.title=Login @@ -158,12 +161,28 @@ tese.title.label=Title tese.school.label=School tese.year.label=Year tese.month.label=Month +tese.publicationDate.label=Publication Date +tese.file.label=File +tese.researchLine.label=Research Line +tese.address.label=Adress +tese.members.label=Members tese.arquivo.label=File tese.label=Thesis tese.duplicatetitle.failure = Thesis not stored because there is another one with the same title #end #end +book.label=Book +book.title.label=Title +book.publicationDate.label=Publication Date +book.file.label=File +book.researchLine.label=Research Line +book.authors.label=Authors +book.publisher.label=Publishers +book.volume.label=Volume +book.pages.label=Pages +book.members.label=Members + orientation.same.members=Um membro nao pode orientar a si mesmo default.xml.parserror.message=No file uploaded or it wasn't a valid XML default.xml.structure.message=The XML struct doesn't comply with Lattes diff --git a/grails-app/views/bibtexGenerateFile/home.gsp b/grails-app/views/bibtexGenerateFile/home.gsp index f4538d83..cd53319e 100644 --- a/grails-app/views/bibtexGenerateFile/home.gsp +++ b/grails-app/views/bibtexGenerateFile/home.gsp @@ -10,13 +10,16 @@

${flash.message}
+
@@ -42,8 +45,13 @@ - - + @@ -77,7 +85,13 @@ - + diff --git a/grails-app/views/book/_form.gsp b/grails-app/views/book/_form.gsp index 2a162ec0..a7fdab32 100644 --- a/grails-app/views/book/_form.gsp +++ b/grails-app/views/book/_form.gsp @@ -33,7 +33,7 @@ - @@ -77,9 +77,9 @@ + optionKey="id" value="${bookInstance?.members?.id}"/> + value="${bookInstance?.members?.id}"/> --> diff --git a/grails-app/views/book/list.gsp b/grails-app/views/book/list.gsp index 29d6800f..5f9654e9 100644 --- a/grails-app/views/book/list.gsp +++ b/grails-app/views/book/list.gsp @@ -31,12 +31,33 @@ - +
+
+ + + +
+
+
+ + + +
+
+
+ + + +

${flash.message}
+ + + +
${fieldValue(bean: userMember.member, field: "email")}Generate All BibTex + Generate All BibTex + + + + +
${ fieldValue(bean: researchGroupInstance, field: "description") } Generate All BibTex from Members + Generate All BibTex from Members + + + + +
@@ -84,4 +105,4 @@ - + \ No newline at end of file diff --git a/grails-app/views/book/listSearchPublisher.gsp b/grails-app/views/book/listSearchPublisher.gsp new file mode 100644 index 00000000..7e74d97d --- /dev/null +++ b/grails-app/views/book/listSearchPublisher.gsp @@ -0,0 +1,98 @@ +<%@ page import="rgms.publication.Book" %> + + + + + + <g:message code="default.list.label" args="[entityName]"/> + + + + + + + + +
+
    +
    + + + + + +
+
+ + +
+

+ +
${flash.message}
+
+ +
${flash.message}
+
+
+ +
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${fieldValue(bean: bookInstance, field: "title")}${fieldValue(bean: bookInstance, field: "file")}${fieldValue(bean: bookInstance, field: "researchLine")}${fieldValue(bean: bookInstance, field: "authors")}${fieldValue(bean: bookInstance, field: "publisher")}
+ + +
+ + \ No newline at end of file diff --git a/grails-app/views/book/listSearchTitle.gsp b/grails-app/views/book/listSearchTitle.gsp new file mode 100644 index 00000000..01471420 --- /dev/null +++ b/grails-app/views/book/listSearchTitle.gsp @@ -0,0 +1,98 @@ +<%@ page import="rgms.publication.Book" %> + + + + + + <g:message code="default.list.label" args="[entityName]"/> + + + + + + + + +
+
    +
    + + + + + +
+
+ + +
+

+ +
${flash.message}
+
+ +
${flash.message}
+
+
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${fieldValue(bean: bookInstance, field: "title")}${fieldValue(bean: bookInstance, field: "file")}${fieldValue(bean: bookInstance, field: "researchLine")}${fieldValue(bean: bookInstance, field: "authors")}${fieldValue(bean: bookInstance, field: "publisher")}
+ + +
+ + \ No newline at end of file diff --git a/grails-app/views/book/listSearchVolume.gsp b/grails-app/views/book/listSearchVolume.gsp new file mode 100644 index 00000000..e13ed354 --- /dev/null +++ b/grails-app/views/book/listSearchVolume.gsp @@ -0,0 +1,98 @@ +<%@ page import="rgms.publication.Book" %> + + + + + + <g:message code="default.list.label" args="[entityName]"/> + + + + + + + + +
+
    +
    + + + + + +
+
+ + +
+

+ +
${flash.message}
+
+ +
${flash.message}
+
+
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${fieldValue(bean: bookInstance, field: "title")}${fieldValue(bean: bookInstance, field: "file")}${fieldValue(bean: bookInstance, field: "researchLine")}${fieldValue(bean: bookInstance, field: "authors")}${fieldValue(bean: bookInstance, field: "publisher")}
+ + +
+ + \ No newline at end of file diff --git a/grails-app/views/index.gsp b/grails-app/views/index.gsp index a3d00faf..f206c9db 100644 --- a/grails-app/views/index.gsp +++ b/grails-app/views/index.gsp @@ -11,8 +11,7 @@ border: .2em solid #fff; margin: 2em 2em 1em; padding: 1em; - / / width : 12 em; - 12em width : 15 em; + width : 12em; float: left; -moz-box-shadow: 0px 0px 1.25em #ccc; -webkit-box-shadow: 0px 0px 1.25em #ccc; diff --git a/grails-app/views/pdf/_demo2.gsp b/grails-app/views/pdf/_demo2.gsp new file mode 100644 index 00000000..9dc7398f --- /dev/null +++ b/grails-app/views/pdf/_demo2.gsp @@ -0,0 +1,79 @@ + + + + Simple PDF demo2 + + + +

Sample PDF Output

+

This is simple HTML

+

this has inline CSS

+ +

Here is some data passed from the contorller...

+

Information gathered from the controller: ${randomString}

+ +

Here is some information sent in the URL and handled by a controller (get variables):

+ + + + + + + + + + + + + + + + + + +
IDNameAge
${id}${name}${age}
styled with css...
+ laptop + +
+

checkbox: + %{-- checkboxes used to cause an error in pdf generation, but now they simply don't show up... --}% + +

+ %{-- text field sample --}% +

Text Input: + +

+
+ +

Here is some information gathered from a form and handled grails render method (post variables):

+

Favorite food: ${pdf?.food}

+

Favorite food: ${pdf?.food.toString()}

+

Hometown: ${pdf?.hometown}

+ +

${pdf}

+ +

Images with relative URL's are automatically resolved by the the modified version of XHTMLrenderer included with the plugin

+ laptop + +

Images with absolute URI's also do just fine:

+ laptop2 + +

Hint: One way to style gsp's that you intend to make into pdf's is to have two seperate style sheets one for media="print" and one for media="screen". The print style sheet will be used to style the PDF, and if PDF generation fails you will get a styled HTML view that isn't all weird because of fonts sized in pt and such.

+ + diff --git a/grails-app/views/pdf/demo.gsp b/grails-app/views/pdf/demo.gsp new file mode 100644 index 00000000..2abd5023 --- /dev/null +++ b/grails-app/views/pdf/demo.gsp @@ -0,0 +1,342 @@ + + + + + Simple PDF demo + + + +

Grails PDF Plugin demo page

+ +

Tag Documentation / Live Examples / Functional Testing

+

pdfLink tag:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + %{-- + + + + + + + --}% + + + + + + + + + + + + + + + + + +
DescriptionSample Source/HTML outputIn Action
URL method examples:
Simple Usage: + <g:pdfLink url="/pdf/demo2">PDF View</g:pdfLink> + + PDF View +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?url=%2Fpdf%2Fdemo2">
+ PDF View
+ </a> +
+
Simple Usage w/ Get data: + <g:pdfLink url="/pdf/demo2/5?name=bob&age=22">PDF View</g:pdfLink> + + PDF View +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?url=%2Fpdf%2Fdemo2%2F5%3Fname%3Dbob%26age%3D22">
+ PDF View
+ </a> +
+
Custom filename + <g:pdfLink url="/pdf/demo2.gsp" filename="sample.pdf">sample.pdf</g:pdfLink> + + sample.pdf +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?url=%2Fpdf%2Fdemo2.gsp&filename=sample.pdf">
+ sample.pdf
+ </a> +
+
Bundled icon + <g:pdfLink url="/pdf/demo2.gsp" filename="sample.pdf" icon="true"/> + + +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?url=%2Fpdf%2Fdemo2.gsp&filename=sample.pdf">
+ <img border="0" alt="PDF Version" src="/pdf/images/pdf_button.png" />
+ </a> +
+
Bundled icon w/ link content + <g:pdfLink url="/pdf/demo2.gsp" filename="sample.pdf" icon="true" class="myPdfLink">Custom link</g:pdfLink> + + Custom link +
+ + <a class="myPdfLink" title="pdf" href="/pdf/pdf/pdfLink?url=%2Fpdf%2Fdemo2.gsp&filename=sample.pdf">
+ <img border="0" alt="PDF Version" src="/pdf/images/pdf_button.png" />
+ Custom link
+ </a> +
+
String method examples:
Simple Template Usage: + <g:pdfLink template="demo2">template as PDF</g:pdfLink> + + template as PDF +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?template=demo2&filename=document.pdf">
+ PDF View
+ </a> +
+
Simple Controller Action Usage (action and id are optional): + <g:pdfLink pdfController="pdf" pdfAction="demo2">GSP as PDF</g:pdfLink> + + GSP as PDF +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?&pdfController=pdf&pdfAction=demo2">
+ PDF View
+ </a> +
+
Simple Controller Action + Id Usage: + <g:pdfLink pdfController="pdf" pdfAction="demo2" pdfId="65432">GSP as PDF</g:pdfLink> + + GSP as PDF +
+ + <a class="pdf" title="pdf" href="/pdf/pdf/pdfLink?&pdfController=pdf&pdfAction=demo2&pdfId=65432">
+ PDF View
+ </a> +
+
+ +

pdfForm tag:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DescriptionSample Source/HTML outputIn Action
GET method examples:
Simple Usage: + <g:pdfForm url="/pdf/demo2">...</g:pdfForm> + + + name:
+ + +
+
+ + <form id="simplePdfForm" method="get" action="/pdf/pdf/pdfForm" name="simplePdfForm">
+ <input type="hidden" value="/pdf/demo2" name="url"/>
+ <input type="hidden" value="document.pdf" name="filename"/>
+ ...
+ </form>
+
w/ Id and Filename: + <g:pdfForm url="/pdf/demo2/1968" filename="sample.pdf">...</g:pdfForm> + + + age:
+ + +
+
+ + <form id="simplePdfForm" method="get" action="/pdf/pdf/pdfForm" name="simplePdfForm">
+ <input type="hidden" value="/pdf/demo2/1968" name="url"/>
+ <input type="hidden" value="sample.pdf" name="filename"/>
+ ...
+ </form> +
+
POST method examples:
Controller and Action: + <g:pdfForm controller="pdf" action="demo3" method="post">...</g:pdfForm> + + + food:
+ + +
+
+ + <form id="simplePdfForm" method="post" action="/pdf/pdf/pdfForm" name="simplePdfForm">
+ <input type="hidden" value="pdf" name="pdfController"/>
+ <input type="hidden" value="demo3" name="pdfAction"/>
+ <input type="hidden" value="document.pdf" name="filename"/>
+ ...
+ </form> +
+
Controller, Action, Id and Filename: + <g:pdfForm controller="pdf" action="demo3" method="post">...</g:pdfForm> + + + food:
+ + +
+
+ + <form id="simplePdfForm" method="post" action="/pdf/pdf/pdfForm" name="simplePdfForm">
+ <input type="hidden" value="pdf" name="pdfController"/>
+ <input type="hidden" value="demo3" name="pdfAction"/>
+ <input type="hidden" value="document.pdf" name="filename"/>
+ ...
+ </form> +
+
Template: + <g:pdfForm template="demo2" >...</g:pdfForm> + + + hometown:
+ + +
+
+ + <form id="simplePdfForm" method="post" action="/pdf/pdf/pdfForm2" name="simplePdfForm">
+ <input type="hidden" value="demo2" name="template"/>
+ ...
+ </form> +
+
Template and Filename: + <g:pdfForm template="demo2" filename="sample.pdf">...</g:pdfForm> + + + hometown:
+ + +
+
+ + <form id="simplePdfForm" method="post" action="/pdf/pdf/pdfForm2" name="simplePdfForm">
+ <input type="hidden" value="demo2" name="template"/>
+ <input type="hidden" value="sample.pdf" name="filename"/>
+ ...
+ </form> +
+
+ + diff --git a/grails-app/views/pdf/demo2.gsp b/grails-app/views/pdf/demo2.gsp new file mode 100644 index 00000000..369e88b3 --- /dev/null +++ b/grails-app/views/pdf/demo2.gsp @@ -0,0 +1,73 @@ + + + + Simple PDF demo2 + + + +

Sample PDF Output

+

This is simple HTML

+

this has inline CSS

+ +

Here is some data passed from the contorller...

+

Information gathered from the controller: ${randomString}

+ +

Here is some information sent in the URL and handled by a controller (get variables):

+ + + + + + + + + + + + + + + + + + +
IDNameAge
${id}${name}${age}
styled with css...
+ laptop + +
+

checkbox: + %{-- checkboxes used to cause an error in pdf generation, but now they simply don't show up... --}% + +

+ %{-- text field sample --}% +

Text Input: + +

+
+ + +

Images with relative URL's are automatically resolved by the the modified version of XHTMLrenderer included with the plugin

+ laptop + +

Images with absolute URI's also do just fine:

+ laptop2 + +

Hint: One way to style gsp's that you intend to make into pdf's is to have two seperate style sheets one for media="print" and one for media="screen". The print style sheet will be used to style the PDF, and if PDF generation fails you will get a styled HTML view that isn't all weird because of fonts sized in pt and such.

+ + diff --git a/grails-app/views/pdf/demo3.gsp b/grails-app/views/pdf/demo3.gsp new file mode 100644 index 00000000..7d7140c9 --- /dev/null +++ b/grails-app/views/pdf/demo3.gsp @@ -0,0 +1,73 @@ + + + + + Simple PDF demo2 + + + +

Sample PDF Output

+

This is simple HTML

+

this has inline CSS

+ +

Here is some data passed from the contorller...

+

Information gathered from the controller: ${randomString}

+ +

Here is some information sent in the URL and handled by a controller (get variables):

+ + + + + + + + + + + + + + + + + + +
IDNameAge
${id}${name}${age}
styled with css...
+ +

Here is some information gathered from a form and handled by a controller (post variables):

+

Favorite food: ${pdf?.food}

+

Favorite food: ${pdf?.food.toString()}

+

Hometown: ${pdf?.hometown}

+ +

${pdf}

+ +

Images with relative URL's are automatically resolved by the the modified version of XHTMLrenderer included with the plugin

+ laptop + +

Images with absolute URI's also do just fine:

+ laptop2 + +

Hint: One way to style gsp's that you intend to make into pdf's is to have two seperate style sheets one for media="print" and one for media="screen". The print style sheet will be used to style the PDF, and if PDF generation fails you will get a styled HTML view that isn't all weird because of fonts sized in pt and such.

+ +

Varialbles passed into gsp that the plugin will render as PDF need to start with pdf. so for example the form field name was hometown and to reference that varialbe here we needed {pdf.hometown}

+ + ${content} + + + diff --git a/grails-app/views/pdf/sampleInclude.gsp b/grails-app/views/pdf/sampleInclude.gsp new file mode 100644 index 00000000..2938d1c8 --- /dev/null +++ b/grails-app/views/pdf/sampleInclude.gsp @@ -0,0 +1,10 @@ + + + + +

hello world!

+

${bar}

+

${today}

+

${tomorrow}

+ + diff --git a/grails-app/views/tese/_form.gsp b/grails-app/views/tese/_form.gsp index 1fa5c1cb..c498603c 100644 --- a/grails-app/views/tese/_form.gsp +++ b/grails-app/views/tese/_form.gsp @@ -33,7 +33,7 @@ - +
@@ -44,6 +44,13 @@
+
+ + +
+
+
+ + +
+
- - + +
diff --git a/grails-app/views/tese/list.gsp b/grails-app/views/tese/list.gsp index 0d517108..3d606483 100644 --- a/grails-app/views/tese/list.gsp +++ b/grails-app/views/tese/list.gsp @@ -37,9 +37,13 @@ + + <%-- g:sortableColumn property="bibTex" title="${message(code: 'tese.bibTex.label', default: 'Bib Tex')}" / --%> + + @@ -56,9 +60,13 @@ ${fieldValue(bean: teseInstance, field: "researchLine")} + ${fieldValue(bean: teseInstance, field: "author")} + <%-- td>${fieldValue(bean: teseInstance, field: "bibTex")} ${fieldValue(bean: teseInstance, field: "school")} + + ${fieldValue(bean: teseInstance, field: "author")} diff --git a/grails-app/views/tese/show.gsp b/grails-app/views/tese/show.gsp index 1dcaf9cc..c803aa74 100644 --- a/grails-app/views/tese/show.gsp +++ b/grails-app/views/tese/show.gsp @@ -58,6 +58,15 @@ + + +
  • + + + ${teseInstance?.author?.encodeAsHTML()} + +
  • +
  • @@ -73,6 +82,15 @@
  • + + +
  • + + + + +
  • +
  • diff --git a/out/production/rgms-grailsPlugins/jasper.properties b/out/production/rgms-grailsPlugins/jasper.properties new file mode 100644 index 00000000..5d9ba4fe --- /dev/null +++ b/out/production/rgms-grailsPlugins/jasper.properties @@ -0,0 +1,4 @@ +jasper.controller.invalidFormat = Invalid format: {0} + +jasper.taglib.missingAttribute = Missing required attribute: {0}. All of the following attributes are required: {1}. +jasper.taglib.invalidFormatAttribute = Value {0} is an invalid format attribute. Only {1} are permitted. diff --git a/out/production/rgms-grailsPlugins/messages.properties b/out/production/rgms-grailsPlugins/messages.properties new file mode 100644 index 00000000..e69de29b diff --git a/out/production/rgms-grailsPlugins/messages_fr.properties b/out/production/rgms-grailsPlugins/messages_fr.properties new file mode 100644 index 00000000..47bb6c80 --- /dev/null +++ b/out/production/rgms-grailsPlugins/messages_fr.properties @@ -0,0 +1 @@ +translate=Traduis ceci: {0} \ No newline at end of file diff --git a/out/production/rgms-grailsPlugins/shiro.properties b/out/production/rgms-grailsPlugins/shiro.properties new file mode 100644 index 00000000..a12ea30d --- /dev/null +++ b/out/production/rgms-grailsPlugins/shiro.properties @@ -0,0 +1 @@ +login.failed = Invalid username and/or password diff --git a/out/production/rgms/messages.properties b/out/production/rgms/messages.properties new file mode 100644 index 00000000..7a4eb8a4 --- /dev/null +++ b/out/production/rgms/messages.properties @@ -0,0 +1,232 @@ +default.doesnt.match.message=Property [{0}] of class [{1}] with value [{2}] does not match the required pattern [{3}] +default.invalid.url.message=Property [{0}] of class [{1}] with value [{2}] is not a valid URL +default.invalid.creditCard.message=Property [{0}] of class [{1}] with value [{2}] is not a valid credit card number +default.invalid.email.message=Property [{0}] of class [{1}] with value [{2}] is not a valid e-mail address +default.invalid.range.message=Property [{0}] of class [{1}] with value [{2}] does not fall within the valid range from [{3}] to [{4}] +default.invalid.size.message=Property [{0}] of class [{1}] with value [{2}] does not fall within the valid size range from [{3}] to [{4}] +default.invalid.max.message=Property [{0}] of class [{1}] with value [{2}] exceeds maximum value [{3}] +default.invalid.min.message=Property [{0}] of class [{1}] with value [{2}] is less than minimum value [{3}] +default.invalid.max.size.message=Property [{0}] of class [{1}] with value [{2}] exceeds the maximum size of [{3}] +default.invalid.min.size.message=Property [{0}] of class [{1}] with value [{2}] is less than the minimum size of [{3}] +default.invalid.validator.message=Property [{0}] of class [{1}] with value [{2}] does not pass custom validation +default.not.inlist.message=Property [{0}] of class [{1}] with value [{2}] is not contained within the list [{3}] +default.blank.message=Property [{0}] of class [{1}] cannot be blank +default.not.equal.message=Property [{0}] of class [{1}] with value [{2}] cannot equal [{3}] +default.null.message=Property [{0}] of class [{1}] cannot be null +default.not.unique.message=Property [{0}] of class [{1}] with value [{2}] must be unique + +default.paginate.prev=Previous +default.paginate.next=Next +default.boolean.true=True +default.boolean.false=False +default.date.format=yyyy-MM-dd HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} created +default.updated.message={0} {1} updated +default.deleted.message={0} {1} deleted +default.not.deleted.message={0} {1} could not be deleted +default.not.found.message={0} not found with id {1} +default.optimistic.locking.failure=Another user has updated this {0} while you were editing + +default.home.label=Home +default.list.label={0} List +default.add.label=Add {0} +default.new.label=New {0} +default.create.label=Create {0} +default.show.label=Show {0} +default.edit.label=Edit {0} + +default.button.create.label=Create +default.button.edit.label=Edit +default.button.update.label=Update +default.button.delete.label=Delete +default.button.list.label = List +default.button.delete.confirm.message=Are you sure? + + +typeMismatch.java.net.URL=Property {0} must be a valid URL +typeMismatch.java.net.URI=Property {0} must be a valid URI +typeMismatch.java.util.Date=Property {0} must be a valid Date +typeMismatch.java.lang.Double=Property {0} must be a valid number +typeMismatch.java.lang.Integer=Property {0} must be a valid number +typeMismatch.java.lang.Long=Property {0} must be a valid number +typeMismatch.java.lang.Short=Property {0} must be a valid number +typeMismatch.java.math.BigDecimal=Property {0} must be a valid number +typeMismatch.java.math.BigInteger=Property {0} must be a valid number + + +#if($inter) +default.member.label=Members +default.publication.label=Publications +default.MSGIni.label=Choose a option on the menu +default.periodico.label=Journal +default.conferencia.label=Conference +default.ferramenta.label=Tool +default.dissertacao.label=Dissertation +default.tese.label=Thesis +default.book.label=Book +default.bookchapter.label=Book Chapter +default.technicalReport.label=Technical Report +default.msgBusca.label=List, search, edit and remove publications +default.title.label=Title +default.author.label=Author +default.year.label=Year +default.search.label=Search +default.advancedSearch.label=Advanced Search +default.user.label=Users + +user.login.title=Login +user.register.title=RGMS +mainMenu.title=RGMS + + +conferencia.title.label=Title +conferencia.author.label=Author +conferencia.conference.label=Conference +conferencia.year.label=Year +conferencia.pageinitial.label=Initial Page +conferencia.pageInitial.label=Initial Page +conferencia.pageFinal.label=Final Page +conferencia.month.label=Month +conferencia.arquivo.label=File +conferencia.label=Conference +conferencia.addAutor.label='Add Author' +conferencia.members.label=Author Members + + +#if($maisresul) +dissertacao.members.label=Author Members +dissertacao.title.label=Title +dissertacao.school.label=School +dissertacao.year.label=Year +dissertacao.month.label=Month +dissertacao.arquivo.label=File +dissertacao.author.label=Author +dissertacao.label=Dissertation +dissertacao.duplicatetitle.failure = Dissertation not stored because there is another one with the same title +dissertacao.filesaving.failure = Dissertation not stored due to file saving issue +dissertacao.saving.failure = Dissertation not stored due to saving issue +#end + +book.importedMsg.message = The non existent Books were successfully imported + +ferramenta.members.label=Author Members +ferramenta.author.label=Author +ferramenta.addAauthor.label='Add Author' +ferramenta.descricao.label=Description +ferramenta.link.label=Link +ferramenta.publicacaoAssociada.label=Associated Publication +ferramenta.title.label=Title +ferramenta.year.label=Year +ferramenta.edit.conflict=Another user has updated this Ferramenta while you were editing + +researchGroup.label = Research Group +researchGroup.hasCycle=There is a cycle associated with this research group + +#if($Article) +periodico.title.label=Title +periodico.members.label=Author Members +periodico.addAauthor.label='Add Author' +periodico.author.label=Author +periodico.journal.label=Journal +periodico.number.label=Number +periodico.pageInitial.label=Initial Page +periodico.pageFinal.label=Final Page +periodico.volume.label=Volume +periodico.year.label=Year +periodico.arquivo.label=File +periodico.label=Journal +periodico.duplicatetitle.failure = Article not stored because there is another one with the same title +periodico.filesaving.failure = Article not stored due to file saving issue +periodico.saving.failure = Article not stored due to saving issue +#end + + +technicalReport.title.label = Title +technicalReport.publicationDate.label = Publication Date +technicalReport.file.label = File +technicalReport.researchLine.label = Research Line +technicalReport.institution.label = Institution +technicalReport.members.label = Members +technicalReport.filesaving.failure = Report not stored due to file saving issue +technicalReport.saving.failure = Report not stored due to saving issue +technicalReport.label=Technical Report + +#if($maisresul) +tese.author.label=Author +tese.title.label=Title +tese.school.label=School +tese.year.label=Year +tese.month.label=Month +tese.arquivo.label=File +tese.label=Thesis +tese.duplicatetitle.failure = Thesis not stored because there is another one with the same title +#end +#end + +orientation.same.members=Um membro nao pode orientar a si mesmo +default.xml.parserror.message=No file uploaded or it wasn't a valid XML +default.xml.structure.message=The XML struct doesn't comply with Lattes +default.xml.unknownerror.message=An unknown error occurred. Contact the administrator +xml.label=XMLImport + +file.already.exist.message=A file has already been saved with the same name + +default.report.label={0}s Report +default.citations.label=Citations + +#if($news) +news.not.created.unicity.rule.message=The system has a news with this description and date. +default.button.update.twitter.label=Update News from Twitter +news.label=News +#end + +#if($visit) +default.visit.label=Visit +visit.label=Visit +#end + +mail.plugin.not.configured=Mail plugin not configured + +#mail +mail.title.reset=[GRMS] Reset your password +mail.body.reset=Hello {0},\n\nYou have requested resetting your password. Please ignore this message if it's not you who have made the request.\n\nIn order to reset your password, please follow this link :\n\n {1}\n\nBest Regards +mail.title.authenticate=[GRMS] You received a request to authenticate an account. +mail.body.authenticate=Hello Administrator,\n\nYou received a request to authenticate an account.\n\nWho requested was {0}. His/Her email address is {1}\n\n${2}\n\nBest Regards,\nResearch Group Management System +mail.title.create.account=[GRMS] Your account was successfully created! +mail.body.create.account=Hello {0},\n\nYour account was successfully created!\n\nHere is your username: {1} and password: {2}\n\n{3}\n\nBest Regards,\nAdministrator of the Research Group Management System +mail.title.membership.join=[RGMS] New member in {0}! +mail.body.membership.join={0} joined {1} today. Please welcome him at: {2} +mail.title.researchgroup.child=Research Group change hierarchy +mail.body.researchgroup.child=Hello {0},\n\nThe Research Group is now child of the Research Group {1} + +#if($member) +member.label=Member +member.start.label=Start +member.end.label=End +member.status_H.label=Status H +member.email.unique=Email already registered, you can not create another user with the same email. +#end + +#if($record) +default.record.label=Record +record.label=Record +record.start.label=Start +record.end.label=End +record.status_H.label=Status H +#end + +#if($orientation) +orientation.tituloTese.unique = Orientation title already registered, you can not create another Orientation with the same title. +#end + +#if($researchProject) +default.researchProject.label = "ResearchProject" +researchProject.label = ResearchProject +default.researchproject.import.flashmessage.success = "The non existent Research Project were successfully imported" +#end + +#if($researchLine) +default.researchline.import.flashmessage.success = "The non existent Research Line were successfully imported" +#end diff --git a/out/production/rgms/messagesResearchLine.properties b/out/production/rgms/messagesResearchLine.properties new file mode 100644 index 00000000..64e5238d --- /dev/null +++ b/out/production/rgms/messagesResearchLine.properties @@ -0,0 +1,10 @@ + default.joinedmessage.message = The following members joined the research line + default.leftmessage.message = The following member left the research line + default.notmember.message = You are not a member of the Research Line + default.anymore.message = anymore + default.newmember.message = You are now a member of the Research Line + default.change.message = Report of change of members in Research Line + default.bestregard.message = Best Regards, Admin + default.warningwhileedting.message = Another user has updated this ResearchLine while you were editing + default.hello.message = Hello {0} \n\nYou are not participating of the research line + default.hello2.message = Hello {0},\n\nYou are now participating of the research line diff --git a/out/production/rgms/messagesTwitter.properties b/out/production/rgms/messagesTwitter.properties new file mode 100644 index 00000000..124e5512 --- /dev/null +++ b/out/production/rgms/messagesTwitter.properties @@ -0,0 +1,5 @@ + default.controller.message = "TwitterController=" + default.controller2.message = "TwitterController=" + default.sucess.message = "Successful call to fooAction" + default.consumerkey.message = "ZHgJv54dR7ZkYuKLvBeFJA" + defautl.consumersecret.message = "9Qj0OVOSEbkVOdCl4X1XUnoHSA46lQuAF3zCd7Gdk" \ No newline at end of file diff --git a/out/production/rgms/messages_cs_CZ.properties b/out/production/rgms/messages_cs_CZ.properties new file mode 100644 index 00000000..c617dca0 --- /dev/null +++ b/out/production/rgms/messages_cs_CZ.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] neodpovídá požadovanému vzoru [{3}] +default.invalid.url.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] není validní URL +default.invalid.creditCard.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] není validní číslo kreditní karty +default.invalid.email.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] není validní emailová adresa +default.invalid.range.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] není v povoleném rozmezí od [{3}] do [{4}] +default.invalid.size.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] není v povoleném rozmezí od [{3}] do [{4}] +default.invalid.max.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] překračuje maximální povolenou hodnotu [{3}] +default.invalid.min.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] je menší než minimální povolená hodnota [{3}] +default.invalid.max.size.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] překračuje maximální velikost [{3}] +default.invalid.min.size.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] je menší než minimální velikost [{3}] +default.invalid.validator.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] neprošla validací +default.not.inlist.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] není obsažena v seznamu [{3}] +default.blank.message=Položka [{0}] třídy [{1}] nemůže být prázdná +default.not.equal.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] nemůže být stejná jako [{3}] +default.null.message=Položka [{0}] třídy [{1}] nemůže být prázdná +default.not.unique.message=Položka [{0}] třídy [{1}] o hodnotě [{2}] musí být unikátní + +default.paginate.prev=Předcházející +default.paginate.next=Následující +default.boolean.true=Pravda +default.boolean.false=Nepravda +default.date.format=dd. MM. yyyy HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} vytvořeno +default.updated.message={0} {1} aktualizováno +default.deleted.message={0} {1} smazáno +default.not.deleted.message={0} {1} nelze smazat +default.not.found.message={0} nenalezen s id {1} +default.optimistic.locking.failure=Jiný uživatel aktualizoval záznam {0}, právě když byl vámi editován + +default.home.label=Domů +default.list.label={0} Seznam +default.add.label=Přidat {0} +default.new.label=Nový {0} +default.create.label=Vytvořit {0} +default.show.label=Ukázat {0} +default.edit.label=Editovat {0} + +default.button.create.label=Vytvoř +default.button.edit.label=Edituj +default.button.update.label=Aktualizuj +default.button.delete.label=Smaž +default.button.delete.confirm.message=Jste si jistý? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=Položka {0} musí být validní URL +typeMismatch.java.net.URI=Položka {0} musí být validní URI +typeMismatch.java.util.Date=Položka {0} musí být validní datum +typeMismatch.java.lang.Double=Položka {0} musí být validní desetinné číslo +typeMismatch.java.lang.Integer=Položka {0} musí být validní číslo +typeMismatch.java.lang.Long=Položka {0} musí být validní číslo +typeMismatch.java.lang.Short=Položka {0} musí být validní číslo +typeMismatch.java.math.BigDecimal=Položka {0} musí být validní číslo +typeMismatch.java.math.BigInteger=Položka {0} musí být validní číslo \ No newline at end of file diff --git a/out/production/rgms/messages_da.properties b/out/production/rgms/messages_da.properties new file mode 100644 index 00000000..6177971c --- /dev/null +++ b/out/production/rgms/messages_da.properties @@ -0,0 +1,56 @@ +default.doesnt.match.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] overholder ikke mønsteret [{3}] +default.invalid.url.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] er ikke en gyldig URL +default.invalid.creditCard.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] er ikke et gyldigt kreditkortnummer +default.invalid.email.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] er ikke en gyldig e-mail adresse +default.invalid.range.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] ligger ikke inden for intervallet fra [{3}] til [{4}] +default.invalid.size.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] ligger ikke inden for størrelsen fra [{3}] til [{4}] +default.invalid.max.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] overstiger den maksimale værdi [{3}] +default.invalid.min.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] er under den minimale værdi [{3}] +default.invalid.max.size.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] overstiger den maksimale størrelse på [{3}] +default.invalid.min.size.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] er under den minimale størrelse på [{3}] +default.invalid.validator.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] overholder ikke den brugerdefinerede validering +default.not.inlist.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] findes ikke i listen [{3}] +default.blank.message=Feltet [{0}] i klassen [{1}] kan ikke være tom +default.not.equal.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] må ikke være [{3}] +default.null.message=Feltet [{0}] i klassen [{1}] kan ikke være null +default.not.unique.message=Feltet [{0}] i klassen [{1}] som har værdien [{2}] skal være unik + +default.paginate.prev=Forrige +default.paginate.next=Næste +default.boolean.true=Sand +default.boolean.false=Falsk +default.date.format=yyyy-MM-dd HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} oprettet +default.updated.message={0} {1} opdateret +default.deleted.message={0} {1} slettet +default.not.deleted.message={0} {1} kunne ikke slettes +default.not.found.message={0} med id {1} er ikke fundet +default.optimistic.locking.failure=En anden bruger har opdateret denne {0} imens du har lavet rettelser + +default.home.label=Hjem +default.list.label={0} Liste +default.add.label=Tilføj {0} +default.new.label=Ny {0} +default.create.label=Opret {0} +default.show.label=Vis {0} +default.edit.label=Ret {0} + +default.button.create.label=Opret +default.button.edit.label=Ret +default.button.update.label=Opdater +default.button.delete.label=Slet +default.button.delete.confirm.message=Er du sikker? + +# Databindingsfejl. Brug "typeMismatch.$className.$propertyName for at passe til en given klasse (f.eks typeMismatch.Book.author) +typeMismatch.java.net.URL=Feltet {0} skal være en valid URL +typeMismatch.java.net.URI=Feltet {0} skal være en valid URI +typeMismatch.java.util.Date=Feltet {0} skal være en valid Dato +typeMismatch.java.lang.Double=Feltet {0} skal være et valid tal +typeMismatch.java.lang.Integer=Feltet {0} skal være et valid tal +typeMismatch.java.lang.Long=Feltet {0} skal være et valid tal +typeMismatch.java.lang.Short=Feltet {0} skal være et valid tal +typeMismatch.java.math.BigDecimal=Feltet {0} skal være et valid tal +typeMismatch.java.math.BigInteger=Feltet {0} skal være et valid tal + diff --git a/out/production/rgms/messages_de.properties b/out/production/rgms/messages_de.properties new file mode 100644 index 00000000..a9423588 --- /dev/null +++ b/out/production/rgms/messages_de.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] entspricht nicht dem vorgegebenen Muster [{3}] +default.invalid.url.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist keine gültige URL +default.invalid.creditCard.message=Das Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist keine gültige Kreditkartennummer +default.invalid.email.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist keine gültige E-Mail Adresse +default.invalid.range.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist nicht im Wertebereich von [{3}] bis [{4}] +default.invalid.size.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist nicht im Wertebereich von [{3}] bis [{4}] +default.invalid.max.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist größer als der Höchstwert von [{3}] +default.invalid.min.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist kleiner als der Mindestwert von [{3}] +default.invalid.max.size.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] übersteigt den Höchstwert von [{3}] +default.invalid.min.size.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] unterschreitet den Mindestwert von [{3}] +default.invalid.validator.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist ungültig +default.not.inlist.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] ist nicht in der Liste [{3}] enthalten. +default.blank.message=Die Eigenschaft [{0}] des Typs [{1}] darf nicht leer sein +default.not.equal.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] darf nicht gleich [{3}] sein +default.null.message=Die Eigenschaft [{0}] des Typs [{1}] darf nicht null sein +default.not.unique.message=Die Eigenschaft [{0}] des Typs [{1}] mit dem Wert [{2}] darf nur einmal vorkommen + +default.paginate.prev=Vorherige +default.paginate.next=Nächste +default.boolean.true=Wahr +default.boolean.false=Falsch +default.date.format=dd.MM.yyyy HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} wurde angelegt +default.updated.message={0} {1} wurde geändert +default.deleted.message={0} {1} wurde gelöscht +default.not.deleted.message={0} {1} konnte nicht gelöscht werden +default.not.found.message={0} mit der id {1} wurde nicht gefunden +default.optimistic.locking.failure=Ein anderer Benutzer hat das {0} Object geändert während Sie es bearbeitet haben + +default.home.label=Home +default.list.label={0} Liste +default.add.label={0} hinzufügen +default.new.label={0} anlegen +default.create.label={0} anlegen +default.show.label={0} anzeigen +default.edit.label={0} bearbeiten + +default.button.create.label=Anlegen +default.button.edit.label=Bearbeiten +default.button.update.label=Aktualisieren +default.button.delete.label=Löschen +default.button.delete.confirm.message=Sind Sie sicher? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=Die Eigenschaft {0} muss eine gültige URL sein +typeMismatch.java.net.URI=Die Eigenschaft {0} muss eine gültige URI sein +typeMismatch.java.util.Date=Die Eigenschaft {0} muss ein gültiges Datum sein +typeMismatch.java.lang.Double=Die Eigenschaft {0} muss eine gültige Zahl sein +typeMismatch.java.lang.Integer=Die Eigenschaft {0} muss eine gültige Zahl sein +typeMismatch.java.lang.Long=Die Eigenschaft {0} muss eine gültige Zahl sein +typeMismatch.java.lang.Short=Die Eigenschaft {0} muss eine gültige Zahl sein +typeMismatch.java.math.BigDecimal=Die Eigenschaft {0} muss eine gültige Zahl sein +typeMismatch.java.math.BigInteger=Die Eigenschaft {0} muss eine gültige Zahl sein \ No newline at end of file diff --git a/out/production/rgms/messages_es.properties b/out/production/rgms/messages_es.properties new file mode 100644 index 00000000..5c406e2a --- /dev/null +++ b/out/production/rgms/messages_es.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no corresponde al patrón [{3}] +default.invalid.url.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no es una URL válida +default.invalid.creditCard.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no es un número de tarjeta de crédito válida +default.invalid.email.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no es una dirección de correo electrónico válida +default.invalid.range.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no entra en el rango válido de [{3}] a [{4}] +default.invalid.size.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no entra en el tamaño válido de [{3}] a [{4}] +default.invalid.max.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] excede el valor máximo [{3}] +default.invalid.min.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] es menos que el valor mínimo [{3}] +default.invalid.max.size.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] excede el tamaño máximo de [{3}] +default.invalid.min.size.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] es menor que el tamaño mínimo de [{3}] +default.invalid.validator.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no es válido +default.not.inlist.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no esta contenido dentro de la lista [{3}] +default.blank.message=La propiedad [{0}] de la clase [{1}] no puede ser vacía +default.not.equal.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] no puede igualar a [{3}] +default.null.message=La propiedad [{0}] de la clase [{1}] no puede ser nulo +default.not.unique.message=La propiedad [{0}] de la clase [{1}] con valor [{2}] debe ser única + +default.paginate.prev=Anterior +default.paginate.next=Siguiente +default.boolean.true=Verdadero +default.boolean.false=Falso +default.date.format=yyyy-MM-dd HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} creado +default.updated.message={0} {1} actualizado +default.deleted.message={0} {1} eliminado +default.not.deleted.message={0} {1} no puede eliminarse +default.not.found.message=No se encuentra {0} con id {1} +default.optimistic.locking.failure=Mientras usted editaba, otro usuario ha actualizado su {0} + +default.home.label=Principal +default.list.label={0} Lista +default.add.label=Agregar {0} +default.new.label=Nuevo {0} +default.create.label=Crear {0} +default.show.label=Mostar {0} +default.edit.label=Editar {0} + +default.button.create.label=Crear +default.button.edit.label=Editar +default.button.update.label=Actualizar +default.button.delete.label=Eliminar +default.button.delete.confirm.message=¿Está usted seguro? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=La propiedad {0} debe ser una URL válida +typeMismatch.java.net.URI=La propiedad {0} debe ser una URI válida +typeMismatch.java.util.Date=La propiedad {0} debe ser una fecha válida +typeMismatch.java.lang.Double=La propiedad {0} debe ser un número válido +typeMismatch.java.lang.Integer=La propiedad {0} debe ser un número válido +typeMismatch.java.lang.Long=La propiedad {0} debe ser un número válido +typeMismatch.java.lang.Short=La propiedad {0} debe ser un número válido +typeMismatch.java.math.BigDecimal=La propiedad {0} debe ser un número válido +typeMismatch.java.math.BigInteger=La propiedad {0} debe ser un número válido \ No newline at end of file diff --git a/out/production/rgms/messages_fr.properties b/out/production/rgms/messages_fr.properties new file mode 100644 index 00000000..b1d665c3 --- /dev/null +++ b/out/production/rgms/messages_fr.properties @@ -0,0 +1,19 @@ +default.doesnt.match.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] ne correspond pas au pattern [{3}] +default.invalid.url.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas une URL valide +default.invalid.creditCard.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas un numéro de carte de crédit valide +default.invalid.email.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas une adresse e-mail valide +default.invalid.range.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas contenue dans l'intervalle [{3}] à [{4}] +default.invalid.size.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas contenue dans l'intervalle [{3}] à [{4}] +default.invalid.max.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] est supérieure à la valeur maximum [{3}] +default.invalid.min.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] est inférieure à la valeur minimum [{3}] +default.invalid.max.size.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] est supérieure à la valeur maximum [{3}] +default.invalid.min.size.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] est inférieure à la valeur minimum [{3}] +default.invalid.validator.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] n'est pas valide +default.not.inlist.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] ne fait pas partie de la liste [{3}] +default.blank.message=La propriété [{0}] de la classe [{1}] ne peut pas être vide +default.not.equal.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] ne peut pas être égale à [{3}] +default.null.message=La propriété [{0}] de la classe [{1}] ne peut pas être nulle +default.not.unique.message=La propriété [{0}] de la classe [{1}] avec la valeur [{2}] doit être unique + +default.paginate.prev=Précédent +default.paginate.next=Suivant diff --git a/out/production/rgms/messages_it.properties b/out/production/rgms/messages_it.properties new file mode 100644 index 00000000..ea83b92d --- /dev/null +++ b/out/production/rgms/messages_it.properties @@ -0,0 +1,19 @@ +default.doesnt.match.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non corrisponde al pattern [{3}] +default.invalid.url.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non è un URL valido +default.invalid.creditCard.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non è un numero di carta di credito valido +default.invalid.email.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non è un indirizzo email valido +default.invalid.range.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non rientra nell'intervallo valido da [{3}] a [{4}] +default.invalid.size.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non rientra nell'intervallo di dimensioni valide da [{3}] a [{4}] +default.invalid.max.message=La proprietà [{0}] della classe [{1}] con valore [{2}] è maggiore di [{3}] +default.invalid.min.message=La proprietà [{0}] della classe [{1}] con valore [{2}] è minore di [{3}] +default.invalid.max.size.message=La proprietà [{0}] della classe [{1}] con valore [{2}] è maggiore di [{3}] +default.invalid.min.size.message=La proprietà [{0}] della classe [{1}] con valore [{2}] è minore di [{3}] +default.invalid.validator.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non è valida +default.not.inlist.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non è contenuta nella lista [{3}] +default.blank.message=La proprietà [{0}] della classe [{1}] non può essere vuota +default.not.equal.message=La proprietà [{0}] della classe [{1}] con valore [{2}] non può essere uguale a [{3}] +default.null.message=La proprietà [{0}] della classe [{1}] non può essere null +default.not.unique.message=La proprietà [{0}] della classe [{1}] con valore [{2}] deve essere unica + +default.paginate.prev=Precedente +default.paginate.next=Successivo \ No newline at end of file diff --git a/out/production/rgms/messages_ja.properties b/out/production/rgms/messages_ja.properties new file mode 100644 index 00000000..b5e4d18a --- /dev/null +++ b/out/production/rgms/messages_ja.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、[{3}]パターンと一致していません。 +default.invalid.url.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、有効なURLではありません。 +default.invalid.creditCard.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、有効なクレジットカード番号ではありません。 +default.invalid.email.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、有効なメールアドレスではありません。 +default.invalid.range.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、[{3}]から[{4}]範囲内を指定してください。 +default.invalid.size.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、[{3}]から[{4}]以内を指定してください。 +default.invalid.max.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、最大値[{3}]より大きいです。 +default.invalid.min.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、最小値[{3}]より小さいです。 +default.invalid.max.size.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、最大値[{3}]より大きいです。 +default.invalid.min.size.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、最小値[{3}]より小さいです。 +default.invalid.validator.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、カスタムバリデーションを通過できません。 +default.not.inlist.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、[{3}]リスト内に存在しません。 +default.blank.message=[{1}]クラスのプロパティ[{0}]の空白は許可されません。 +default.not.equal.message=クラス[{1}]プロパティ[{0}]の値[{2}]は、[{3}]と同等ではありません。 +default.null.message=[{1}]クラスのプロパティ[{0}]にnullは許可されません。 +default.not.unique.message=クラス[{1}]プロパティ[{0}]の値[{2}]は既に使用されています。 + +default.paginate.prev=戻る +default.paginate.next=次へ +default.boolean.true=はい +default.boolean.false=いいえ +default.date.format=yyyy/MM/dd HH:mm:ss z +default.number.format=0 + +default.created.message={0}(id:{1})を作成しました。 +default.updated.message={0}(id:{1})を更新しました。 +default.deleted.message={0}(id:{1})を削除しました。 +default.not.deleted.message={0}(id:{1})は削除できませんでした。 +default.not.found.message={0}(id:{1})は見つかりませんでした。 +default.optimistic.locking.failure=この{0}は編集中に他のユーザによって先に更新されています。 + +default.home.label=ホーム +default.list.label={0}リスト +default.add.label={0}を追加 +default.new.label={0}を新規作成 +default.create.label={0}を作成 +default.show.label={0}詳細 +default.edit.label={0}を編集 + +default.button.create.label=作成 +default.button.edit.label=編集 +default.button.update.label=更新 +default.button.delete.label=削除 +default.button.delete.confirm.message=本当に削除してよろしいですか? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL={0}は有効なURLでなければなりません。 +typeMismatch.java.net.URI={0}は有効なURIでなければなりません。 +typeMismatch.java.util.Date={0}は有効な日付でなければなりません。 +typeMismatch.java.lang.Double={0}は有効な数値でなければなりません。 +typeMismatch.java.lang.Integer={0}は有効な数値でなければなりません。 +typeMismatch.java.lang.Long={0}は有効な数値でなければなりません。 +typeMismatch.java.lang.Short={0}は有効な数値でなければなりません。 +typeMismatch.java.math.BigDecimal={0}は有効な数値でなければなりません。 +typeMismatch.java.math.BigInteger={0}は有効な数値でなければなりません。 diff --git a/out/production/rgms/messages_nl.properties b/out/production/rgms/messages_nl.properties new file mode 100644 index 00000000..3024430b --- /dev/null +++ b/out/production/rgms/messages_nl.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] komt niet overeen met het vereiste patroon [{3}] +default.invalid.url.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] is geen geldige URL +default.invalid.creditCard.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] is geen geldig credit card nummer +default.invalid.email.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] is geen geldig e-mailadres +default.invalid.range.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] valt niet in de geldige waardenreeks van [{3}] tot [{4}] +default.invalid.size.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] valt niet in de geldige grootte van [{3}] tot [{4}] +default.invalid.max.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] overschrijdt de maximumwaarde [{3}] +default.invalid.min.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] is minder dan de minimumwaarde [{3}] +default.invalid.max.size.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] overschrijdt de maximumgrootte van [{3}] +default.invalid.min.size.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] is minder dan minimumgrootte van [{3}] +default.invalid.validator.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] is niet geldig +default.not.inlist.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] komt niet voor in de lijst [{3}] +default.blank.message=Attribuut [{0}] van entiteit [{1}] mag niet leeg zijn +default.not.equal.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] mag niet gelijk zijn aan [{3}] +default.null.message=Attribuut [{0}] van entiteit [{1}] mag niet leeg zijn +default.not.unique.message=Attribuut [{0}] van entiteit [{1}] met waarde [{2}] moet uniek zijn + +default.paginate.prev=Vorige +default.paginate.next=Volgende +default.boolean.true=Ja +default.boolean.false=Nee +default.date.format=dd-MM-yyyy HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} ingevoerd +default.updated.message={0} {1} gewijzigd +default.deleted.message={0} {1} verwijderd +default.not.deleted.message={0} {1} kon niet worden verwijderd +default.not.found.message={0} met id {1} kon niet worden gevonden +default.optimistic.locking.failure=Een andere gebruiker heeft deze {0} al gewijzigd + +default.home.label=Home +default.list.label={0} Overzicht +default.add.label=Toevoegen {0} +default.new.label=Invoeren {0} +default.create.label=Invoeren {0} +default.show.label=Details {0} +default.edit.label=Wijzigen {0} + +default.button.create.label=Invoeren +default.button.edit.label=Wijzigen +default.button.update.label=Opslaan +default.button.delete.label=Verwijderen +default.button.delete.confirm.message=Weet je het zeker? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=Attribuut {0} is geen geldige URL +typeMismatch.java.net.URI=Attribuut {0} is geen geldige URI +typeMismatch.java.util.Date=Attribuut {0} is geen geldige datum +typeMismatch.java.lang.Double=Attribuut {0} is geen geldig nummer +typeMismatch.java.lang.Integer=Attribuut {0} is geen geldig nummer +typeMismatch.java.lang.Long=Attribuut {0} is geen geldig nummer +typeMismatch.java.lang.Short=Attribuut {0} is geen geldig nummer +typeMismatch.java.math.BigDecimal=Attribuut {0} is geen geldig nummer +typeMismatch.java.math.BigInteger=Attribuut {0} is geen geldig nummer diff --git a/out/production/rgms/messages_pt_BR.properties b/out/production/rgms/messages_pt_BR.properties new file mode 100644 index 00000000..6d3cc59d --- /dev/null +++ b/out/production/rgms/messages_pt_BR.properties @@ -0,0 +1,226 @@ + +default.doesnt.match.message=O campo [{0}] da classe [{1}] com o valor [{2}] não atende ao padrão definido [{3}] +default.invalid.url.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é uma URL válida +default.invalid.creditCard.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é um número válido de cartão de crédito +default.invalid.email.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é um endereço de email válido. +default.invalid.range.message=O campo [{0}] da classe [{1}] com o valor [{2}] não está entre a faixa de valores válida de [{3}] até [{4}] +default.invalid.size.message=O campo [{0}] da classe [{1}] com o valor [{2}] não está na faixa de tamanho válida de [{3}] até [{4}] +default.invalid.max.message=O campo [{0}] da classe [{1}] com o valor [{2}] ultrapass o valor máximo [{3}] +default.invalid.min.message=O campo [{0}] da classe [{1}] com o valor [{2}] não atinge o valor mínimo [{3}] +default.invalid.max.size.message=O campo [{0}] da classe [{1}] com o valor [{2}] ultrapassa o tamanho máximo de [{3}] +default.invalid.min.size.message=O campo [{0}] da classe [{1}] com o valor [{2}] não atinge o tamanho mínimo de [{3}] +default.invalid.validator.message=O campo [{0}] da classe [{1}] com o valor [{2}] não passou na validação +default.not.inlist.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é um valor dentre os permitidos na lista [{3}] +default.blank.message=O campo [{0}] da classe [{1}] não pode ficar em branco +default.not.equal.message=O campo [{0}] da classe [{1}] com o valor [{2}] não pode ser igual a [{3}] +default.null.message=O campo [{0}] da classe [{1}] não pode ser vazia +default.not.unique.message=O campo [{0}] da classe [{1}] com o valor [{2}] deve ser único + +default.paginate.prev=Anterior +default.paginate.next=Próximo +default.boolean.true=Sim +default.boolean.false=Não +default.date.format=dd/MM/yyyy HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} criado +default.updated.message={0} {1} atualizado +default.deleted.message={0} {1} removido +default.not.deleted.message={0} {1} não pode ser removido +default.not.found.message={0} não foi encontrado com id {1} +default.optimistic.locking.failure=Outro usuário atualizou este [{0}] enquanto você tentou salvá-lo + +default.home.label=Principal +default.list.label={0} Listagem +default.add.label=Adicionar {0} +default.new.label=Novo {0} +default.create.label=Criar {0} +default.show.label=Ver {0} +default.edit.label=Editar {0} + +default.button.create.label=Criar +default.button.edit.label=Editar +default.button.update.label=Alterar +default.button.delete.label=Remover +default.button.list.label=Listagem +default.button.delete.confirm.message=Tem certeza? + + +typeMismatch.java.net.URL=O campo {0} deve ser uma URL válida. +typeMismatch.java.net.URI=O campo {0} deve ser uma URI válida. +typeMismatch.java.util.Date=O campo {0} deve ser uma data válida +typeMismatch.java.lang.Double=O campo {0} deve ser um número válido. +typeMismatch.java.lang.Integer=O campo {0} deve ser um número válido. +typeMismatch.java.lang.Long=O campo {0} deve ser um número válido. +typeMismatch.java.lang.Short=O campo {0} deve ser um número válido. +typeMismatch.java.math.BigDecimal=O campo {0} deve ser um número válido. +typeMismatch.java.math.BigInteger=O campo {0} deve ser um número válido. + + + +#if($inter) +default.member.label=Membros +default.publication.label=Publicações +default.MSGIni.label=Escolha uma opção do menu acima +default.periodico.label=Periodico +default.conferencia.label=Conferencia +default.ferramenta.label=Ferramenta +#if($maisresul) +default.dissertacao.label=Dissertacao +default.tese.label=Tese +#end +default.bookchapter.label=Capítulo de livro +default.technicalReport.label=Relatorio Tecnico +default.msgBusca.label=Listagem, busca, edição e remoção de publicações +default.title.label=Título +default.author.label=Autor +default.year.label=Ano +default.search.label=Busca +default.user.label=Usuarios + +default.orientation.label = Orientation +default.orientation.imported.message = As orientations não existentes foram importadas com sucesso +default.orientation.checkVersion.message = Um outro usuário atualizou este orientation enquanto você estava editando + +#if($funder) +default.funder.imported.message = Os Financiadores não existentes foram importadas com sucesso +default.funder.checkVersion.message = Um outro usuário atualizou este financiador enquanto você estava edita +default.funder.label = Funder +#end + +default.article.imported.message = As article não existentes foram importadas com sucesso +default.article.checkVersion.message = Um outro usuário atualizou este orientation enquanto você estava editando + +default.reseachproject.label = Grupo de Pesquisa + + +conferencia.title.label=Título +conferencia.author.label=Autor +conferencia.conference.label=Conferencia +conferencia.year.label=Ano +conferencia.pageInitial.label=Página Inicial +conferencia.pageFinal.label=Página Final +conferencia.month.label=Mês +conferencia.arquivo.label=Arquivo +conferencia.label=Conferencia +conferencia.addAutor.label='Adicionar Autor' +conferencia.members.label=Membros Autores + + +#if($maisresul) +dissertacao.members.label=Membros Autores +dissertacao.title.label=Título +dissertacao.school.label=Faculdade +dissertacao.year.label=Ano +dissertacao.month.label=Mês +dissertacao.arquivo.label=Arquivo +dissertacao.author.label=Autor +dissertacao.label=Dissertacao +#end + + +ferramenta.members.label=Membros Autores +ferramenta.author.label=Autor +ferramenta.addAauthor.label='Adicionar Autor' +ferramenta.descricao.label=Descrição +ferramenta.link.label=Sitio +ferramenta.publicacaoAssociada.label=Publicação Associada +ferramenta.title.label=Título +ferramenta.year.label=Ano +ferramenta.label=Ferramenta +ferramenta.edit.conflict=Outro usuário estava editando esta Ferramenta enquanto você editava + +researchGroup.label=Grupo de Pesquisa +researchGroup.name.label=Nome +researchGroup.twitter.label=Twitter +researchGroup.description.label=Descrição +researchGroup.childOf.label=ResearchGroup superior +researchGroup.members.label=Membros +researchGroup.hasCycle=Há um ciclo relacionado com este research group + +#if($Article) +periodico.title.label=Título +periodico.members.label=Membros Autores +periodico.addAauthor.label='Adicionar Autor' +periodico.author.label=Autor +periodico.journal.label=Periodico +periodico.number.label=Número +periodico.pageInitial.label=Página Inicial +periodico.pageFinal.label=Página Final +periodico.volume.label=Volume +periodico.year.label=Ano +periodico.arquivo.label=Arquivo +periodico.label=Periodico +periodico.duplicatetitle.failure = Periódico não cadastrado porque já existe um periódico com o mesmo título +periodico.filesaving.failure = Periódico não cadastrado devido a problema na gravação do arquivo +periodico.saving.failure = Periódico não cadastrado devido a problema na gravação +#end + + +technicalReport.title.label = Título +technicalReport.publicationDate.label = Data de Publicação +technicalReport.file.label = Arquivo +technicalReport.researchLine.label = Linha de Pesquisa +technicalReport.institution.label = Instituição +technicalReport.members.label = Membros Autores +technicalReport.filesaving.failure = Relatório não cadastrado devido a problema na gravação do arquivo +technicalReport.saving.failure = Relatório não cadastrado devido a problema na gravação +technicalReport.label=Relatorio Tecnico + +#if($maisresul) +tese.author.label=Autor +tese.title.label=Título +tese.school.label=Faculdade +tese.year.label=Ano +tese.month.label=Mês +tese.arquivo.label=Arquivo +tese.label=Tese +tese.duplicatetitle.failure = Tese não cadastrada porque já existe uma tese com o mesmo título +#end + +#if($news) +news.not.created.unicity.rule.message=Já existe no sistema uma noticia cadastrada o esta descrição de data para este grupo de pesquisa. +default.button.update.twitter.label=Atualizar noticias do twitter +news.label=Notícias +default.news.label=Notícias +#end + +default.report.label=Relatorio de {0}s +default.citations.label=Citações + +#if($visit) +default.visit.label=Visita +visit.label=Visita +#end + +mail.plugin.not.configured=Plugin de email nao configurado + +#if($member) +member.label=Member +member.start.label=Início +member.end.label=Fim +member.status_H.label=Status H +member.email.unique=Email já cadastrado, não é possível criar outro usuário com o mesmo email. +#end + +#if($record) +default.record.label=Registro +record.label=Registro +record.start.label=Início +record.end.label=Fim +record.status_H.label=Status H +#end + +#if($orientation) +orientation.tituloTese.unique = Título de orientação já cadastrada, não é possível criar outra orientação com o mesmo título. +#end + +#if($researchProject) +default.researchProject.label = Projeto de Pesquisa +researchProject.label = Projeto de Pesquisa +default.researchproject.import.flashmessage.success = "Os Projetos de Pesquisa não existentes foram importados com sucesso" +#end + +#if($researchLine) +default.researchline.import.flashmessage.success = "As linhas de pesquisa que não existiam foram importadas com sucesso" +#end \ No newline at end of file diff --git a/out/production/rgms/messages_pt_PT.properties b/out/production/rgms/messages_pt_PT.properties new file mode 100644 index 00000000..dc4127db --- /dev/null +++ b/out/production/rgms/messages_pt_PT.properties @@ -0,0 +1,51 @@ +# +# translation by miguel.ping@gmail.com, based on pt_BR translation by Lucas Teixeira - lucastex@gmail.com +# + +default.doesnt.match.message=O campo [{0}] da classe [{1}] com o valor [{2}] não corresponde ao padrão definido [{3}] +default.invalid.url.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é um URL válido +default.invalid.creditCard.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é um número válido de cartão de crédito +default.invalid.email.message=O campo [{0}] da classe [{1}] com o valor [{2}] não é um endereço de email válido. +default.invalid.range.message=O campo [{0}] da classe [{1}] com o valor [{2}] não está dentro dos limites de valores válidos de [{3}] a [{4}] +default.invalid.size.message=O campo [{0}] da classe [{1}] com o valor [{2}] está fora dos limites de tamanho válido de [{3}] a [{4}] +default.invalid.max.message=O campo [{0}] da classe [{1}] com o valor [{2}] ultrapassa o valor máximo [{3}] +default.invalid.min.message=O campo [{0}] da classe [{1}] com o valor [{2}] não atinge o valor mínimo [{3}] +default.invalid.max.size.message=O campo [{0}] da classe [{1}] com o valor [{2}] ultrapassa o tamanho máximo de [{3}] +default.invalid.min.size.message=O campo [{0}] da classe [{1}] com o valor [{2}] não atinge o tamanho mínimo de [{3}] +default.invalid.validator.message=O campo [{0}] da classe [{1}] com o valor [{2}] não passou na validação +default.not.inlist.message=O campo [{0}] da classe [{1}] com o valor [{2}] não se encontra nos valores permitidos da lista [{3}] +default.blank.message=O campo [{0}] da classe [{1}] não pode ser vazio +default.not.equal.message=O campo [{0}] da classe [{1}] com o valor [{2}] não pode ser igual a [{3}] +default.null.message=O campo [{0}] da classe [{1}] não pode ser vazio +default.not.unique.message=O campo [{0}] da classe [{1}] com o valor [{2}] deve ser único + +default.paginate.prev=Anterior +default.paginate.next=Próximo + +# Mensagens de erro em atribuição de valores. Use "typeMismatch.$className.$propertyName" para personalizar(eg typeMismatch.Book.author) +typeMismatch.java.net.URL=O campo {0} deve ser um URL válido. +typeMismatch.java.net.URI=O campo {0} deve ser um URI válido. +typeMismatch.java.util.Date=O campo {0} deve ser uma data válida +typeMismatch.java.lang.Double=O campo {0} deve ser um número válido. +typeMismatch.java.lang.Integer=O campo {0} deve ser um número válido. +typeMismatch.java.lang.Long=O campo {0} deve ser um número valido. +typeMismatch.java.lang.Short=O campo {0} deve ser um número válido. +typeMismatch.java.math.BigDecimal=O campo {0} deve ser um número válido. +typeMismatch.java.math.BigInteger=O campo {0} deve ser um número válido. + +#if($inter) +default.user.label=Usuarios +#end + +#if($member) +member.label=Member +member.start.label=Início +member.end.label=Fim +member.status_H.label=Status H +member.email.unique=Email já cadastrado, não é possível criar outro usuário com o mesmo email. +#end + +#if($orientation) +orientation.tituloTese.unique = Título de orientação já cadastrada, não é possível criar outra orientação com o mesmo título. +#end + diff --git a/out/production/rgms/messages_ru.properties b/out/production/rgms/messages_ru.properties new file mode 100644 index 00000000..02239db0 --- /dev/null +++ b/out/production/rgms/messages_ru.properties @@ -0,0 +1,31 @@ +default.doesnt.match.message=Значение [{2}] поля [{0}] класса [{1}] не соответствует образцу [{3}] +default.invalid.url.message=Значение [{2}] поля [{0}] класса [{1}] не является допустимым URL-адресом +default.invalid.creditCard.message=Значение [{2}] поля [{0}] класса [{1}] не является допустимым номером кредитной карты +default.invalid.email.message=Значение [{2}] поля [{0}] класса [{1}] не является допустимым e-mail адресом +default.invalid.range.message=Значение [{2}] поля [{0}] класса [{1}] не попадает в допустимый интервал от [{3}] до [{4}] +default.invalid.size.message=Размер поля [{0}] класса [{1}] (значение: [{2}]) не попадает в допустимый интервал от [{3}] до [{4}] +default.invalid.max.message=Значение [{2}] поля [{0}] класса [{1}] больше чем максимально допустимое значение [{3}] +default.invalid.min.message=Значение [{2}] поля [{0}] класса [{1}] меньше чем минимально допустимое значение [{3}] +default.invalid.max.size.message=Размер поля [{0}] класса [{1}] (значение: [{2}]) больше чем максимально допустимый размер [{3}] +default.invalid.min.size.message=Размер поля [{0}] класса [{1}] (значение: [{2}]) меньше чем минимально допустимый размер [{3}] +default.invalid.validator.message=Значение [{2}] поля [{0}] класса [{1}] не допустимо +default.not.inlist.message=Значение [{2}] поля [{0}] класса [{1}] не попадает в список допустимых значений [{3}] +default.blank.message=Поле [{0}] класса [{1}] не может быть пустым +default.not.equal.message=Значение [{2}] поля [{0}] класса [{1}] не может быть равно [{3}] +default.null.message=Поле [{0}] класса [{1}] не может иметь значение null +default.not.unique.message=Значение [{2}] поля [{0}] класса [{1}] должно быть уникальным + +default.paginate.prev=Предыдушая страница +default.paginate.next=Следующая страница + +# Ошибки при присвоении данных. Для точной настройки для полей классов используйте +# формат "typeMismatch.$className.$propertyName" (например, typeMismatch.Book.author) +typeMismatch.java.net.URL=Значение поля {0} не является допустимым URL +typeMismatch.java.net.URI=Значение поля {0} не является допустимым URI +typeMismatch.java.util.Date=Значение поля {0} не является допустимой датой +typeMismatch.java.lang.Double=Значение поля {0} не является допустимым числом +typeMismatch.java.lang.Integer=Значение поля {0} не является допустимым числом +typeMismatch.java.lang.Long=Значение поля {0} не является допустимым числом +typeMismatch.java.lang.Short=Значение поля {0} не является допустимым числом +typeMismatch.java.math.BigDecimal=Значение поля {0} не является допустимым числом +typeMismatch.java.math.BigInteger=Значение поля {0} не является допустимым числом diff --git a/out/production/rgms/messages_sv.properties b/out/production/rgms/messages_sv.properties new file mode 100644 index 00000000..fe648315 --- /dev/null +++ b/out/production/rgms/messages_sv.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=Attributet [{0}] för klassen [{1}] med värde [{2}] matchar inte mot uttrycket [{3}] +default.invalid.url.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är inte en giltig URL +default.invalid.creditCard.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är inte ett giltigt kreditkortsnummer +default.invalid.email.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är inte en giltig e-postadress +default.invalid.range.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är inte inom intervallet [{3}] till [{4}] +default.invalid.size.message=Attributet [{0}] för klassen [{1}] med värde [{2}] har en storlek som inte är inom [{3}] till [{4}] +default.invalid.max.message=Attributet [{0}] för klassen [{1}] med värde [{2}] överskrider maxvärdet [{3}] +default.invalid.min.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är mindre än minimivärdet [{3}] +default.invalid.max.size.message=Attributet [{0}] för klassen [{1}] med värde [{2}] överskrider maxstorleken [{3}] +default.invalid.min.size.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är mindre än minimistorleken [{3}] +default.invalid.validator.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är inte giltigt enligt anpassad regel +default.not.inlist.message=Attributet [{0}] för klassen [{1}] med värde [{2}] är inte giltigt, måste vara ett av [{3}] +default.blank.message=Attributet [{0}] för klassen [{1}] får inte vara tomt +default.not.equal.message=Attributet [{0}] för klassen [{1}] med värde [{2}] får inte vara lika med [{3}] +default.null.message=Attributet [{0}] för klassen [{1}] får inte vara tomt +default.not.unique.message=Attributet [{0}] för klassen [{1}] med värde [{2}] måste vara unikt + +default.paginate.prev=Föregående +default.paginate.next=Nästa +default.boolean.true=Sant +default.boolean.false=Falskt +default.date.format=yyyy-MM-dd HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} skapades +default.updated.message={0} {1} uppdaterades +default.deleted.message={0} {1} borttagen +default.not.deleted.message={0} {1} kunde inte tas bort +default.not.found.message={0} med id {1} kunde inte hittas +default.optimistic.locking.failure=En annan användare har uppdaterat det här {0} objektet medan du redigerade det + +default.home.label=Hem +default.list.label= {0} - Lista +default.add.label=Lägg till {0} +default.new.label=Skapa {0} +default.create.label=Skapa {0} +default.show.label=Visa {0} +default.edit.label=Ändra {0} + +default.button.create.label=Skapa +default.button.edit.label=Ändra +default.button.update.label=Uppdatera +default.button.delete.label=Ta bort +default.button.delete.confirm.message=Är du säker? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=Värdet för {0} måste vara en giltig URL +typeMismatch.java.net.URI=Värdet för {0} måste vara en giltig URI +typeMismatch.java.util.Date=Värdet {0} måste vara ett giltigt datum +typeMismatch.java.lang.Double=Värdet {0} måste vara ett giltigt nummer +typeMismatch.java.lang.Integer=Värdet {0} måste vara ett giltigt heltal +typeMismatch.java.lang.Long=Värdet {0} måste vara ett giltigt heltal +typeMismatch.java.lang.Short=Värdet {0} måste vara ett giltigt heltal +typeMismatch.java.math.BigDecimal=Värdet {0} måste vara ett giltigt nummer +typeMismatch.java.math.BigInteger=Värdet {0} måste vara ett giltigt heltal \ No newline at end of file diff --git a/out/production/rgms/messages_th.properties b/out/production/rgms/messages_th.properties new file mode 100644 index 00000000..4f4076d1 --- /dev/null +++ b/out/production/rgms/messages_th.properties @@ -0,0 +1,55 @@ +default.doesnt.match.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ถูกต้องตามรูปแบบที่กำหนดไว้ใน [{3}] +default.invalid.url.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ถูกต้องตามรูปแบบ URL +default.invalid.creditCard.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ถูกต้องตามรูปแบบหมายเลขบัตรเครดิต +default.invalid.email.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ถูกต้องตามรูปแบบอีเมล์ +default.invalid.range.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ได้มีค่าที่ถูกต้องในช่วงจาก [{3}] ถึง [{4}] +default.invalid.size.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ได้มีขนาดที่ถูกต้องในช่วงจาก [{3}] ถึง [{4}] +default.invalid.max.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] มีค่าเกิดกว่าค่ามากสุด [{3}] +default.invalid.min.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] มีค่าน้อยกว่าค่าต่ำสุด [{3}] +default.invalid.max.size.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] มีขนาดเกินกว่าขนาดมากสุดของ [{3}] +default.invalid.min.size.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] มีขนาดต่ำกว่าขนาดต่ำสุดของ [{3}] +default.invalid.validator.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ผ่านการทวนสอบค่าที่ตั้งขึ้น +default.not.inlist.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่ได้อยู่ในรายการต่อไปนี้ [{3}] +default.blank.message=คุณสมบัติ [{0}] ของคลาส [{1}] ไม่สามารถเป็นค่าว่างได้ +default.not.equal.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] ไม่สามารถเท่ากับ [{3}] ได้ +default.null.message=คุณสมบัติ [{0}] ของคลาส [{1}] ไม่สามารถเป็น null ได้ +default.not.unique.message=คุณสมบัติ [{0}] ของคลาส [{1}] ซึ่งมีค่าเป็น [{2}] จะต้องไม่ซ้ำ (unique) + +default.paginate.prev=ก่อนหน้า +default.paginate.next=ถัดไป +default.boolean.true=จริง +default.boolean.false=เท็จ +default.date.format=dd-MM-yyyy HH:mm:ss z +default.number.format=0 + +default.created.message=สร้าง {0} {1} เรียบร้อยแล้ว +default.updated.message=ปรับปรุง {0} {1} เรียบร้อยแล้ว +default.deleted.message=ลบ {0} {1} เรียบร้อยแล้ว +default.not.deleted.message=ไม่สามารถลบ {0} {1} +default.not.found.message=ไม่พบ {0} ด้วย id {1} นี้ +default.optimistic.locking.failure=มีผู้ใช้ท่านอื่นปรับปรุง {0} ขณะที่คุณกำลังแก้ไขข้อมูลอยู่ + +default.home.label=หน้าแรก +default.list.label=รายการ {0} +default.add.label=เพิ่ม {0} +default.new.label=สร้าง {0} ใหม่ +default.create.label=สร้าง {0} +default.show.label=แสดง {0} +default.edit.label=แก้ไข {0} + +default.button.create.label=สร้าง +default.button.edit.label=แก้ไข +default.button.update.label=ปรับปรุง +default.button.delete.label=ลบ +default.button.delete.confirm.message=คุณแน่ใจหรือไม่ ? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=คุณสมบัติ '{0}' จะต้องเป็นค่า URL ที่ถูกต้อง +typeMismatch.java.net.URI=คุณสมบัติ '{0}' จะต้องเป็นค่า URI ที่ถูกต้อง +typeMismatch.java.util.Date=คุณสมบัติ '{0}' จะต้องมีค่าเป็นวันที่ +typeMismatch.java.lang.Double=คุณสมบัติ '{0}' จะต้องมีค่าเป็นจำนวนประเภท Double +typeMismatch.java.lang.Integer=คุณสมบัติ '{0}' จะต้องมีค่าเป็นจำนวนประเภท Integer +typeMismatch.java.lang.Long=คุณสมบัติ '{0}' จะต้องมีค่าเป็นจำนวนประเภท Long +typeMismatch.java.lang.Short=คุณสมบัติ '{0}' จะต้องมีค่าเป็นจำนวนประเภท Short +typeMismatch.java.math.BigDecimal=คุณสมบัติ '{0}' จะต้องมีค่าเป็นจำนวนประเภท BigDecimal +typeMismatch.java.math.BigInteger=คุณสมบัติ '{0}' จะต้องมีค่าเป็นจำนวนประเภท BigInteger diff --git a/out/production/rgms/messages_zh_CN.properties b/out/production/rgms/messages_zh_CN.properties new file mode 100644 index 00000000..782580b0 --- /dev/null +++ b/out/production/rgms/messages_zh_CN.properties @@ -0,0 +1,18 @@ +default.blank.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u4E0D\u80FD\u4E3A\u7A7A +default.doesnt.match.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0E\u5B9A\u4E49\u7684\u6A21\u5F0F [{3}]\u4E0D\u5339\u914D +default.invalid.creditCard.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684\u4FE1\u7528\u5361\u53F7 +default.invalid.email.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0D\u662F\u4E00\u4E2A\u5408\u6CD5\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740 +default.invalid.max.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u6BD4\u6700\u5927\u503C [{3}]\u8FD8\u5927 +default.invalid.max.size.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u7684\u5927\u5C0F\u6BD4\u6700\u5927\u503C [{3}]\u8FD8\u5927 +default.invalid.min.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u6BD4\u6700\u5C0F\u503C [{3}]\u8FD8\u5C0F +default.invalid.min.size.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u7684\u5927\u5C0F\u6BD4\u6700\u5C0F\u503C [{3}]\u8FD8\u5C0F +default.invalid.range.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0D\u5728\u5408\u6CD5\u7684\u8303\u56F4\u5185( [{3}] \uFF5E [{4}] ) +default.invalid.size.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u7684\u5927\u5C0F\u4E0D\u5728\u5408\u6CD5\u7684\u8303\u56F4\u5185( [{3}] \uFF5E [{4}] ) +default.invalid.url.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0D\u662F\u4E00\u4E2A\u5408\u6CD5\u7684URL +default.invalid.validator.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u672A\u80FD\u901A\u8FC7\u81EA\u5B9A\u4E49\u7684\u9A8C\u8BC1 +default.not.equal.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0E[{3}]\u4E0D\u76F8\u7B49 +default.not.inlist.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u4E0D\u5728\u5217\u8868\u7684\u53D6\u503C\u8303\u56F4\u5185 +default.not.unique.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u7684\u503C[{2}]\u5FC5\u987B\u662F\u552F\u4E00\u7684 +default.null.message=[{1}]\u7C7B\u7684\u5C5E\u6027[{0}]\u4E0D\u80FD\u4E3Anull +default.paginate.next=\u4E0B\u9875 +default.paginate.prev=\u4E0A\u9875 diff --git a/out/production/rgms/shiro.properties b/out/production/rgms/shiro.properties new file mode 100644 index 00000000..ddba8d9b --- /dev/null +++ b/out/production/rgms/shiro.properties @@ -0,0 +1 @@ +login.failed = Invalid username and/or password diff --git a/out/test/rgms/sample.bibtex b/out/test/rgms/sample.bibtex new file mode 100644 index 00000000..14302fb7 --- /dev/null +++ b/out/test/rgms/sample.bibtex @@ -0,0 +1,26 @@ +@MASTERSTHESIS{Gor:2008, + author = {Samir Gorsky}, + title = {A semntica algbrica para as lgicas modais e seu interesse filosfico}, + school = {IFCH-UNICAMP}, + year = {2008}, + address = {Campinas, Brazil}, + note = {\\ URL = http://samirgorsky.vilabol.uol.com.br/logicamodal.pdf}, +} + +@PHDTHESIS{dCosta_1963_Inconsistent_Formal_Systems, + author = {N. C. A. da Costa}, + title = "Inconsistent Formal Systems \emph{(in Portuguese)}", + school = {Federal University of Parana}, + year = {1963}, + address = "Curitiba, Brazil", + note = {Edited by Editora UFPR, Curitiba, 1993}, +} + +@PHDTHESIS{diogo_doctor, + author = {D. V. de S. Silva}, + title = "Doctor Thesis", + school = {Federal University of Pernambuco}, + year = {2013}, + address = "Recife, Brazil", + note = {Edited by Editora UFPE, Recife, 2013}, +} \ No newline at end of file diff --git a/out/test/rgms/steps/CCFinder.pdf b/out/test/rgms/steps/CCFinder.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/CCFinder.pdf differ diff --git a/out/test/rgms/steps/Delete dissertation.txt b/out/test/rgms/steps/Delete dissertation.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Delete dissertation.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/Dissertationduplicated.txt b/out/test/rgms/steps/Dissertationduplicated.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Dissertationduplicated.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/Dissertationduplicated2.txt b/out/test/rgms/steps/Dissertationduplicated2.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Dissertationduplicated2.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/Dissertationwithoutschool.txt b/out/test/rgms/steps/Dissertationwithoutschool.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Dissertationwithoutschool.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/Editdissertation.txt b/out/test/rgms/steps/Editdissertation.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Editdissertation.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/EvaluateNLS.txt b/out/test/rgms/steps/EvaluateNLS.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/EvaluateNLS.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/Joee.pdf b/out/test/rgms/steps/Joee.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/Joee.pdf differ diff --git a/out/test/rgms/steps/Joee1.pdf b/out/test/rgms/steps/Joee1.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/Joee1.pdf differ diff --git a/out/test/rgms/steps/Newdissertation.txt b/out/test/rgms/steps/Newdissertation.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Newdissertation.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/Newdissertation2.txt b/out/test/rgms/steps/Newdissertation2.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/out/test/rgms/steps/Newdissertation2.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/out/test/rgms/steps/NewthesisGUI.txt b/out/test/rgms/steps/NewthesisGUI.txt new file mode 100644 index 00000000..eddf3b42 --- /dev/null +++ b/out/test/rgms/steps/NewthesisGUI.txt @@ -0,0 +1,711 @@ + + + + + + + + + rgms/test/functional/steps/NewthesisGUI.txt at master · macenas/rgms + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    + + + + + +
    + + +
    +
    + + + + + +
    + + This repository + + +
    +
    + +
    + + +
    This repository
    +
    + +
    + + +
    All repositories
    +
    + +
    +
    +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    +
    + + + + + + + + +
    + +
    +
    + + +
      + +
    • +
      + +
      + + + + + Unwatch + + + +
      +
      +
      + Notification status + +
      + +
      + +
      + +
      + +

      Not watching

      + You only receive notifications for discussions in which you participate or are @mentioned. + + + Watch + +
      +
      + +
      + +
      + +

      Watching

      + You receive notifications for all discussions in this repository. + + + Unwatch + +
      +
      + +
      + +
      + +

      Ignoring

      + You do not receive any notifications for discussions in this repository. + + + Stop ignoring + +
      +
      + +
      + +
      +
      +
      + +
      +
    • + +
    • + + + +
    • + + +
    • + + Fork + + +
    • + + +
    + +

    + public + + + /rgms + + + Octocat-spinner-32 + + + + forked from spgroup/rgms + +

    +
    +
    + +
    + +
    + +
    + + + + +
    + + + + +
    +

    HTTPS clone URL

    + + + + +
    + + + +
    +

    SSH clone URL

    + + + + +
    + + + +
    +

    Subversion checkout URL

    + + + + +
    + + + +

    You can clone with + HTTPS, + SSH, + Subversion, + and other methods. +

    + + + + + Clone in Desktop + + + + + Download ZIP + +
    +
    + +
    + + + + + + + + +Show File Finder + +
    + + + +
    + + + branch: + master + + +
    + +
    +
    + Switch branches/tags + +
    + +
    +
    + +
    +
    + +
    +
    + +
    + +
    + + +
    + + master +
    +
    + +
    + +
    +

    Create branch:

    + from ‘master’ +
    + + + +
    + +
    + +
    +
    + + +
    + +
    Nothing to show
    +
    + +
    +
    +
    + + +
    + + +
    + Fetching contributors… + +
    +

    Octocat-spinner-32-eaf2f5

    +

    Cannot retrieve contributors at this time

    +
    +
    + +
    +
    +
    +
    + + file + 25 lines (20 sloc) + 1.017 kb +
    + + +
    +
    + + + + + +
    + 1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 + + +
    @i9n
    Feature: Thesis Tests
      As a member of a research group
      I want to add, remove and modify theses I have added

      Scenario: new thesis
        Given The system has no thesis entitled "New thesis"
        When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE"
        Then The thesis "New thesis" is properly stored by the system
        
      Scenario: new thesis duplicated
        Given The thesis "Thesis duplicated" is stored in the system with file name "Thesisduplicated.txt"
        When I create the thesis "Thesis duplicated" with file name "Thesisduplicated2.txt" and school "UFPE"
        Then The thesis "Thesis duplicated" is not stored twice

      Scenario: create thesis web
        Given I am at the create thesis page
        When I fill the thesis details
        Then I am on the thesis show page

      Scenario: create thesis web with partial information
        Given I am at the create thesis page
        When I fill some thesis details
        Then I am still on the create thesis page with the error message
    +
    +
    + +
    +
    + + + + +
    + +
    + +
    +
    + + +
    + +
    + +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    + +
    + + + +
    + + + Something went wrong with that request. Please try again. +
    + + + + + diff --git a/out/test/rgms/steps/NewthesisGUI2.txt b/out/test/rgms/steps/NewthesisGUI2.txt new file mode 100644 index 00000000..eddf3b42 --- /dev/null +++ b/out/test/rgms/steps/NewthesisGUI2.txt @@ -0,0 +1,711 @@ + + + + + + + + + rgms/test/functional/steps/NewthesisGUI.txt at master · macenas/rgms + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    + + + + + +
    + + +
    +
    + + + + + +
    + + This repository + + +
    +
    + +
    + + +
    This repository
    +
    + +
    + + +
    All repositories
    +
    + +
    +
    +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    +
    + + + + + + + + +
    + +
    +
    + + +
      + +
    • +
      + +
      + + + + + Unwatch + + + +
      +
      +
      + Notification status + +
      + +
      + +
      + +
      + +

      Not watching

      + You only receive notifications for discussions in which you participate or are @mentioned. + + + Watch + +
      +
      + +
      + +
      + +

      Watching

      + You receive notifications for all discussions in this repository. + + + Unwatch + +
      +
      + +
      + +
      + +

      Ignoring

      + You do not receive any notifications for discussions in this repository. + + + Stop ignoring + +
      +
      + +
      + +
      +
      +
      + +
      +
    • + +
    • + + + +
    • + + +
    • + + Fork + + +
    • + + +
    + +

    + public + + + /rgms + + + Octocat-spinner-32 + + + + forked from spgroup/rgms + +

    +
    +
    + +
    + +
    + +
    + + + + +
    + + + + +
    +

    HTTPS clone URL

    + + + + +
    + + + +
    +

    SSH clone URL

    + + + + +
    + + + +
    +

    Subversion checkout URL

    + + + + +
    + + + +

    You can clone with + HTTPS, + SSH, + Subversion, + and other methods. +

    + + + + + Clone in Desktop + + + + + Download ZIP + +
    +
    + +
    + + + + + + + + +Show File Finder + +
    + + + +
    + + + branch: + master + + +
    + +
    +
    + Switch branches/tags + +
    + +
    +
    + +
    +
    + +
    +
    + +
    + +
    + + +
    + + master +
    +
    + +
    + +
    +

    Create branch:

    + from ‘master’ +
    + + + +
    + +
    + +
    +
    + + +
    + +
    Nothing to show
    +
    + +
    +
    +
    + + +
    + + +
    + Fetching contributors… + +
    +

    Octocat-spinner-32-eaf2f5

    +

    Cannot retrieve contributors at this time

    +
    +
    + +
    +
    +
    +
    + + file + 25 lines (20 sloc) + 1.017 kb +
    + + +
    +
    + + + + + +
    + 1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 + + +
    @i9n
    Feature: Thesis Tests
      As a member of a research group
      I want to add, remove and modify theses I have added

      Scenario: new thesis
        Given The system has no thesis entitled "New thesis"
        When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE"
        Then The thesis "New thesis" is properly stored by the system
        
      Scenario: new thesis duplicated
        Given The thesis "Thesis duplicated" is stored in the system with file name "Thesisduplicated.txt"
        When I create the thesis "Thesis duplicated" with file name "Thesisduplicated2.txt" and school "UFPE"
        Then The thesis "Thesis duplicated" is not stored twice

      Scenario: create thesis web
        Given I am at the create thesis page
        When I fill the thesis details
        Then I am on the thesis show page

      Scenario: create thesis web with partial information
        Given I am at the create thesis page
        When I fill some thesis details
        Then I am still on the create thesis page with the error message
    +
    +
    + +
    +
    + + + + +
    + +
    + +
    +
    + + +
    + +
    + +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    + +
    + + + +
    + + + Something went wrong with that request. Please try again. +
    + + + + + diff --git a/out/test/rgms/steps/Ngs.pdf b/out/test/rgms/steps/Ngs.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/Ngs.pdf differ diff --git a/out/test/rgms/steps/TCS-01.pdf b/out/test/rgms/steps/TCS-01.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-01.pdf differ diff --git a/out/test/rgms/steps/TCS-02.pdf b/out/test/rgms/steps/TCS-02.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-02.pdf differ diff --git a/out/test/rgms/steps/TCS-03.pdf b/out/test/rgms/steps/TCS-03.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-03.pdf differ diff --git a/out/test/rgms/steps/TCS-04.pdf b/out/test/rgms/steps/TCS-04.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-04.pdf differ diff --git a/out/test/rgms/steps/TCS-05.pdf b/out/test/rgms/steps/TCS-05.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-05.pdf differ diff --git a/out/test/rgms/steps/TCS-100.pdf b/out/test/rgms/steps/TCS-100.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-100.pdf differ diff --git a/out/test/rgms/steps/TCS-101.pdf b/out/test/rgms/steps/TCS-101.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-101.pdf differ diff --git a/out/test/rgms/steps/TCS-77.pdf b/out/test/rgms/steps/TCS-77.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-77.pdf differ diff --git a/out/test/rgms/steps/TCS-88.pdf b/out/test/rgms/steps/TCS-88.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-88.pdf differ diff --git a/out/test/rgms/steps/TCS-99.pdf b/out/test/rgms/steps/TCS-99.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS-99.pdf differ diff --git a/out/test/rgms/steps/TCS.pdf b/out/test/rgms/steps/TCS.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TCS.pdf differ diff --git a/out/test/rgms/steps/TechRepo.pdf b/out/test/rgms/steps/TechRepo.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TechRepo.pdf differ diff --git a/out/test/rgms/steps/TestMax.pdf b/out/test/rgms/steps/TestMax.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/TestMax.pdf differ diff --git a/out/test/rgms/steps/curriculo.xml b/out/test/rgms/steps/curriculo.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/out/test/rgms/steps/curriculo.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/out/test/rgms/steps/curriculo2.xml b/out/test/rgms/steps/curriculo2.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/out/test/rgms/steps/curriculo2.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/out/test/rgms/steps/curriculo3.xml b/out/test/rgms/steps/curriculo3.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/out/test/rgms/steps/curriculo3.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/out/test/rgms/steps/curriculo4.xml b/out/test/rgms/steps/curriculo4.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/out/test/rgms/steps/curriculo4.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/out/test/rgms/steps/curriculo_conferencias.xml b/out/test/rgms/steps/curriculo_conferencias.xml new file mode 100644 index 00000000..6dddd6af --- /dev/null +++ b/out/test/rgms/steps/curriculo_conferencias.xml @@ -0,0 +1,4434 @@ + + + + + + + + + + + + + + + + + + + + + + + Algebraic Semantics + Theorem Proving and Algebra + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Engenharia de Software + Introdução a Programação (Orientada a Objetos com Java) + Programação Orientada a Objetos (e Java) + Trabalho de Graduação em Engenharia de Software + + + Especificação de Sistemas Distribuídos + Introdução ao RUP--Rational Unified Process + Métodos Formais (Especificações Algébricas) + Novos Conceitos de Modularidade de Software + Paradigmas de Linguagens de Programação + Programação Orientada a Aspectos com AspectJ + Trabalho Individual em Engenharia de Software + + + Programação Orientada a Objetos (e Java) + + + Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200 + + + Engenharia de Software (Programa de Capacitação Tecnológica da Motorola) + Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE) + Orientação a Objetos e Java (InfoCampus, UFPE) + Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/out/test/rgms/steps/curriculo_publications.xml b/out/test/rgms/steps/curriculo_publications.xml new file mode 100644 index 00000000..6327cdc6 --- /dev/null +++ b/out/test/rgms/steps/curriculo_publications.xml @@ -0,0 +1,3568 @@ + + + + + + + + + + + + + + + + + + + + + + + Algebraic Semantics + Theorem Proving and Algebra + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Engenharia de Software + Introdução a Programação (Orientada a Objetos com Java) + Programação Orientada a Objetos (e Java) + Trabalho de Graduação em Engenharia de Software + + + Especificação de Sistemas Distribuídos + Introdução ao RUP--Rational Unified Process + Métodos Formais (Especificações Algébricas) + Novos Conceitos de Modularidade de Software + Paradigmas de Linguagens de Programação + Programação Orientada a Aspectos com AspectJ + Trabalho Individual em Engenharia de Software + + + Programação Orientada a Objetos (e Java) + + + Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200 + + + Engenharia de Software (Programa de Capacitação Tecnológica da Motorola) + Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE) + Orientação a Objetos e Java (InfoCampus, UFPE) + Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/out/test/rgms/steps/tooldelete.pdf b/out/test/rgms/steps/tooldelete.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/out/test/rgms/steps/tooldelete.pdf differ diff --git a/pom.xml b/pom.xml new file mode 100644 index 00000000..5d9ae9d6 --- /dev/null +++ b/pom.xml @@ -0,0 +1,12 @@ + + + 4.0.0 + + groupId + rgms + 1.0-SNAPSHOT + + + \ No newline at end of file diff --git a/target-eclipse/.gitignore b/target-eclipse/.gitignore new file mode 100644 index 00000000..840e7d31 --- /dev/null +++ b/target-eclipse/.gitignore @@ -0,0 +1 @@ +/classes/ diff --git a/target/test-classes/cucumber/Article.feature b/target/test-classes/cucumber/Article.feature new file mode 100644 index 00000000..01606f0d --- /dev/null +++ b/target/test-classes/cucumber/Article.feature @@ -0,0 +1,207 @@ +@i9n +Feature: journal article + As a member of a research group + I want to add, remove and modify journal articles I have published + so that I can generate web pages and reports containing these articles + + Scenario: new article + Given the system has no article entitled "A theory of software product line refinement" + When I create the article "A theory of software product line refinement" with file name "TCS.pdf" + Then the article "A theory of software product line refinement" is properly stored by the system + + Scenario: new invalid article (number field blank) + Given the system has no article entitled "Algebraic reasoning for object-oriented programming" + When I create the article "Algebraic reasoning for object-oriented programming" with file name "SCP.pdf" with the "number" field blank + Then the article "Algebraic reasoning for object-oriented programming" is not stored by the system because it is invalid + + Scenario: duplicate article + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-0.pdf" + When I create the article "A theory of software product line refinement" with file name "TCS-1.pdf" + Then the article "A theory of software product line refinement" is not stored twice + + Scenario: alternative duplicate article + Given the system has no article entitled "A theory of software product line refinement" + When I create the article "A theory of software product line refinement" with file name "TCS-2" + And I create the article "A theory of software product line refinement" with file name "TCS-3" + Then the article "A theory of software product line refinement" is not stored twice + + Scenario: new article web + Given I am at the publications menu + When I select the "Periodico" option at the publications menu + And I select the new article option at the article page + Then I can fill the article details + + Scenario: remove existing article + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-44.pdf" + When I delete the article "A theory of software product line refinement" + Then the article "A theory of software product line refinement" is properly removed by the system + + Scenario: list existing article + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-55.pdf" + When I view the article list + Then my article list contains "A theory of software product line refinement" + + Scenario: edit existing article + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-66.pdf" + When I edit the article title from "A theory of software product line refinement" to "A theory of software product line refinement REVIEWED" + Then the article "A theory of software product line refinement" is properly updated by the system + + Scenario: remove existing article web + Given I am at the articles page and the article "A theory of software product line refinement" is stored in the system with file name "TCS-77.pdf" + When I select to view "A theory of software product line refinement" in resulting list + And I select the option to remove in show page + Then the article "A theory of software product line refinement" is properly removed by the system + + Scenario: list existing article web + Given I am at the articles page and the article "A theory of software product line refinement" is stored in the system with file name "TCS-88.pdf" + Then my resulting articles list contains "A theory of software product line refinement" + + Scenario: edit existing article web + Given I am at the articles page and the article "A theory of software product line refinement" is stored in the system with file name "TCS-99.pdf" + When I select to view "A theory of software product line refinement" in resulting list + And I change the article title to "REVIEWED" + And I select the "Alterar" option in Article Show Page + Then I am at Article show page + + Scenario: Add a new article tweeting it + Given I am logged as "admin" + And I am at the Article Page + When I try to create an article named as "A theory of software product line refinement 1" with filename "TCS-101.pdf" + And I click on Share it in Twitter with "rgms_ufpe" and "rgmsadmin2013" + Then A tweet is added to my twitter account regarding the new article "A theory of software product line refinement 1" + + Scenario: Add a new article and try to tweet the article using wrong login and password + Given I am logged as "admin" + And I am at the Article Page + When I try to create an article named as "Teoria de Sw" with filename "TCS-102.pdf" + And I click on Share it in Twitter with "fake" and "fake2013" + Then No tweet should be post about "Teoria de Sw" + + Scenario: Add a new article with twitter, but don't tweet it + Given I am logged as "admin" + And I am at the Article Page + When I try to create an article named as "Empirical Studies in Product Line 2" with filename "TCS.pdf" + Then No tweet should be post about "Empirical Studies in Product Line 2" + + Scenario: Add a new article and post it in the facebook + Given I am logged as "admin" + And I am at the Add Article Page + When I try to create an article named as "A theory of software product line refinement 2" with filename "TCS-01.pdf" + And I click on Share on Facebook + Then A facebook message was posted + + Scenario: Add a new article but don't post it in the facebook + Given I am logged as "admin" + And I am at the Add Article Page + When I try to create an article named as "Empirical Studies in Product Line 4" with filename "TCS-02.pdf" + Then No facebook message was posted + + Scenario: Post an existing article on facebook + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-03.pdf" + When I share the article entitled "A theory of software product line refinement" on facebook + Then A facebook message was posted + + Scenario: Post an existing article on facebook web + Given I am at the articles page and the article "A theory of software product line refinement 3" is stored in the system with file name "TCS-04.pdf" + When I select to view "A theory of software product line refinement 3" in resulting list + And I click on Share on Facebook + Then A facebook message was posted + +#if ($contextualInformation) + Scenario: Add a new article with user data already filled by default + Given I am at the publications menu + When I select the "Periodico" option at the publications menu + And I select the new article option at the article page + Then I see my user listed as an author member of article by default +#end + Scenario: upload article with a file + Given the system has some articles stored + When I upload the articles of "curriculo.xml" + Then the system has all the articles of the xml file + + Scenario: upload articles without a file + Given I am at the Article Page + And I select the upload button at the article page + Then I'm still on article page + And the articles are not stored by the system + +#if($Report) + Scenario: report existing article + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-1401.pdf" + When the system reports the existing articles + Then the system report contains "A theory of software product line refinement" article +#end + + Scenario: list existing articles in alphabetical order of title + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-1401.pdf" + And the system has article entitled "Modularity analysis of use case implementations" with file name "MACI.pdf" + When the system orders the article list by title + Then the system article list content is not modified + + Scenario: list existing articles ordered by publication date + Given the system has article entitled "A theory of software product line refinement" with file name "TCS-1401.pdf" dated on "22 October 2011" + And the system has article entitled "Modularity analysis of use case implementations" with file name "MACI.pdf" dated on "05 August 2010" + When the system orders the article list by publication date + Then the system article list content is not modified + + Scenario: new invalid article (title field blank) + Given the system has no article without title and with filename "TCS-01.pdf" + When I create the article with filename "TCS-01.pdf" and with the title field blank + Then the article with blank title and with filename "TCS-01.pdf" field is not stored by the system + + Scenario: filter existing articles by author + Given the system has some articles authored by "Paulo Borba" + When the system filter the articles authored by author "Paulo Borba" + Then the system article list content is not modified + + Scenario: remove multiple articles + Given the system has 3 articles entitled "A theory of software product line refinement" with file name "TCS-01.pdf", "Algebraic reasoning for object-oriented programming" with file name "AROOP-02.pdf" and "Modularity analysis of use case implementations" with file name "MACI-03.pdf" + When I remove the articles "A theory of software product line refinement" and "Modularity analysis of use case implementations" + Then the system removes the articles "A theory of software product line refinement" and "Modularity analysis of use case implementations" + And the system contains the "Algebraic reasoning for object-oriented programming" article + +#if($Report) + Scenario: report existing article web + Given I am at the articles page + And the article "A theory of software product line refinement" is stored in the system with file name "TCS-88.pdf" + When I select to view the report of articles + Then my resulting report of articles contains "A theory of software product line refinement" +#end + +Scenario: list existing articles in alphabetical order of title web + Given I am at the articles page + And the system has some articles created + When I select to view the list of articles + And I select to order the list of articles by "title" + Then my article list shows the articles ordered by "title" + + Scenario: list existing articles ordered by publication date web + Given I am at the articles page + And the system has some articles created + When I select to view the list of articles + And I select to order the list of articles by "publication date" + Then my article list shows the articles ordered by "publication date" + + Scenario: new invalid article web (title field blank) + Given I am at the new article page + When I fill all article information except the title field + And I select to create the article + Then an error message is showed for the title field + + Scenario: filter existing articles by author web + Given I am at the articles page + And I create some articles authored by "Paulo Borba" + When I select to view the list of articles + And I select to filter the list of articles by author "Paulo Borba" + Then my article list shows only the articles authored by "Paulo Borba" + + Scenario: remove multiple articles web + Given I am at the articles page + And I create 3 articles entitled "A theory of software product line refinement" with file name "TCS-01.pdf", "Modularity analysis of use case implementations" with file name "MACI-03.pdf" and "Algebraic reasoning for object-oriented programming" with file name "AROOP-02.pdf" + When I select to view the list of articles + And I mark multiple articles to be removed + And I select to remove the selected articles + Then my resulting articles list contains "Modularity analysis of use case implementations" + +# Paulo Borba: voces podem criar cenários para ordenar a lista, filtrar a lista +# Paulo Borba: verificar se alguns campos podem ser opcionais, etc. diff --git a/target/test-classes/cucumber/Authentication.feature b/target/test-classes/cucumber/Authentication.feature new file mode 100644 index 00000000..7500c595 --- /dev/null +++ b/target/test-classes/cucumber/Authentication.feature @@ -0,0 +1,102 @@ +Feature: Authentication Process + As a registered member in the system + I want to have access to all of its internal features, which are only accessible after a successful login procedure + +Scenario: Login with user that doesn't exist fail message + Given I am at the Login Page + When I try to login with an user that does not exist + Then I am redirected to the Login Page +#if($Authentication Process) + And The login failure message "User doesn't exist!" is displayed +#end + +Scenario: Login with user's wrong password fail message + Given I am at the Login Page + When I try to login with an existent user, though with wrong password + Then I am redirected to the Login Page +#if($Authentication Process) + And The login failure message "Invalid password!" is displayed +#end + +Scenario:New user register success message + Given I am at the User Register Page + When I register a user with success + Then I am redirected to the Login Page + And A message indicating the user was successfully registered is displayed + +Scenario: New user register with invalid email fail message + Given I am at the Login Page + When I try to create a "newuser" username with the "invalid email abcde" email + Then A message indicating the email is invalid is displayed + +Scenario: Try to access Member List Page without being logged in + Given I am not logged + When I directly access the Member List Page + Then I am redirected to the Login Page + And a message indicating that the user must be logged to see the page is displayed + +Scenario: Try to access root page without being logged in + Given I am not logged + When I access the Root Page + Then I am redirected to the Login Page + And a message indicating that the user must be logged to see the page is displayed + +#if ($contextualInformation) +Scenario: Field University filled with "Federal University of Pernambuco" + Given I am at the Login Page + When I click the "Create an account" link + Then I am redirected to the User Register Page + And The University field is filled with "Federal University of Pernambuco" +#end + +Scenario: Unpermitted go to "Principal" Menu from Member Listagem + Given I am at the Member Listagem page + When I select the "Principal" menu option + Then I am redirected to the Publications Menu page + + Scenario: Invalid password validation registration data remaining + Given I am at Register Page registering myself + And I mistype my confirmation password at Register Page + When I submit the form + Then I am redirected to the User Register Page + And The password fields are empty + And My remaining user data is still at their corresponding fields + +Scenario: User unabilited receive not permitted message + Given I am at the Login Page + And The user of "naoHabilitado" username is not yet enabled + When I try loggin with "naoHabilitado" + Then Inform the user that don`t have permission to loggin yet + + + #O campo 'Remember me' da tela de login não surte efeito, ao reinicializar o browser. + #Essa issue FOI resolvida!! No entanto, não é possível gerar um scenario convincente, pois atualmente o grails + #limpa todos os cookies toda vez em que o browser é inicializado no escopo de testes. Tentamos utilizar a propriedade + #de configuração autoClearCookies de várias formas, como chegamos a comentar na thread dessa atividade no email, porém + #nenhuma surtiu o efeito esperado, e os cookies continuaram sendo apagados. + #NOS FOI PEDIDO, no entanto, que este scenario fosse mantido, com o devido comentário explicando a situação. +@ignore +Scenario: + Given I am not logged + And I access the Root Page + And I am redirected to the Login Page + When I fill my login data + And Press the Remember me checkbox + And The login procedure is successful + And I am redirected to the Publications Menu page + And I close and reopen the browser + And I access the Root Page + Then I am redirected to the Publications Menu page + + #Essa issue só existiria se o UrlMappings fosse configurado para visualizar views. Esse scenario não foi implementado. + #Esse scenario busca representar que, atualmente, o plugin shiro não autentica/protege acessos diretos a views, apenas + #à páginas gerenciadas por uma class de controle. Ou seja, ao acessar diretamente - sem ter passado com sucesso + #por um procedimento de login - uma página gerenciada por um controle, o shiro redireciona o navegador para a página + #de login. No entanto, o mesmo não acontece se o acesso direto é feito a uma view (.gsp), resultando em acesso + #irrestrito a qualquer view da aplicação, contanto que essa esteja acessível por algum caminho na UrlMappings. + #NOS FOI PEDIDO, no entanto, que este scenario fosse mantido, com o devido comentário explicando a situação. +@ignore +Scenario: + Given I am not logged + When I directly access the Publications Menu Page + Then I am redirected to the Login Page diff --git a/target/test-classes/cucumber/BibtexGenerateFile.feature b/target/test-classes/cucumber/BibtexGenerateFile.feature new file mode 100644 index 00000000..ac5fd0d9 --- /dev/null +++ b/target/test-classes/cucumber/BibtexGenerateFile.feature @@ -0,0 +1,19 @@ +@i9n +Feature: all bibtex + As a member + I want to view all publications i have published in format of bibtex + + Scenario: show all bibtex + Given I am at the publications + When I select the export bibtex file option at the publications menu + And I select Generate All BibTex option at the export bibtex page + Then I can see the bibtex details + + #if($all bibtex) + Scenario: search all publications of a specific topic + Given I am at the publications + When I select the export bibtex file option at the publications menu + And I type "Topic" at the search toolbar in export bibtex page + And I select Generate BibTex option at the export bibtex page + Then I can see all the publications related with "Topic" + #end diff --git a/target/test-classes/cucumber/BibtexImport.feature b/target/test-classes/cucumber/BibtexImport.feature new file mode 100644 index 00000000..a0e008a7 --- /dev/null +++ b/target/test-classes/cucumber/BibtexImport.feature @@ -0,0 +1,38 @@ +@i9n +Feature: BibtexImport + As a member of a research group + I want to import a bibtex file + So that the system register yours corresponding publications + + Scenario: simple import bibtex + Given I am on Import Bibtex File Menu + When I click "Choose file" + #if($BibtexImport) + And selected a bibtex file and I click "Import All" + #end + Then is created all corresponding publications + And all of then are stored + + #if($BibtexImport) + Scenario: list extracted publications from a bibtex file + Given I am on Import Bibtex File Menu + When I click "Choose file" + And I select a bibtex file + Then a list of publications extracted from the bibtex file is shown on the same screen + #end + + Scenario: bibtex file unformatted + Given I am on Import Bibtex File Menu + When I click "Choose file" + And selected a bibtex file unformatted and I click "Import" + Then the system output the message error "bibtex file unformatted" + And none publication is stored + + Scenario: bibtex file with several publication types + Given I am on Import Bibtex File Menu + When I click "Choose file" + And selected a bibtex file with one Dissertation and two Thesis and I click "Import" + Then is created one Dissertation publication + And is created two Thesis publications + And one Dissertation is stored and two Thesis is stored + diff --git a/target/test-classes/cucumber/Book.feature b/target/test-classes/cucumber/Book.feature new file mode 100644 index 00000000..83a18fc5 --- /dev/null +++ b/target/test-classes/cucumber/Book.feature @@ -0,0 +1,78 @@ +@i9n +Feature: Book + As a member of a research group + I want to add, remove and modify books I have published + so that I can generate web pages and reports containing these books + + Scenario: new book + Given the system has no book entitled "SPL Development" + When I create the book "SPL Development" with file name "HSPLE.pdf" and author name "James" + Then the book "SPL Development" is properly stored by the system + + Scenario: remove book + Given the book "SPL Development" is stored in the system with file name "NGSPL-2.pdf" + When I remove the book "SPL Development" + Then the book "SPL Development" is properly removed by the system + +#if($book) + Scenario: list book + Given the book "SPL Development" is stored in the system with file name "NGSPL-2.pdf" + When I create the book "Next Generation Software Product Line Engineering" with file name "NGSPLE.pdf" + Then The system list "SPL Development" and "Next Generation Software Product Line Engineering" +#end + + Scenario: duplicate book + Given the book "SPL Development" is stored in the system with file name "NGSPL-0.pdf" + When I create the book "SPL Development" with file name "NGSPL-0.pdf" + Then the book "SPL Development" is not stored twice + And an error message is displayed + + Scenario: edit existing book + Given the book "SPL Development" is stored in the system with file name "HSPLE.pdf" + When I edit the book title from "SPL Development" to "New Title" + Then the book "New Title" is properly updated by the system + #if($book) + And the message "The edition has been successful" is displayed + #end +#if($book) + Scenario: edit existing book with duplicate title + Given the book "Book 1" is stored in the system with file name "B1.pdf" + And the book "Book 2" is stored in the system with file name "B2.pdf" + When I edit the book title from "Book 1" to "Book 2" + Then the book "Book 2" is not updated by the system +#end + + Scenario: upload book with a file + Given the system has no books stored + When I upload the books of "curriculo.xml" + Then the system has all the books of the xml file + + Scenario: upload book without a file + Given the system has no books stored + When I create a book "SPL Development" + And I upload no file + Then the system has no book called "SPL Development" + And an error message is displayed + + Scenario: search book by tags + Given the book "Redes Neurais" is stored in the system with tag "Inteligencia Artificial" + And I am in the books menu + When I click search button + And I write "Inteligencia Artificial" in the bar + Then a list containing "Redes Neurais" is displayed + + Scenario: mouse over information + Given I am on the books menu + When I put the mouse over a book + And I wait 1 second + Then a window with information about the book is displayed until I remove the mouse from over the book + + #if($book) + Scenario: new book web + Given I am at the book page + And the system has no book entitled "Next Generation Software Product Line Engineering" + When I go to new book page + And I use the webpage to create the book "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" and author name "James" + Then the book "Next Generation Software Product Line Engineering" was stored by the system + And the message "the book was sucessful stored" is displayed +#end diff --git a/target/test-classes/cucumber/BookChapter.feature b/target/test-classes/cucumber/BookChapter.feature new file mode 100644 index 00000000..812f143a --- /dev/null +++ b/target/test-classes/cucumber/BookChapter.feature @@ -0,0 +1,87 @@ +@i9n +Feature: BookChapter + As a member of a research group + I want to add, remove and modify book chapters I have published + so that I can generate web pages and reports containing these book chapters + + Scenario: new book chapter + Given the system has no book chapter entitled "SPL Development" + When I create the book chapter "SPL Development" with file name "HSPLE.pdf" + Then the book chapter "SPL Development" is properly stored by the system + + Scenario: duplicate book chapter + Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf" + When I create the book chapter "Next Generation Software Product Line Engineering" with file name "NGSPL-0.pdf" + Then the book chapter "Next Generation Software Product Line Engineering" is not stored twice + + Scenario: remove book chapter + Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-2.pdf" + When I remove the book chapter "Next Generation Software Product Line Engineering" + * the book chapter "Next Generation Software Product Line Engineering" is properly removed by the system + + #if($BookChapter) + Scenario: edit book chapter's title + Given the book chapter entitled "SPL Development" is stored in the system with file name "NGSPL-0.pdf" + When I change the book chapter's title from "SPL Development" to "New Title" + Then the book chapter's name is properly updated to "New Title" by the system + + Scenario: edit inexistent book chapter's title + Given no book chapter entitled "SPL Development" is stored in the system + When I change the book chapter's title from "SPL Development" to "New Title" + Then an error message is shown + And no changes are made by the system + #end + + Scenario: register book chapter with invalid data + Given I am at the book chapter page + And I select the new book chapter option at the book chapter page + And I fill only the title field with the value "Next Generation Software Product Line Engineering" + Then A failure message is displayed + And I still on the book chapter create page + + Scenario: new book chapter web + Given I am at the book chapter page + And the system has no book chapter entitled "Next Generation Software Product Line Engineering" + When I go to new book chapter page + And I use the webpage to create the book chapter "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" + Then the book chapter "Next Generation Software Product Line Engineering" was stored by the system + And it is shown in the book chapter list with title "Next Generation Software Product Line Engineering" + + #4 + Scenario: new duplicate book chapter web + Given I am at the book chapter page + And the system has a book chapter entitled "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" + When I go to new book chapter page + And I use the webpage to create the book chapter "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" + Then the book chapter "Next Generation Software Product Line Engineering" is not stored twice + And the system shows an error message + +#if ($contextualInformation) + + Scenario: new book chapter filled with user data by default + Given I am at the book chapter page + And I select the new book chapter option at the book chapter page + Then I see my user listed as a member of book chapter by default +#end + + Scenario: list existing book chapter + Given the book chapter "Artificial Neural Networks" is stored in the system with file name "ANN.pdf" + When I view the book chapter list + Then my book chapter list contains "Artificial Neural Networks" + + Scenario: list existing book chapter web + Given I am at the book chapter page + And the book chapter "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" was created before + Then My resulting book chapter list contains "Next Generation Software Product Line Engineering" + + Scenario: upload book chapter with a file + Given the system has some book chapters stored + When I upload the book chapters of "curriculo.xml" + Then the system has all the book chapters of the xml file + + Scenario: upload book chapters without a file + Given I am at the publications menu + When I select the Book Chapter option at the program menu + And I select the upload button at the book chapter page + Then I'm still on book chapter page + And the book chapters are not stored by the system diff --git a/target/test-classes/cucumber/Conferencia.feature b/target/test-classes/cucumber/Conferencia.feature new file mode 100644 index 00000000..44fc92f7 --- /dev/null +++ b/target/test-classes/cucumber/Conferencia.feature @@ -0,0 +1,175 @@ +@i9n +Feature: conferencia + As a member of a research group + I want to add, remove and modify conferencias I have published + so that I can generate web pages and reports containing these conferencias + + Scenario: new conferencia + Given the system has no conferencia entitled "IV Conference on Software Product Lines" + When I create the conferencia "IV Conference on Software Product Lines" with file name "SPLC.pdf" + Then the conferencia "IV Conference on Software Product Lines" is properly stored by the system + + Scenario: duplicate conferencia + Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf" + When I create the conferencia "I International Conference on Software Engineering" with file name "IICSE-0.pdf" + Then the conferencia "I International Conference on Software Engineering" is not stored twice + + + Scenario: remove conferencia + Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE-1.pdf" + When I remove the conferencia "IV Conference on Software Product Lines" + Then the conferencia "IV Conference on Software Product Lines" is properly removed by the system + + + Scenario: new conferencia web + Given I am at the publications + When I select the conferencia option at the publications menu + And I select the new conferencia option at the conferencia page + Then I can fill the conferencia details + + @ignore + Scenario: list conferencia web + Given I am at the publications menu + When I select the conferencia option at the publications menu + Then a list of conferencias stored by the system is displayed at the conferencia page by alphabetic order + +#if ($contextualInformation) + Scenario: new conferencia web has user data filled by default + Given I am at the publications + When I select the conferencia option at the publications menu + And I select the new conferencia option at the conferencia page + Then I see my user listed as an author member of conferencia by default + +#end + + Scenario: back to main menu web + Given I am at the publications + When I select the conferencia option at the publications menu + And I select the home option at the conferencia page + Then I am back at the publications and conferencias menu + + Scenario: remove conferencia that does not exist + Given the system has no conferencia entitled "IV Conference on Software Product Lines" + When I try to remove the conferencia "IV Conference on Software Product Lines" + Then nothing happens + + Scenario: remove and create the same conferencia + Given the conferencia "V Conference on Software Product Lines" is stored in the system with file name "IICSE-10.pdf" + When I remove the conferencia "V Conference on Software Product Lines" + And I create the conferencia "V Conference on Software Product Lines" with file name "IICSE-12.pdf" + Then the conferencia "V Conference on Software Product Lines" is properly stored by the system + + Scenario: remove conferencia web + Given I am at the publications menu + When I select the conferencia option at the publications menu + And a list of conferencias stored by the system is displayed at the conferencia page + Then I can remove one conferencia + + Scenario: upload conferencia with a file + Given the system has some conferencias stored + When I upload the conferencias of "curriculo_conferencias.xml" + Then the system has all the conferencias of the xml file + + Scenario: upload conferencias without a file + Given I am at the publications menu + When I select the "Conferencia" option at the program menu + And I select the upload button at the conferencia page + Then I'm still at the publications menu + And "Conferencia" is selected + And the conferencias are not stored by the system + + Scenario: upload conferencias without a file + Given I am at the publications menu + When I select the "Conferencia" option at the program menu + And I select the upload button at the conferencia page + Then a window opens with "You must select a file" appears + + @ignore + Scenario: edit existing conference + Given the system has conference entitled "IV Conference on Software Product Lines" with file name "SPLC.pdf" + When I change the conference file from "SPLC.pdf" to "SPLC2.pdf" + Then the conference "IV Conference on Software Product Lines" is properly updated by the system + + @ignore + Scenario: edit existing conference web + Given I am at the conference page + And the conference "IV Conference on Software Product Lines" is stored in the system with file name "SPLC.pdf" + When I select to view "IV Conference on Software Product Lines" in resulting list + And I change the conference file to "SPLC2.pdf" + And I select the "Alterar" option in Conference Registration Page + And A success message is displayed + Then I am at Conference page + + @ignore + Scenario: new invalid conference web (fields blank) + Given I am at the conference registration page + When I create the conference with some field blank + Then the conference is not stored by the system because it is invalid + And an error menssage is displayed + + @ignore + Scenario: list existing conference + Given the system has conference entitled "IV Conference on Software Product Lines" with file name "SPLC.pdf" + When I view the conference list + Then my conference list contains "IV Conference on Software Product Lines" + + @ignore + Scenario: Order conference web by title + Given I am at the conference page + When I click on the column "title" at the conference list table + Then a list of conferences stored by the system is displayed at the conference page by ascending alphabetic order + + @ignore + Scenario: Order conference web by conference data + Given I am at the conference page + When I click on the column "Date" at the conference list table + Then a list of conferences stored by the system is displayed at the conference page by publication ascending date order + + @ignore + Scenario: Order conference web by research line + Given I am at the conference page + When I click on the column "Research Line" at the conference list table + Then a list of conferences stored by the system is displayed at the conference page by ascending alphabetic order + + @ignore + Scenario: Go to search page + Given I am at the conference page + When I select the Search Conference option + Then I am at the search conference page + + @ignore + Scenario: Search for conference + Given the system has conference entitled "IV Conference on Software Product Lines" + When I search for the conferencia entitled "IV Conference on Software Product Lines" + Then theres no change in the data stored by the system. + + @ignore + Scenario: Search for conference web by date + Given I am at the Seach Conference page + And the system has conference dated "2007" + When I write "2007" at the date field + And I select the option Serach for Conference at the conference page + Then a list of all conferences containing that date will be presented in the conference screen + + #if($conferencia) + Scenario: Search for conference by research line + Given I am at the Seach Conference page + And The system has some conferences of "Data Security" research line + When I write "Data Security" at the research line field + And I select the option Search for Conference at the conference page + Then a list of all conferencer containg that research line will be presented in the conference screen + #end + + #if($conferencia) + Scenario: Search for conference by Researcher + Given I am at the Seach Conference page + And The system has a conference with "Paulo Borba" as one of its researchers + When I write "Paulo Borba" at the researcher + And I select the option Search for Conference at the conference page + Then a list of all conferencer containg that researcher will be presented in the conference screen + #end + + + + +# voces podem criar cenários para ordenar a lista de conferencia, filtrar a lista, verificar se alguns campos podem ser opcionais, etc. diff --git a/target/test-classes/cucumber/Dissertacao.feature b/target/test-classes/cucumber/Dissertacao.feature new file mode 100644 index 00000000..dbc009a0 --- /dev/null +++ b/target/test-classes/cucumber/Dissertacao.feature @@ -0,0 +1,114 @@ +@i9n +Feature: Dissertation Tests + As a member of a research group + I want to add, remove and modify dissertations I have added + + Scenario: first dissertation and delete + Given the system has no dissertation stored + When I create the dissertation "New dissertation" with file name "dissertation.txt" and school "federal" + And I am at the publications menu + And I select the "Dissertacao" option at the program menu + And I select "Delete dissertation" at the dissertation page + And I delete "New dissertation" + Then the system has no dissertation stored + + Scenario: new dissertation without school + Given the system has no dissertation entitled "Dissertation without school" + When I create the dissertation "Dissertation without school" with file name "Dissertationwithoutschool.txt" without school + Then the system has no dissertation entitled "Dissertation without school" + #if($Dissertation) + And a failure message is shown + #end + + Scenario: new dissertation without address + Given the system has no dissertation entitled "Dissertation without address" + When I create the dissertation "Dissertation without address" with file name "Dissertationwithoutaddress.txt" without address + Then the system has no dissertation entitled "Dissertation without address" + #if($Dissertation) + And a failure message is shown + #end + Scenario: new dissertation + Given the system has no dissertation entitled "New dissertation" + When I create the dissertation "New dissertation" with file name "Newdissertation.txt" and school "UFPE" + Then the dissertation "New dissertation" is properly stored by the system + + Scenario: new dissertation duplicated + Given the dissertation "Dissertation duplicated" is stored in the system with file name "Dissertationduplicated.txt" + When I create the dissertation "Dissertation duplicated" with file name "Dissertationduplicated2.txt" and school "UFPE" + Then the dissertation "Dissertation duplicated" is not stored twice + + Scenario: new dissertation without file + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select the new dissertation option at the dissertation page + And I cant add the dissertation without a file + Then the system has no dissertation entitled "Dissertacao sem arquivo" + + Scenario: upload a dissertation and system has no dissertation stored + Given the system has no dissertation entitled "New dissertation" + When I upload a new dissertation "curriculo4.xml" with title "New dissertation" + Then the system has more dissertations now + + Scenario: new dissertation with file + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select the new dissertation option at the dissertation page + And I can add the dissertation with a file "Modularity.pdf" + Then the system has a dissertation entitled "Dissertacao Teste 1" + + Scenario: edit dissertation + Given the dissertation "Edit dissertation" is stored in the system with file name "Editdissertation.txt" + Given the system has no dissertation entitled "Edit dissertation reviewed" + When I edit the dissertation title from "Edit dissertation" to "Edit dissertation reviewed" + Then the dissertation "Edit dissertation" is properly updated by the system + + Scenario: delete dissertation + Given the dissertation "Delete dissertation" is stored in the system with file name "Deletedissertation.txt" + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select "Delete dissertation" at the dissertation page + And I delete "Delete dissertation" + Then the system has no dissertation entitled "Delete dissertation" + + Scenario: upload dissertation without a file + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select the upload button at the dissertation page + Then I'm still on dissertation page + + Scenario: upload dissertation with a file + Given the system has some dissertation stored + Given the system has no dissertation entitled "New dissertation" + When I upload a new dissertation "curriculo3.xml" with title "New dissertation" + Then the system has more dissertations now + + Scenario: upload a dissertation and system has no dissertation stored + Given the system has no dissertation entitled "New dissertation" + When I upload a new dissertation "curriculo2.xml" with title "New dissertation" + Then the system has more dissertations now + + Scenario: seek a dissertation through keywords + Given there is a dissertation called "curriculo2" with the word "redes neurais" in it is stored. + When I select the option "search with keywords" + And I write "redes neurais" in it + Then a list with "curriculo2" is displayed + + Scenario: upload a dissertation with a incorrect file type + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select the new dissertation option at the dissertation page + And I add the dissertation with "curriculo4.png" + Then the system has no new dissertation + And the system opens a window tellng me that it isnt the appropiate file type + And I am back at the publications menu + + +#if ($contextualInformation) + + Scenario: create a new dissertation with user data already filled by default + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select the new dissertation option at the dissertation page + Then I see my user listed as an author member of dissertation by default + And I see my school name as school of dissertation by default +#end diff --git a/target/test-classes/cucumber/Ferramenta.feature b/target/test-classes/cucumber/Ferramenta.feature new file mode 100644 index 00000000..1db4f31c --- /dev/null +++ b/target/test-classes/cucumber/Ferramenta.feature @@ -0,0 +1,85 @@ +@i9n +Feature: Ferramenta + As a member of a research group + I want to add, remove and modify ferramentas I have added + + # Controller tests + + Scenario: new ferramenta without website + Given the system has no ferramenta entitled "Target" + When I create the ferramenta "Target" with file name "target.pdf" without its website + Then the ferramenta "Target" is not stored + + Scenario: duplicate ferramenta + Given the ferramenta "Emergo" is stored in the system with file name "emergo.pdf" + When I create the ferramenta "Emergo" with file name "emergo.pdf" + Then the ferramenta "Emergo" is not stored twice + + Scenario: edit existing ferramenta + Given the system has a ferramenta entitled "CCFinder" with file name "ccfinder.pdf" + When I edit the ferramenta title from "CCFinder" to "CCFinder REVIEWED" + Then the ferramenta "CCFinder REVIEWED" is properly updated by the system + + Scenario: list ferramentas + Given the ferramenta "Tool" is stored in the system with file name "tool.pdf" + When I create the ferramenta "New" with file name "new.pdf" + Then The system list "Tool" and "New" ferramentas + + Scenario: upload dissertation with a file + Given the system has some ferramenta stored + When I upload a new ferramenta "testelattes.xml" + Then the system has more ferramenta now + + Scenario: remove existing ferramenta + Given the system has a ferramenta entitled "ToolDelete" with file name "tooldelete.pdf" + When I remove the ferramenta entitled "ToolDelete" + Then the ferramenta "ToolDelete" is not stored + + # GUI tests + + Scenario: new ferramenta web + Given I am at the publications menu + When I select the "Ferramenta" option at the publications menu + And I select the new ferramenta option at the ferramenta page + Then I can create a ferramenta filling the details + + Scenario: new ferramenta without any information + Given I am at the publications menu + When I select the "Ferramenta" option at the program menu + And I select the new ferramenta option at the ferramenta page + And I click on Criar button + Then I am still on create new ferramenta page + And the ferramenta is not displayed in the ferramentas list page + + Scenario: upload dissertation without a file + Given I am at the publications menu + When I select the "Ferramenta" option at the program menu + And I select the upload button at the ferramenta page + Then I am still on ferramenta page + + #if ($contextualInformation) + Scenario: new ferramenta filled with user data by default + Given I am at the publications menu + When I select the "Ferramenta" option at the program menu + And I select the new ferramenta option at the ferramenta page + Then I see my user listed as an author member of ferramenta by default + #end + + @ignore + Scenario: edit ferramenta + Given I am at the publications menu + When I select the "Ferramenta" option at the program menu + And I select the new ferramenta option at the ferramenta page + And I create a new ferramenta at ferramenta create page + And I select the edit option at ferramenta show page + And I can modify the name to "TestCucumber" at the edit ferramenta page + Then I can see the new title "TestCucumber" at ferramenta show page + + Scenario: new ferramenta with Titulo exceding caracteres limits + Given I am at the publications menu + When I select the "Ferramenta" option at the program menu + And I select the new ferramenta option at the ferramenta page + And I fill Titulo with more than 255 caracteres + And fill the others fields with valid values without Titulo + Then I am still on create new ferramenta page + And the ferramenta is not displayed in the ferramentas list page diff --git a/target/test-classes/cucumber/Funder.feature b/target/test-classes/cucumber/Funder.feature new file mode 100644 index 00000000..be8c4fe8 --- /dev/null +++ b/target/test-classes/cucumber/Funder.feature @@ -0,0 +1,24 @@ +@i9n +Feature: Funder + As an administrator of the RGMS system + I want to add, remove and modify funders in the system + + Scenario: new funder + Given the system has no funder with code "12345" + When I create a funder with code "12345" + Then the funder with code "12345" is properly stored by the system + + Scenario: remove funder + Given the system has funder with code "12345" + When I remove a funder with code "12345" + Then the system has no funder with code "12345" + + Scenario: duplicated funder + Given the system has funder with code "12345" + When I create a funder with code "12345" + Then there is only one funder with code "12345" in the system + + Scenario: new funder web + Given I am at the create funder page + When I fill the funder code with "12345" + Then the funder with code "12345" is properly stored by the system diff --git a/target/test-classes/cucumber/Member.feature b/target/test-classes/cucumber/Member.feature new file mode 100644 index 00000000..91a73adf --- /dev/null +++ b/target/test-classes/cucumber/Member.feature @@ -0,0 +1,85 @@ +@i9n +Feature: member + As an administrator of the RGMS system + I want to add, remove and modify users in the system. + + Scenario: new member with valid mail server + Given the system has no member with username "usernametest" + When I create a member with username "usernametest" + Then the member with username "usernametest" is properly stored by the system + + Scenario: list existing member + Given the system has member with username "usernametest" + When I view the member list + Then my list members contains member "usernametest" + + Scenario: delete member + Given the system has member with username "usernametest" + When I delete a member with username "usernametest" + Then the member with "usernametest" doesnt exist + + Scenario: new member with existing username + Given the system has member with username "usernametest" + When I create the member with username "usernametest" + Then the member "usernametest" is not registered + + Scenario: new member with existing email + Given the system has member with email "memberEmail@ufpe.br" + When I try to create the member "Rebeca Souza" with email "memberEmail@ufpe.br" + Then the member named "Rebeca Souza" is not registered + + Scenario: login with incorrect password + Given I am at the login page + When I fill username and password with "admin" and "incorrectpassword" + Then I am still on the login page with an error message + + Scenario: user registration + Given I am at the register page + When I fill the user details with a name, username, passoword1, password2, email, university, status "jose" "josesilva" "123456" "123456" "jose@ufpe.br" "UFPE" "Graduate Student" + Then I am redirected to the Login Page + And A message indicating the user was successfully registered is displayed + + Scenario: change password + Given the system has member with username "usernametest" + And the member has the password "12345" + When I change password of "usernametest" to "5555" + And I confirm the decision + Then the member named "usernametest" will have password "5555" + + +# Scenario: create member web +# Given I am at the create member page +# When I fill the user details with "jose" "josesilva" "jose@ufpe.br" "UFPE" +# Then I am on the member show page +# Then the member with username "josesilva" is created + + Scenario: create member web with partial information in chrome + Given I am at the create member page + When I fill some user details with "jose" "josesilva" "jose@ufpe.br" "UFPE" + Then I am still on the create member page with the error message + + Scenario: register user with invalid data + Given I am at the create member page + When I fill the user details with "jose" "josesilva" "jose@com" "UFPE" + Then I am still on the create member page with the error message + + +#Scenario: register member invalid aditional info +# Given I am at the create member page +# When I fill many user details with "berg" "bergU" "jus@cin.ufpe.br" "UFPE" "ajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +# Then I am still on the create member page with the error message + +#Scenario: new member with invalid phone +# Given the system has no member with username "userwithinvalidphone" +# When I create a member with username "userwithinvalidphone" +# Then I am still on the create member page with the error message + +#if ($contextualInformation) + Scenario: new member filled with default data + Given I am at the create member page + Then I see default data filled on create form + + Scenario: user registration with default data + Given I am at the register page + Then I see default data filled on register form +#end diff --git a/target/test-classes/cucumber/News.feature b/target/test-classes/cucumber/News.feature new file mode 100644 index 00000000..7ff5bc8f --- /dev/null +++ b/target/test-classes/cucumber/News.feature @@ -0,0 +1,85 @@ +@i9n +Feature: news + As research group member in RMGS system + I want to publish, remove and modify news about our researches, schedule and any other thing. + Jointly this I want too integrate an twitter account to publish news into RGMS system. + + Scenario: new news + Given the system has no news with description "noticia1teste" and date "07-04-2012" for "SPG" research group + When I create a news with description "noticia1teste" and date "07-04-2012" for "SPG" research group + Then the news with description "noticia1teste", date "07-04-2012" and "SPG" research group is properly stored by the system + + + Scenario: delete news + Given the system has a news with description "noticiaTeste" and date "07-04-2012" for "SPG" research group + When I delete the news with description "noticiaTeste" and date "07-04-2012" for "SPG" research group + Then the news with "noticiaTeste" and date "07-04-2012" doesnt exists to "SPG" research group + + + Scenario: new news with existing matching news + Given the system has a news with description "noticiaTeste" and date "07-04-2012" for "SPG" research group + When I create a news with description "noticiaTeste" and date "07-04-2012" for "SPG" research group + Then the news with "noticiaTeste" and date "07-04-2012" is not registered to "SPG" research group + + + Scenario: integrate Twitter account + Given the research group "SPG" in the system has no Twitter account associated + When I associate the account "@HumanBrainProj" to "SPG" group + Then "SPG" research group has a twitter account "@HumanBrainProj" registered + #Then the news can be retrieved by a Twitter post with "@testetwitteracount" + + Scenario: update news from twitter account + Given the research group "SPG" in the system has a Twitter account "@HumanBrainProj" associated + And the research group "SPG" news list is empty + When I request to update the news from Twitter to research group "SPG" + Then news of "SPG" research group has been updated + + Scenario: consecutive update without duplicate news + Given the research group "SPG" in the system has a Twitter account "@HumanBrainProj" associated + And twitter account associated with "SPG" research group has been updated once + When I request to update the news from Twitter to research group "SPG" + Then there is no duplicated news in Twitter account associated with research group "SPG" + + + Scenario: new news web + Given I am at the publications menu + And I create a research group because it is necessary + When I select the "News" option at the publications menu + And I select the novo noticias option at the news page + Then I can fill the news details + + + Scenario: new invalid news (Description blank) + Given the system has no news with description "" and date "17-12-2013" for "SPG" research group + When I create a news with description "" and date "17-12-2013" for "SPG" research group + Then the news with description "", date "17-12-2013" and "SPG" research group is not stored by the system because it is invalid + + + Scenario: edit existing news + Given the system has a news with description "noticiaTeste" and date "07-04-2012" for "SPG" research group + When I edit the news with description "noticiaTeste" to "newDescription", date "07-04-2012" and "SPG" research group + Then the news "newDescription", date "07-04-2012" and "SPG" research group is properly updated by the system + + Scenario: remove existing news web + Given I am at the publications menu + When I select the news page + And the news "Noticia1" is stored in the system + And I select the option to remove in news show page + Then the news "Noticia1" is properly removed by the system + + + Scenario: new invalid news (invalid date) + Given the system has no news with description "teste" and date "31-02-2013" for "SPG" research group + When I try to create a news with description "teste" and date "31-02-2013" for "SPG" research group + Then the news with description "teste", date "31-02-2013" and "SPG" research group is not stored by the system because it is invalid + #if($news) + And the error message "Cannot create news: invalid date." is displayed + #end + + #if($news) + Scenario: export news to pdf + Given the system has a news with description "noticia para teste" + When I request this news "noticia para teste" download + Then the system creates a pdf file containing the description, date and research group of this news + And the system send this file for the client + #end diff --git a/target/test-classes/cucumber/Orientation.feature b/target/test-classes/cucumber/Orientation.feature new file mode 100644 index 00000000..6ca3f5e4 --- /dev/null +++ b/target/test-classes/cucumber/Orientation.feature @@ -0,0 +1,80 @@ +@i9n +Feature: orientations + As a admin of the system + I want to add, remove and modify orientations I coached + so that I can generate web pages and reports containing these orientations + + Scenario: new orientation + Given the system has no orientations entitled "The Book is on the table" + When I create a new orientation entitled "The Book is on the table" + Then the orientation "The Book is on the table" is properly stored by the system + + Scenario: remove existing orientation + Given the system has an orientation entitled "The Book is on the table" supervised by someone + When I delete the orientation for "The Book is on the table" + Then the orientation for "The Book is on the table" is properly removed by the system + + Scenario: create orientation web + Given I am at the create orientation page + When I fill the orientation title with "The Book of Web Software" + Then the orientation "The Book of Web Software" is properly stored by the system + + Scenario: edit existing orientation web + Given I am at the orientation page + And the orientation "The Book of Software Engineering" is stored in the system + When I select to view orientation "The Book of Software Engineering" in resulting list + And I change the orientation title to "Hexa" + And I select the change option at the orientation edit page + Then the edited orientation "Hexa" is properly stored by the system + + #1 This scenario test are not working well, please check they implementation before undo the comment + #Scenario: new orientation with registered member orientated + # Given the system has no orientations entitled "The Book is on the table 2" + # And Exists a member "Rubens Lopes" with username "rlfs" that has been an registered member + #When I create a orientation for the thesis "The Book is on the table 2" with registered member "rlfs" + #Then the orientation "The Book is on the table 2" is properly stored by the system + + + #2 + Scenario: duplicate orientation + Given the system has an orientation entitled "The Book is on the table" supervised by someone + When I create a new orientation entitled "The Book is on the table" + Then the orientation for the thesis "The Book is on the table" is not stored twice + + #3 + Scenario: create orientation web with invalid year + Given I am at the create orientation page + When I fill the orientation title with "The Book is on the table" and the year with -1 + Then I am still on the create orientation page with an error message + + #5 + Scenario: edit existing orientation web with invalid year + Given I am at the orientation page + And the orientation "The Book is on the table" is stored in the system + When I select to view orientation "The Book is on the table" in resulting list + And I change the orientation title to "Hexa" + And I fill the orientation publication year with -1 + And I select the change option at the orientation edit page + Then I am still on the change orientation page with an error message + + #9 extra + Scenario: remove orientation web + Given I am at the orientation page + And the orientation "Hexa2" is stored in the system + When I select to view "Hexa2" in the list of orientations + And I select the option remove at the orientation show page + Then The orientation "Hexa2" is properly removed by the system + + #if ($XMLImport) + Scenario: upload orientation with a file + Given the system has some orientations stored + When I upload a new orientation "testelattes.xml" + Then the system has more orientations now + + Scenario: upload orientations without a file + Given I am at the publications menu + When I select the "Orientation" option at the program menu + And I select the upload button at the orientations page + Then I'm still on orientations page + And the orientations are not stored by the system + #end diff --git a/target/test-classes/cucumber/Record.feature b/target/test-classes/cucumber/Record.feature new file mode 100644 index 00000000..5f5f0e5c --- /dev/null +++ b/target/test-classes/cucumber/Record.feature @@ -0,0 +1,61 @@ +@i9n +Feature: record + As a member, I want to edit my status and create, edit and remove records + +#Depends on BootStrap code. Remove that. + + Scenario: Delete record without dependency + Given the system has only one record with status "Graduate Student" + And the record with status "Graduate Student" is not associated to a member + When I remove the record with status "Graduate Student" + Then the record with status "Graduate Student" is properly removed by the system + + + Scenario: Delete record with dependency + Given the system has only one record with status "MSc Student" + And the record with status "MSc Student" is associated to a member + When I remove the record with status "MSc Student" + Then the record with status "MSc Student" is not removed by the system + #if($Record) + And the system outputs the error message "Cannot remove an associated member!" + #end + + Scenario: Update record + Given the system has only one record with status "MSc Student" and this record has a null end date + When I update the record with status "MSc Student" with an end date "04/03/2013" + Then the record with status "MSc Student" has end date "04/03/2013" + + Scenario: Create record with same status name + Given the system has only one record with status "MSc Student" + When I create the record with status "MSc Student" + Then the record with status "MSc Student" is properly stored and the system has two records with this status + + Scenario: visualize record web + Given I am logged + And I am at record list + And the system has only one record with status "MSc Student" + When I click the record with status "MSc Student" at the record list + Then I am still at the visualize page of the record with status "MSc Student" + + Scenario: new record web + Given I am logged + And I am at record list + When I click the create record option + Then I can fill the record details + + Scenario: update record with status empty web + Given I am logged + And I am at record list + And the system has only one record with status "MSc Student" + When I click the record with status "MSc Student" at the record list + And I click the edit button of the record + And I set the status to "" and I click the save button + Then I am at the edit page of the record with status "MSc Student" + + Scenario: delete record web with dependency + Given I am logged + And I am at the visualize page of the record with status "MSc Student" + And the system has only one record with status "MSc Student" + And the record with status "MSc Student" is associated to a member + When I click to remove the record + Then I am still at the visualize page of the record with status "MSc Student" diff --git a/target/test-classes/cucumber/Reports.feature b/target/test-classes/cucumber/Reports.feature new file mode 100644 index 00000000..bf58123a --- /dev/null +++ b/target/test-classes/cucumber/Reports.feature @@ -0,0 +1,96 @@ +@i10n +Feature: Reports + I want to generate PDF, HTML or XML report files of Members, Research Groups and News + + Scenario: export existent member report to html + Given I am at the Member list page + When I select the "1" option at the Member list + And I can select the option Export to HTML at the Member show + Then I can generate a HTML report about Member "1" + + Scenario: export existent member report to xml + Given I am at the Member list page + When I select the "1" option at the Member list + And I can select the option Export to XML at the Member show + Then I can generate a XML report about Member "1" + + Scenario: export recently created member report to pdf + Given I am at the publications menu + When I select the Novo Member option + Then I fill the Member details with "John Smith" "JohnSmith" "JohnSmith@gmail.cin.ufpe.br" "UFPE" and create a new one + Then I select the "2" option at the Member list + And I can select the option Export to PDF at the Member show + Then I can generate a PDF report about Member "2" + + Scenario: export report to pdf of recently created research group + Given I am at the publications menu + When I select the "Research Group" option at the publications menu + And I select the new research group option at research group list page + Then I can fill the research group details with name "RGroup" and create a new one + And I select the "RGroup" option at the Research Group list + And I can select the option Export to PDF at the Research Group show + And I can generate a PDF report about Research Group "RGroup" + + + Scenario: export report to html of recently created research group + Given I am at the publications menu + When I select the "Research Group" option at the publications menu + And I select the new research group option at research group list page + Then I can fill the research group details with name "RGroup" and create a new one + And I select the "RGroup" option at the Research Group list + And I can select the option Export to HTML at the Research Group show + And I can generate a HTML report about Research Group "RGroup" + + Scenario: export report to xml of recently created research group + Given I am at the publications menu + When I select the "Research Group" option at the publications menu + And I select the new research group option at research group list page + Then I can fill the research group details with name "RGroup" and create a new one + And I select the "RGroup" option at the Research Group list + And I can select the option Export to XML at the Research Group show + And I can generate a XML report about Research Group "RGroup" + + Scenario: export existent member report to html and access bibtex from him + Given I am at the Member list page + When I select the "1" option at the Member list + And I can select the option Export to HTML at the Member show + And I can generate a HTML report about Member "1" + Then I can select the Member "1" option + And I can see the bibtex details + + Scenario: export recently created member report to html and access bibtex from him + Given I am at the Publications page + When I select the Conferencia option at the Publications menu + And I select the new Conferencia option at the Conferencia page + And I can fill the Conferencia details + And I select the home option at the Conferencia page + And I am at the Publications + And I select the Novo Member option + And I fill the Member details with "Eduardo" "eduardo" "j_ear@cin.ufpe.br" "UFPE" and create a new one + And I select the "3" option at the Member list + And I can select the option Export to HTML at the Member show + And I can generate a HTML report about Member "3" + Then I can select the Member "3" option + And I can see the bibtex details + + Scenario: export existent member report to pdf + Given I am at the Member list page + When I select the "3" option at the Member list + And I can select the option Export to PDF at the Member show + Then I can generate a PDF report about Member "3" + +#if ($news && $HTML) + Scenario: export report link not enabled when there are no news stored in the system + Given I am at the publications menu + And the system has no stored news + When I select the "News" option at the publications menu + Then I can not select the option Export to HTML at the News list page + + Scenario: export report to HTML containing any stored news + Given the system has a Research Group named "News Group" stored in the system + And the system has a news stored with description "The first news" + And I am at the initial RGMS page + When I select the "News" option at the publications menu + And I select the option Export to HTML at the News list page + Then The system generate a HTML report with the news "The first news" in it +#end diff --git a/target/test-classes/cucumber/ResearchGroup.feature b/target/test-classes/cucumber/ResearchGroup.feature new file mode 100644 index 00000000..00b98a39 --- /dev/null +++ b/target/test-classes/cucumber/ResearchGroup.feature @@ -0,0 +1,91 @@ +@i9n +Feature: research group + + Scenario: new researchgroup + Given the system has no research group entitled "modcs" stored in the system + When I create a research group named "modcs" with the description "modcs research group" + Then the research group "modcs" is properly stored by the system + + Scenario: new research group with no name. + Given the system has no research group entitled "" stored in the system + When I create a research group named "" with the description "modcs research group" + Then the research group is not stored in the system because it has no name + + Scenario: new research group with no description. + Given the system has no research group entitled "modcs-20" stored in the system + When I create a research group named "modcs-20" with the description "" + Then the research group with name "modcs-20" is not stored in the system because it has no description + + Scenario: duplicate researchgroup + Given the system has a research group entitled "modcs" with the description "modcs research group" stored in the system + When I create a research group named "modcs" with the description "modcs research group" + Then the research group "modcs" is not stored again in the system + + Scenario: invalid by name size researchgroup + Given the system has no research group entitled "modcs 123456789" stored in the system + When I create a research group named "modcs 123456789" with the description "modcs research group" + Then the research group "modcs 123456789" is not stored in the system because exceeds the number of characters allowed + + + Scenario: editing the researchgroup's description to none + Given the system has a research group entitled "modcs-2" with the description "modcs-2 research group" stored in the system + When I modify the description of research group entitled "modcs-2" to none + Then the description of research group entitled "modcs-2" is not none + + Scenario: editing the researchgroup's name to none + Given the system has a research group entitled "modcs-3" with the description "modcs-3 research group" stored in the system + When I modify the name of research group entitled "modcs-3" to none + Then the research group is not stored in the system because it has no name + + + Scenario:edit research group + Given the system has a research group entitled "modcs" with the description "modcs research group" stored in the system + When I modify the research group entitled "modcs" to "modcs 123" and its description to "modcs research group 1234" + Then the edited research group "modcs 123" with description "modcs research group 1234" is properly stored in the system + + Scenario:delete research group + Given the system has a research group entitled "modcs" with the description "modcs research group" stored in the system + When I delete the research group entitled "modcs" + Then the research group "modcs" is properly deleted of the system + + Scenario: new research group and show via web browser + Given I am at the publications menu + When I select the "Research Group" option at the publications menu + And I select the new research group option at research group list page + Then I can fill the research group details with name "modcs" and create a new one + + Scenario: show research group via web browser + Given I am at the publications menu + And the system has a Research Group named "grupo" stored in the system + And I am at Research Group list menu + And I select a research group called "grupo" + Then the system will show the details of this research group + + Scenario: edit research group via web browser + Given I am at the publications menu + And the system has a Research Group named "PESQUISA" stored in the system + And I am at Research Group list menu + When I select a research group called "PESQUISA" + And I select the edit option + Then I can change the research group name to "rgms" and save it + + + + Scenario: edit childof of research group + Given the system has a research group entitled "group" with childof none + When I modify the childof of research group entitled "group" to itself + Then the childof of research group "group" is none + + + Scenario: edit childof of research group web + Given I am at the publications menu + And I created a research group entitled "rg" with childof none + And I am at Research Group list menu + When I select a research group called "rg" + And I select the edit option + And I change the field childof to research group called "rg" + And I click on update button + Then the childof of research group "rg" is none + + + diff --git a/target/test-classes/cucumber/ResearchLine.feature b/target/test-classes/cucumber/ResearchLine.feature new file mode 100644 index 00000000..7e13bd62 --- /dev/null +++ b/target/test-classes/cucumber/ResearchLine.feature @@ -0,0 +1,62 @@ +@i9n +Feature: research line + As a member of a research group + I want to add, remove and modify research lines I have create + + Scenario: Delete research line + Given the system has a research line named "Novo Padrao Arquitetural MVCE" with a description "Nova arquitetura que promete revolucionar a web" + When I remove the research line "Novo Padrao Arquitetural MVCE" + Then the research line "Novo Padrao Arquitetural MVCE" is properly removed by the system + + Scenario: Update research line + Given the system has a research line named "Teoria da informacao - Complexidade no espaco" with a description "P = NP" + When I update the research line "Teoria da informacao - Complexidade no espaco" with a description "P != NP" + Then the research line "Teoria da informacao - Complexidade no espaco" has the description updated to "P != NP" + + Scenario: Create invalid research line + Given the system has no research line named "IA Avancada" + When I create the research line named "IA Avancada" with empty description + Then the research line "IA Avancada" is not stored, because is invalid + + Scenario: Create research line without member assigned + Given: the system has no research line named "Redes Avancadas" + When I create the research line "Redes Avancadas" with description "Redes de Computadores Avancadas" with no member assigned + Then the research line "Redes Avancadas" is properly saved with no error + + Scenario: new research line web + Given I am at the publications menu + When I select the "Linha de pesquisa" option at the publications menu + And I select the new research line option at the research line page + Then I can fill the research line details + + Scenario: visualize research line web + Given I am logged as admin + And the system has a research line named as "Teoria da informacao - Complexidade no espaco" + And I am at the publications menu + When I select the "Linha de pesquisa" option at the publications menu + And I click the research line "Teoria da informacao - Complexidade no espaco" at the research line list + Then I can visualize the research line "Teoria da informacao - Complexidade no espaco" details + + Scenario: edit research line web + Given I am logged as admin + And the system has a research line named as "Teoria da informacao - Complexidade no espaco" + And I am at the publications menu + When I select the "Linha de pesquisa" option at the publications menu + And I click the research line "Teoria da informacao - Complexidade no espaco" at the research line list + When I click the edit button + Then I can change the research line "Teoria da informacao - Complexidade no espaco" details + + #if ($XMLImport) + @ignore + Scenario: upload research lines with a file + Given the system has some research line stored + When I upload new research lines from the file "testelattes2.xml" + Then the system has more research lines now + + Scenario: upload research lines without a file + Given I am at the publications menu + When I select the "Linha de pesquisa" option at the program menu + And I select the upload button at the research line page + Then I'm still on the research line page + And an error message is showed at the research line page + #end \ No newline at end of file diff --git a/target/test-classes/cucumber/ResearchProject.feature b/target/test-classes/cucumber/ResearchProject.feature new file mode 100644 index 00000000..fbebe225 --- /dev/null +++ b/target/test-classes/cucumber/ResearchProject.feature @@ -0,0 +1,129 @@ +@i9n +Feature: research project + As a member of a research group + I want to add, remove and modify research projects I have created + + @ignore + Scenario: new research project + Given the system has no research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I create a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" with all required data + Then the research project "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is properly stored by the system + + @ignore + Scenario: duplicated research project + Given the system has a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I try to create a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + Then the research project "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is not stored twice + And no research project stored is affected + + @ignore + Scenario: remove research project + Given the system has a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + And I am logged into the system as administrator of the research group named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I remove the research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + Then the research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is properly removed by the system + + Scenario: new research project without funders + Given the system has no research project named as "Implementação Progressiva de Aplicações Orientadas a Aspectos" + When I create a research project named as "Implementação Progressiva de Aplicações Orientadas a Aspectos" without funders + Then the research project "Implementação Progressiva de Aplicações Orientadas a Aspectos" is properly stored by the system + + #if ($XMLImport) + @ignore + Scenario: upload research project with a file + Given the system has some research project stored + And I am logged in the system + When I upload new research projects from the file "testelattes2.xml" + Then the system has more research projects now + + Scenario: upload research project without a file + Given I am at the publications menu + When I select the "Projeto de Pesquisa" option at the program menu + And I select the upload button at the research project page + Then I'm still on the research project page + And the system shows an error message at the research project page +#end + + @ignore + Scenario: list research projects where I am a member + Given I am at the research project list page + When I select the "Meus Projetos de Pesquisa" option at research project menu + Then the system shows a list with the research projects where I am a member + + @ignore + Scenario: filter research projects by name + Given I am at the research projects list page + When I fill the project name field + And select the option "Filtrar Projetos de Pesquisa" + Then the system shows the research projects listed by the research projects name + + @ignore + Scenario: remove research project that does not exist + Given the system has no research projects named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + And I am logged into the system as administrator + When I try to remove a research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + Then nothing happens to the research projects stored + + @ignore + Scenario: edit existing research project + Given the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is stored in the system + And I am logged into the system as administrator of the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I try to edit the research project "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" in the system + And I changed the data of the research project + Then the data of the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is updated in the system + + @ignore + Scenario: new invalid research project with blank name + Given the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is stored in the system + When I try to create a research project named as "" + Then the research project "" is not stored by the system because it is invalid + And no research project stored is affected + + @ignore + Scenario: new invalid research project with blank description + Given the system has no research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I try to create a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" with description field blank + Then the research project "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is not stored by the system because it is invalid + And no research project stored is affected + + @ignore + Scenario: new research project with duplicated members + Given the system has no research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I create a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" with member field duplicated + Then the research project "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is properly stored by the system + And the stored member list does not have duplicated members + + @ignore + Scenario: new research project web + Given I am at new research project page + And the system has no research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I create the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + Then the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is stored by the system + And it is shown in the research project list with name "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + + @ignore + Scenario: new invalid research project with blank name web + Given I am at new research project page + And the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is stored in the system + When I try to create the research project named "" + Then the research project named "" is not stored by the system because it is invalid + And the system shows an error message at the research project page + And no research project stored is affected + + @ignore + Scenario: new invalid research project with blank description web + Given I am at new research project page + And the system has no research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I try to create the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" with description field blank + Then the research project named "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is not stored by the system because it is invalid + And the system shows an error message at the research project page + And no research project stored is affected + + @ignore + Scenario: duplicated research project web + Given I am at new research project page + And the system has a research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + When I try to create the research project named as "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" + Then the research project "Implementação Progressiva de Aplicações Orientadas a Objetos Complexas" is not stored twice + And it is not shown duplicated in the research project list + And the system shows an warning message at the research project page diff --git a/target/test-classes/cucumber/TechnicalReport.feature b/target/test-classes/cucumber/TechnicalReport.feature new file mode 100644 index 00000000..6a92530a --- /dev/null +++ b/target/test-classes/cucumber/TechnicalReport.feature @@ -0,0 +1,67 @@ +@i9n +Feature: technical report + As a member of a research group + I want to add, remove and modify technical report I have published + so that I can generate web pages and reports containing these technical reports + + Scenario: new valid technical report + Given The system has no technical report entitled "Evaluating Natural Languages System" + When I create the technical report "Evaluating Natural Languages System" with file name "EvaluateNLS.txt" + Then The technical report "Evaluating Natural Languages System" is properly stored by the system. + + Scenario: new invalid technical report (empty institution) + Given The system has no technical report entitled "Evaluating Natural Languages System" + When I create the technical report "Evaluating Natural Languages System" with file name "TCS-99.pdf" and empty institution + Then The technical report "Evaluating Natural Languages System" is not properly stored by the system + + Scenario: edit existing technical report with empty title + Given The system has an technical report entitled "NFL Languages System" with file name "NLS.pdf" + When I edit the technical report title from "NFL Languages System" to "" + Then The technical report "NFL Languages System" is not updated by the system + + Scenario: new valid technical report + Given I am at the technical reports page + And The system has no technical report entitled "TechRepo" + When I select the new technical report button + And I fill the technical report details with title "TechRepo" file name "TechRepo.pdf" and institution "UFPE" + And I select the save technical report button + Then The technical report "TechRepo" details page is shown + + Scenario: edit existing technical report with invalid title web + Given I am at the technical reports page + And the technical report "Joe-E" is stored in the system with file name "Joee.pdf" + When I select to view "Joe-E" in technical reports resulting list + And I select the option to edit + And I change the technical report title to a blank one + And I press the button alterar + Then The technical report is not saved by the system + And I remain at the technical report edit page + + @ignore + Scenario: edit existing technical report with valid title, a valid filename and valid institution + Given The system has an technical report entitled "TechRepo" with file name "TechRepo.pdf" and institution "UFPE" + And I am at the technical reports list page + When I select to view "TechRepo" in technical reports resulting list + And I select the option to edit + And I change the technical report title to "TC88" filename to "TCS-88.pdf" and institution to "UFRPE" + And I press the button alterar + Then The technical report "TC88" with filename "TCS-88.pdf" and institution "UFRPE" is properly updated. + And The technical report "TC88" details page is shown + + Scenario: remove existing technical report + Given I am at the technical reports page + And The system has an technical report entitled "Joe-E" with file name "Joee.pdf" + When I select to view the technical report "Joe-E" in resulting list + And I select the option to remove + Then The technical report "Joe-E" is properly removed by the system + And The system goes to the technical reports page + +#if ($contextualInformation) + Scenario: new technical report web has user data already filled by default + Given I am at the publications menu + And I select the "Technical Report" option at the publications menu + When I click on "New TechnicalReport" option at Technical Report list + Then I see my user listed as an author member of technical report by default + And I see my school name as institution of technical report by default +#end + diff --git a/target/test-classes/cucumber/Thesis.feature b/target/test-classes/cucumber/Thesis.feature new file mode 100644 index 00000000..5fcf3c00 --- /dev/null +++ b/target/test-classes/cucumber/Thesis.feature @@ -0,0 +1,132 @@ +@i9n +Feature: Thesis Tests + As a member of a research group + I want to add, remove and modify theses I have added + + Scenario: new thesis duplicated + Given The thesis "Thesis duplicated" is stored in the system with file name "Thesisduplicated.txt" + When I create the thesis "Thesis duplicated" with file name "Thesisduplicated2.txt" and school "UFPE" + Then The thesis "Thesis duplicated" is not stored twice + + Scenario: new thesis + Given The system has no thesis entitled "New thesis" + When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE" + And With publication date "10", "08", Publication year "1998" and author name "Pressman" + Then The thesis "New thesis" is properly stored by the system + +#if($thesis) + Scenario: list thesis + Given the thesis "New thesis" is stored in the system with file name "Newthesis.txt" + When I create the thesis "New thesis2" with file name "Newthesis2.txt" + Then The system list "New thesis" and "New thesis 2" +#end + + Scenario: remove existing thesis + Given the system has thesis entitled "New thesis2" + When I delete the thesis "New thesis2" + Then the thesis "New thesis2" is properly removed by the system + + Scenario: create thesis web + Given I am at the create thesis page + When I fill the thesis details with "Software Engineering", "10", "8", "1998", "Pressman", "UFPE" and "Recife" + Then I am on the thesis show page + And The thesis "Software Engineering" is properly stored by the system + + Scenario: create thesis web with partial information + Given I am at the create thesis page + When I fill some thesis details with "Tese002", "10", "8", "1998", "UFPE" and "Recife" + Then I am still on the create thesis page with the error message + + Scenario: remove existing thesis web + Given I am at the thesis page and the thesis "Software Enginnering2" is stored in the system + When I select to view thesis "Software Enginnering2" in resulting list + And I select the remover option at the thesis show page + Then the thesis "Software Enginnering2" is removed from the system + +#if($publicationYear) + Scenario: filter thesis list by publication year web + Given At least one thesis is stored in the system + And I am at the thesis list page + When I select to filter by the publication year "1998" + Then The returned thesis list shows only the thesis with publication year "1998" +#end + +#if($authorName) + Scenario: filter thesis list by author name web + Given At least one thesis is stored in the system + And I am at the thesis list page + When I select to filter by the author name "Pressman" + Then The returned thesis list shows only the thesis with author name "Pressman" +#end + +#if ($contextualInformation) + Scenario: Add a new thesis with user data already filled by default + Given I am at the publications menu + When I select the "Tese" option at the publications menu + And I select the new thesis option at the thesis page + Then I see my user listed as an author member of thesis by default + And I see my school name as school of thesis by default +#end + + Scenario: order thesis list by date + Given at least one thesis is stored in the system + And I am at the thesis list page + When I click in order thesis by date + Then the returned thesis list has the same items but it is sorted by date + + Scenario: search an existing thesis + Given the system has one thesis entitled "Software Engineering" with author name "Pressman", year of publication "1998" and university "UFPE" + And I am at the thesis search page + When I search for "Software Enginnering" by "Pressman" + And I select to view the entry that has university "UFPE" and publication year "1998" + Then the thesis "Software Enginnering" by "Pressman" appears in the thesis view page + + Scenario: create thesis web without a file + Given I am at the create thesis page + When I fill the thesis fields with "My Thesis", "2014/05/16", "UFPE","Address", "Author","Advisor" + And I click in create button + Then the system shows a warning message "Thesis without file, it is mandatory" + +#if($contextualInformation) + @ignore + Scenario: search an existing thesis filled by default + Given the system has at least one thesis entitled "Software Engineering" + And I am at the thesis search page + And I have already done a search about "Software Enginnering" previously + When I press "S" + And I choose "Software Enginnering" in dropdown search list + And I click in search button + Then all theses entitled "Software Engineering" are shown +#end + + @ignore + Scenario: edit thesis title + Given the system has thesis entitled "My Thesis" + When I change the title from "My Thesis" to "My Thesis Renamed" + Then the thesis entitled "My Thesis Renamed" is properly renamed by the system + And the other theses are not changed by the system + + @ignore + Scenario: edit thesis with invalid data + Given the system has thesis entitled "My Thesis" + When I change the title from "My Thesis" to "" + Then the existing thesis are not changed by the system + + @ignore + Scenario: search a thesis + Given the system has one thesis entitled "My Thesis" + When I search for thesis entitled "My Thesis" + Then the existing thesis are not changed by the system + + @ignore + Scenario: upload thesis with a file + Given The system has no thesis entitled "My Thesis" + When I upload the file "My Thesis.xml" + Then the existing thesis are not changed by the system + And the system stores properly the thesis entitled "My Thesis" +# editar dados de uma tese, ordenar lista de teses, filtrar lista de teses, +# criar tese com dados inválidos, a chave é mesmo o título da tese?, tamanho +# dos campos, o dia e o arquivo deveriam ser opcional, deveria poder adicionar +# o arquivo depois, address deveria ser opcional, deveria ter universidade e +# centro/departamento, deveria ter apenas um autor e a possibilidade de um +# orientador e co-orientador diff --git a/target/test-classes/cucumber/Visit.feature b/target/test-classes/cucumber/Visit.feature new file mode 100644 index 00000000..2ddf3bdc --- /dev/null +++ b/target/test-classes/cucumber/Visit.feature @@ -0,0 +1,140 @@ +@i9n +Feature: Visit + As a member of a research group + I want to add, remove and modify visits of external members to the group + so that I can store the visits that external member perform to the group, so do as the visitor + + Scenario: visit of a day for a non stored visitor + Given the system has no visitor named "Person" + When I create the visit for the visitor "Person" with initial date "11/11/2000" + Then the visitor named "Person" is properly stored by the system + And the visit for the visitor "Person" with initial and final date equal to "11/11/2000" is properly stored by the system + + Scenario: visit of a period for a non stored visitor + Given the system has no visitor named "Person" + When I create the visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" + Then the visitor named "Person" is properly stored by the system + And the visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" is properly stored by the system + + Scenario: visit of a day for a stored visitor + Given the system has visitor named "Person" + When I create the visit for the visitor "Person" with initial date "11/11/2000" + Then the visit for the visitor "Person" with initial and final date equal to "11/11/2000" is properly stored by the system + + Scenario: visit of a period for a stored visitor + Given the system has visitor named "Person" + When I create the visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" + Then the visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" is properly stored by the system + + Scenario: list existing visit + Given the system has visitor named "Person" + And a visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" + When I view the list of visits + Then the list is returned with the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" + + Scenario: list existing visit web + Given I am logged as "admin" and at the visits page + And the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is stored in the system + Then my resulting visits list contains the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" + + Scenario: remove existing visit + Given the system has visitor named "Person" + And a visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" + When I delete the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" + Then the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is properly removed by the system + + Scenario: remove existing visit web + Given I am logged as "admin" and at the visits page + And the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is stored in the system + When I select to view the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" in resulting list + Then the visit details are showed and I can select the option to remove + And the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is properly removed by the system + + Scenario: edit existing visit + Given the system has visitor named "Person" + And a visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" + When I edit the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" to the visitor named "Person Updated" + Then the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is properly updated by the system + + Scenario: edit existing visit web + Given I am logged as "admin" and at the visits page + And the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is stored in the system + When I select to view the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" in resulting list + And I change the visitor name + Then I can select the "Alterar" option visit + And the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is properly updated by the system + + Scenario: new invalid visit + Given the system has visitor named "Person" + When I create the visit for the visitor "Person" with initial date "11/11/2000" and final date "10/11/2000" + Then the visit for the visitor "Person" with initial date "11/11/2000" and final date "10/11/2000" is not stored by the system because it is invalid + + Scenario: invalid edit existing visit + Given the system has visitor named "Person" + And a visit for the visitor "Person" with initial date "11/11/2000" and final date "12/11/2000" + When I try to edit the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" changing the final date to "10/11/2000" + Then the visit of the visitor named "Person" with initial date "11/11/2000" and final date "12/11/2000" is not properly updated by the system because it is invalid + + @ignore + Scenario: list existing visits and periods + Given the system has visits with initial or final date greater than or equal "01/01/2011" + When I list the visits for the period from "01/01/2011" to today + Then no data is stored by the system + + @ignore + Scenario: visit for a stored visitor + Given the system has a visitor named "Person" + When I try to create a visit for the visitor "Person" + Then the visit for the visitor "Person" is not properly stored by the system + + @ignore + Scenario: asking identification for a visitor that already exists + Given I am logged as "admin" + And I am at the Add Visit Page + And the system has a visitor named "Person" + When I try to create a visitor named "Person" + Then the Confirm Identification Page is open + + @ignore + Scenario: confirming identification for a visitor that already exists + Given I am logged as "admin" + And I have tried to create a visit for a visitor that already exists + And I am at the Confirm Identification Page + When I press the "Yes" button + Then the visit for the visitor is properly stored by the system + + @ignore + Scenario: changing the name of a visitor that already exists + Given I am logged as "admin" + And I have tried to create a visit for a visitor that already exists + And I am at the Confirm Identification Page + When I press the "No" button + Then a new visitor is created with a different name + And the new visitor is properly stored by the system + And the visit for the new visitor is properly stored by the system + +#if( $Twitter ) + Scenario: Add a new visit twitting it + Given I am logged as "admin" and at the Add Visit Page + When I try to create an visit + And I share it in Twitter with "rgms_ufpe" and "rgmsadmin2013" + Then A tweet is added to my twitter account regarding the new visit "Primeira Visita" + + Scenario: Add a new visit with twitter, but don't tweet it + Given I am logged as "admin" and at the Add Visit Page + When I try to create an visit + Then The visit "Primeira Visita" is created but no tweet should be post +#end + + +# [5/12/14, 3:38:04 PM] Paulo Borba: voce poderia fazer cenários para devolver uma lista com os nomes dos visitantes e o período da visita, para um dado período +# [5/12/14, 3:38:07 PM] Paulo Borba: algo como +# [5/12/14, 3:39:25 PM] Paulo Borba: Naman Goel (BHU Indian Institute of Technology, India, 5--7/2012), +# Ralf Lämmel (University of Koblenz-Landau, Aelamanha, 8/2012), +# Andrzej Wąsowski (IT University of Copenhagen, Dinamarca, 12/2013). +# [5/12/14, 3:39:33 PM] Paulo Borba: se o período fosse de 2011 pra ca +# [5/12/14, 3:40:02 PM] Paulo Borba: isso mostra alguns dados que precisamos ter sobre a visita +# [5/12/14, 3:40:13 PM] Paulo Borba: e que não estão presentes na versão atual +# [5/12/14, 3:40:46 PM] Paulo Borba: isso pode entao ser usado para revisar e ajustar os outros cenarios +# [5/12/14, 3:41:17 PM] Marcello Valença: certo +# [5/12/14, 3:41:39 PM] Paulo Borba: um outro novo cenário poderia ter a ver com o cadastro de pessoas diferente com o mesmo nome; o sistema deveria perguntar se trata-se da pessoa ja cadastrada diff --git a/target/test-classes/cucumber/XMLImport.feature b/target/test-classes/cucumber/XMLImport.feature new file mode 100644 index 00000000..cc0dcc6a --- /dev/null +++ b/target/test-classes/cucumber/XMLImport.feature @@ -0,0 +1,333 @@ +@i9n +Feature: XMLImport + As a member of a research group + I want to import a xml file + So that the system register the corresponding publications in my profile + + @ignore + Scenario: invalid file web + Given I am at the "Import XML File" Page + When I select the "upload" button + And I upload the file "cv.pdf" + Then the system outputs an error message + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: invalid file + Given the system has some publications stored + When I upload the file "cv.pdf" + Then no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: unformatted xml file + Given the system has some publications stored + When I upload the unformatted file "cvUnformatted.xml" + Then no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: no file web + Given I am at the "Import XML File" Page + And the system has some publications stored + When I click on "upload" without select a xml file + Then the system outputs an error message + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: new publication + Given the system has some publications stored + And the system has no journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me + When I upload the file "cv.xml" which contains a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me + Then the system outputs a list of imported publications which contains the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "stable" + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: confirm import of new publication + Given the system has some publications stored + And the system has no journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me + And the file "cv.xml", which contains a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me, is uploaded + When I confirm the import of the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "stable" + Then the journal article entitled "An Abstract Equivalence Notion for Object Models" is stored by the system + And the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "stable" is removed from the list of imported publications + And the previously stored publications do not change + + @ignore + Scenario: cancel import of new publication + Given the system has some publications stored + And the system has no journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me + And the file "cv.xml", which contains a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me, is uploaded + When I cancel the import of the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "stable" + Then the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "stable" is removed from the list of imported publications + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: publications with same name and different type + Given the system has a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me, among several publications + When I upload the file "cv.xml" which contains a conference article entitled "An Abstract Equivalence Notion for Object Models" authored by me + Then the system outputs a list of imported publications which contains the conference article entitled "An Abstract Equivalence Notion for Object Models" with status "stable" + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: duplicated publication with equal details + Given the system has a journal article entitled "An Abstract Equivalence Notion for Object Models" with some extra information, among several publications + When I upload the file "cv-duplicated.xml" which also contains a journal article entitled "An Abstract Equivalence Notion for Object Models" with the same extra information + Then the system outputs a list of imported publications which does not contain the journal article entitled "An Abstract Equivalence Notion for Object Models" + And the previously stored publications do not change + + @ignore + Scenario: duplicated publications with conflicted details + Given the system has a journal article entitled "An Abstract Equivalence Notion for Object Models" with year "2003" that is authored by me, among several publications + When I upload the file "cv-duplicatedConflictedDetails.xml" which contains a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me with year "2004" + Then the system outputs a list of imported publications which contains the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "conflicted" + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: confirm import of publication with conflicted details + Given the system has a journal article entitled "An Abstract Equivalence Notion for Object Models" with year "2003" that is authored by me, among several publications + And the file "cv-duplicatedConflictedDetails.xml", which contains a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me with year "2004", is uploaded + When I confirm the import of the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "conflicted" + Then the year of the previously stored journal article entitled "An Abstract Equivalence Notion for Object Models" is updated to "2004" by the system + And the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "conflicted" is removed from the list of imported publications + + @ignore + Scenario: cancel import of publication with conflicted details + Given the system has a journal article entitled "An Abstract Equivalence Notion for Object Models" with year "2003" that is authored by me, among several publications + And the file "cv-duplicatedConflictedDetails.xml", which contains a journal article entitled "An Abstract Equivalence Notion for Object Models" authored by me with year "2004", is uploaded + When I cancel the import of the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "conflicted" + Then the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "conflicted" is removed from the list of imported publications + And the previously stored publications do not change + + @ignore + Scenario: duplicated publications with different details + Given the system has a conference article entitled "An Abstract Equivalence Notion for Object Models" with pages "1-14" that is authored by me + When I upload the file "cv-duplicatedDifferentDetails.xml" which contains a conference article entitled "An Abstract Equivalence Notion for Object Models" with locale "Recife" that is also authored by me + Then the system outputs a list of imported publications which contains the conference article entitled "An Abstract Equivalence Notion for Object Models" with status "to update" + And no new publication is stored by the system + And the previously stored publications do not change + + @ignore + Scenario: confirm import of publication with different details + Given the system has a conference article entitled "An Abstract Equivalence Notion for Object Models" with pages "1-14" that is authored by me, among several publications + And the file "cv-duplicatedDifferentDetails.xml", which contains a conference article entitled "An Abstract Equivalence Notion for Object Models" authored by me with locale "Recife", is uploaded + When I confirm the import of the conference article entitled "An Abstract Equivalence Notion for Object Models" with status "to update" + Then the system updates the previously stored journal article entitled "An Abstract Equivalence Notion for Object Models" to include the locale "Recife" + And the journal article entitled "An Abstract Equivalence Notion for Object Models" with status "to update" is removed from the list of imported publications + + @ignore + Scenario: cancel import of publication with different details + Given the system has a conference article entitled "An Abstract Equivalence Notion for Object Models" with pages "1-14" that is authored by me, among several publications + And the file "cv-duplicatedDifferentDetails.xml", which contains a conference article entitled "An Abstract Equivalence Notion for Object Models" authored by me with locale "Recife", is uploaded + When I cancel the import of the conference article entitled "An Abstract Equivalence Notion for Object Models" with status "to update" + And the conference article entitled "An Abstract Equivalence Notion for Object Models" with status "conflicted" is removed from the list of imported publications + And the previously stored publications do not change + + #if ($ResearchLine) + @ignore + Scenario: new research line + Given the system has some research lines stored + And the system has no research line named as "Modularidade Emergente" associated with me + When I upload the file "cv.xml" which contains a research line named as "Modularidade Emergente" + Then the system outputs a list of imported research lines which contains the one named as "Modularidade Emergente" with status "stable" + And no new research line is stored by the system + And the previously stored research lines do not change + + @ignore + Scenario: confirm import of new research line + Given the system has some research lines stored + And the system has no research line named as "Modularidade Emergente" associated with me + And the file "cv.xml", which contains a research line named as "Modularidade Emergente", is uploaded + When I confirm the import of the research line named as "Modularidade Emergente" with status "stable" + Then the research line named as "Modularidade Emergente" is stored by the system + And the research line named as "Modularidade Emergente" with status "stable" is removed from the list of imported research lines + And the previously stored research lines do not change + + @ignore + Scenario: cancel import of new research line + Given the system has some research lines stored + And the system has no research line named as "Modularidade Emergente" associated with me + And the file "cv.xml", which contains a research line named as "Modularidade Emergente", is uploaded + When I cancel the import of the research line named as "Modularidade Emergente" with status "stable" + Then the research line named as "Modularidade Emergente" is not stored by the system + And the research line named as "Modularidade Emergente" with status "stable" is removed from the list of imported research lines + And the previously stored research lines do not change + + @ignore + Scenario: duplicated research line + Given the system has a research line named as "Modularidade Emergente" associated with me, with description "Investigar formas alternativas de modularidade.", among others research lines + When I upload the file "cv-duplicatedRLE.xml" which contains a research line named as "Modularidade Emergente" with description "Investigar formas alternativas de modularidade." + Then the system outputs a list of imported research lines which does not contain the one named as "Modularidade Emergente" + And the previously stored research lines do not change + + @ignore + Scenario: duplicated research line with conflicted details + Given the system has a research line named as "Modularidade Emergente" associated with me, with description "Investigar formas alternativas de modularidade.", among others research lines + When I upload the file "cv-duplicatedRLC.xml" which contains a research line named as "Modularidade Emergente" with description " Investigar formas alternativas de modularidade com o intuito de promover a produtividade deste processo e a qualidade dos seus produtos." + Then the system outputs a list of imported research lines which contains the one named as "Modularidade Emergente" with status "conflicted" + And no new research line is stored by the system + And the previously stored research lines do not change + + @ignore + Scenario: confirm import of research line with conflicted details + Given the system has a research line named as "Modularidade Emergente" associated with me, with description "Investigar formas alternativas de modularidade.", among others research lines + And the file "cv-duplicatedRLC.xml", which contains a research line named as "Modularidade Emergente" with description "Investigar formas alternativas de modularidade com o intuito de promover a produtividade deste processo e a qualidade dos seus produtos.", is uploaded + When I confirm the import of the research line named as "Modularidade Emergente" with status "conflicted" + Then the description of the previously stored research line named as "Modularidade Emergente" is updated to "Investigar formas alternativas de modularidade com o intuito de promover a produtividade deste processo e a qualidade dos seus produtos." by the system + And the research line named as "Modularidade Emergente" with status "conflicted" is removed from the list of imported research lines + + @ignore + Scenario: cancel import of research line with conflicted details + Given the system has a research line named as "Modularidade Emergente" associated with me, with description "Investigar formas alternativas de modularidade.", among others research lines + And the file "cv-duplicatedRLC.xml", which contains a research line named as "Modularidade Emergente" with description "Investigar formas alternativas de modularidade com o intuito de promover a produtividade deste processo e a qualidade dos seus produtos.", is uploaded + When I cancel the import of the research line named as "Modularidade Emergente" with status "conflicted" + And the research line named as "Modularidade Emergente" with status "conflicted" is removed from the list of imported research lines + And the previously stored research lines do not change + #end + + #if($ResearchProject) + @ignore + Scenario: new research project + Given the system has some research projects stored + And the system has no research project named as "Modularização Emergente para Linhas de Produtos de Software" + When I upload the file "cv.xml" which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software" + Then the system outputs a list of imported research projects which contains the one named as "Modularização Emergente para Linhas de Produtos de Software" with status "stable" + And no new research project is stored by the system + And the previously stored research projects do not change + + @ignore + Scenario: confirm import of new research project + Given the system has some research projects stored + And the system has no research project named as "Modularização Emergente para Linhas de Produtos de Software" + And the file "cv.xml", which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software", is uploaded + When I confirm the import of the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "stable" + Then the research project named as "Modularização Emergente para Linhas de Produtos de Software" is stored by the system + And the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "stable" is removed from the list of imported research projects + And the previously stored research projects do not change + + @ignore + Scenario: cancel import of new research project + Given the system has some research projects stored + And the system has no research project named as "Modularização Emergente para Linhas de Produtos de Software" + And the file "cv.xml", which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software", is uploaded + When I cancel the import of the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "stable" + Then the research project named as "Modularização Emergente para Linhas de Produtos de Software" is not stored by the system + And the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "stable" is removed from the list of imported research projects + And the previously stored research projects do not change + + @ignore + Scenario: duplicated research project + Given the system has a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "EM_ANDAMENTO", among several research projects + When I upload the file "cv-duplicatedRPE.xml" which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "EM_ANDAMENTO" + Then the system outputs a list of imported research projects which does not contain the one named as "Modularização Emergente para Linhas de Produtos de Software" + And the previously stored research projects do not change + + @ignore + Scenario: duplicated research project with conflicted details + Given the system has a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "EM_ANDAMENTO", among several research projects + When I upload the file "cv-duplicatedRPC.xml" which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "ENCERRADO" + Then the system outputs a list of imported research projects which contains the one named as "Modularidade Emergente" with status "conflicted" + And no new research project is stored by the system + And the previously stored research projects do not change + + @ignore + Scenario: confirm import of research project with conflicted details + Given the system has a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "EM_ANDAMENTO", among several research projects + And the file "cv-duplicatedRPC.xml", which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "ENCERRADO", is uploaded + When I confirm the import of the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "conflicted" + Then the status of the previously stored research project named as "Modularização Emergente para Linhas de Produtos de Software" is updated to "ENCERRADO" by the system + And the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "conflicted" is removed from the list of imported research projects + + @ignore + Scenario: cancel import of research project with conflicted details + Given the system has a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "EM_ANDAMENTO", among several research projects + And the file "cv-duplicatedRPC.xml", which contains a research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "ENCERRADO", is uploaded + When I cancel the import of the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "conflicted" + And the research project named as "Modularização Emergente para Linhas de Produtos de Software" with status "conflicted" is removed from the list of imported research projects + And the previously stored research projects do not change + #end + + #if($Orientation) + @ignore + Scenario: new orientation + Given the system has some orientations stored + And the system has no master's orientation entitled "Structuring Adaptive Aplications using AspectJ" + When I upload the file "cv.xml" which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" + Then the system outputs a list of imported orientations which contains the one entitled "Structuring Adaptive Aplications using AspectJ" with status "stable" + And no new orientation is stored by the system + And the previously stored orientations do not change + + @ignore + Scenario: confirm import of new orientation + Given the system has some orientations stored + And the system has no master's orientation entitled "Structuring Adaptive Aplications using AspectJ" + And the file "cv.xml", which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ", is uploaded + When I confirm the import of the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "stable" + Then the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" is stored by the system + And the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "stable" is removed from the list of imported orientations + And the previously stored orientations do not change + + @ignore + Scenario: cancel import of new orientation + Given the system has some orientations stored + And the system has no master's orientation entitled "Structuring Adaptive Aplications using AspectJ" + And the file "cv.xml", which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ", is uploaded + When I cancel the import of the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "stable" + Then the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" is not stored by the system + And the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "stable" is removed from the list of imported orientations + And the previously stored orientations do not change + + @ignore + Scenario: orientations with same name and different type + Given the system has a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" + When I upload the file "cv-orientation.xml" which contains a doctorate's orientation entitled "Structuring Adaptive Aplications using AspectJ" + Then the doctorate's orientation entitled "Structuring Adaptive Aplications using AspectJ" is stored by the system + And the previously stored master's orientation does not change + + @ignore + Scenario: orientations with same name and different type + Given the system has a master's orientation entitled "Structuring Adaptive Aplications using AspectJ", among several orientations + When I upload the file "cv-orientation.xml" which contains a doctorate's orientation entitled "Structuring Adaptive Aplications using AspectJ" + Then the system outputs a list of imported orientations which contains the doctorate's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "stable" + And no new orientation is stored by the system + And the previously stored orientations do not change + + @ignore + Scenario: duplicated orientation with equal details + Given the system has a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2004", among several orientations + When I upload the file "cv-duplicatedOrientationE.xml" which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2004" + Then the system outputs a list of imported orientations which does not contain the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2004" + And the previously stored orientations do not change + + @ignore + Scenario: duplicated orientation with conflicted details + Given the system has a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2004", among several orientations + When I upload the file "cv-duplicatedOrientationC.xml" which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2003" + Then the system outputs a list of imported orientations which contains the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "conflicted" + And no new orientation is stored by the system + And the previously stored orientations do not change + + @ignore + Scenario: confirm import of orientation with conflicted details + Given the system has a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2004", among several orientations + And the file "cv-duplicatedOrientationC.xml", which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2003", is uploaded + When I confirm the import of the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "conflicted" + Then the year of the previously stored master's orientation entitled "Structuring Adaptive Aplications using AspectJ" is updated to "2003" by the system + And the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "conflicted" is removed from the list of imported orientations + + @ignore + Scenario: cancel import of orientation with conflicted details + Given the system has a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2004", among several orientations + And the file "cv-duplicatedOrientationC.xml", which contains a master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with year "2003", is uploaded + When I cancel the import of the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "conflicted" + And the master's orientation entitled "Structuring Adaptive Aplications using AspectJ" with status "conflicted" is removed from the list of imported orientations + And the previously stored orientations do not change +#end +# o que acontece quando o arquivo tem publicações já cadastradas? e +# publicações com mesmos títulos mas outras partes diferentes? e +# se o arquivo nao estiver no formato correto? diff --git a/target/test-classes/cucumber/steps/sample.bibtex b/target/test-classes/cucumber/steps/sample.bibtex new file mode 100644 index 00000000..14302fb7 --- /dev/null +++ b/target/test-classes/cucumber/steps/sample.bibtex @@ -0,0 +1,26 @@ +@MASTERSTHESIS{Gor:2008, + author = {Samir Gorsky}, + title = {A semntica algbrica para as lgicas modais e seu interesse filosfico}, + school = {IFCH-UNICAMP}, + year = {2008}, + address = {Campinas, Brazil}, + note = {\\ URL = http://samirgorsky.vilabol.uol.com.br/logicamodal.pdf}, +} + +@PHDTHESIS{dCosta_1963_Inconsistent_Formal_Systems, + author = {N. C. A. da Costa}, + title = "Inconsistent Formal Systems \emph{(in Portuguese)}", + school = {Federal University of Parana}, + year = {1963}, + address = "Curitiba, Brazil", + note = {Edited by Editora UFPR, Curitiba, 1993}, +} + +@PHDTHESIS{diogo_doctor, + author = {D. V. de S. Silva}, + title = "Doctor Thesis", + school = {Federal University of Pernambuco}, + year = {2013}, + address = "Recife, Brazil", + note = {Edited by Editora UFPE, Recife, 2013}, +} \ No newline at end of file diff --git a/target/test-classes/facebook.properties b/target/test-classes/facebook.properties new file mode 100644 index 00000000..92098d4b --- /dev/null +++ b/target/test-classes/facebook.properties @@ -0,0 +1 @@ +appid='642760719075660' \ No newline at end of file diff --git a/target/test-classes/files/ArticleExample.pdf b/target/test-classes/files/ArticleExample.pdf new file mode 100644 index 00000000..5eda7990 Binary files /dev/null and b/target/test-classes/files/ArticleExample.pdf differ diff --git a/target/test-classes/files/ArticleExample2.pdf b/target/test-classes/files/ArticleExample2.pdf new file mode 100644 index 00000000..5eda7990 Binary files /dev/null and b/target/test-classes/files/ArticleExample2.pdf differ diff --git a/target/test-classes/files/ArticleExample3.pdf b/target/test-classes/files/ArticleExample3.pdf new file mode 100644 index 00000000..5eda7990 Binary files /dev/null and b/target/test-classes/files/ArticleExample3.pdf differ diff --git a/target/test-classes/files/ArticleExample4.pdf b/target/test-classes/files/ArticleExample4.pdf new file mode 100644 index 00000000..5eda7990 Binary files /dev/null and b/target/test-classes/files/ArticleExample4.pdf differ diff --git a/target/test-classes/files/TCS.pdf b/target/test-classes/files/TCS.pdf new file mode 100644 index 00000000..c838a48e Binary files /dev/null and b/target/test-classes/files/TCS.pdf differ diff --git a/target/test-classes/files/testelattes.xml b/target/test-classes/files/testelattes.xml new file mode 100644 index 00000000..8be42eea --- /dev/null +++ b/target/test-classes/files/testelattes.xml @@ -0,0 +1,3092 @@ + + + + + + + + + + + + + + + + + + + + + + Theorem Proving and Algebra + Algebraic Semantics + + + + + + + + + + + + + + + + + + + + + + + + + + + Introduo a Programao (Orientada a Objetos com + Java) + + Programao Orientada a Objetos (e Java) + Engenharia de Software + Trabalho de Graduao em Engenharia de Software + + + + Paradigmas de Linguagens de Programao + Especificao de Sistemas Distribudos + Trabalho Individual em Engenharia de Software + + Introduo ao RUP--Rational Unified Process + Mtodos Formais + Programao Orientada a Objetos com AspectJ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/test-classes/files/testelattes2.xml b/target/test-classes/files/testelattes2.xml new file mode 100644 index 00000000..daa5b33f --- /dev/null +++ b/target/test-classes/files/testelattes2.xml @@ -0,0 +1,3429 @@ + + + + + + + + + + + + + + + + + + + + + + + + Algebraic Semantics + Theorem Proving and Algebra + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Engenharia de Software + Introduo a Programao (Orientada a Objetos com Java) + Programao Orientada a Objetos (e Java) + Trabalho de Graduao em Engenharia de Software + + + Especificao de Sistemas Distribudos + Introduo ao RUP--Rational Unified Process + Mtodos Formais (Especificaes Algbricas) + Novos Conceitos de Modularidade de Software + Paradigmas de Linguagens de Programao + Programao Orientada a Aspectos com AspectJ + Trabalho Individual em Engenharia de Software + + + Programao Orientada a Objetos (e Java) + + + Orientao a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, maro de 2006, setembro e outubro de 2006, abril de 200 + + + Engenharia de Software (Programa de Capacitao Tecnolgica da Motorola) + Introduo e Administrao de Sistemas UNIX (Extenso para a FISEPE) + Orientao a Objetos e Java (InfoCampus, UFPE) + Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/test-classes/functional/steps/CCFinder.pdf b/target/test-classes/functional/steps/CCFinder.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/CCFinder.pdf differ diff --git a/target/test-classes/functional/steps/Delete dissertation.txt b/target/test-classes/functional/steps/Delete dissertation.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Delete dissertation.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/Dissertationduplicated.txt b/target/test-classes/functional/steps/Dissertationduplicated.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Dissertationduplicated.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/Dissertationduplicated2.txt b/target/test-classes/functional/steps/Dissertationduplicated2.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Dissertationduplicated2.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/Dissertationwithoutschool.txt b/target/test-classes/functional/steps/Dissertationwithoutschool.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Dissertationwithoutschool.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/Editdissertation.txt b/target/test-classes/functional/steps/Editdissertation.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Editdissertation.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/EvaluateNLS.txt b/target/test-classes/functional/steps/EvaluateNLS.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/EvaluateNLS.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/Joee.pdf b/target/test-classes/functional/steps/Joee.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/Joee.pdf differ diff --git a/target/test-classes/functional/steps/Joee1.pdf b/target/test-classes/functional/steps/Joee1.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/Joee1.pdf differ diff --git a/target/test-classes/functional/steps/Newdissertation.txt b/target/test-classes/functional/steps/Newdissertation.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Newdissertation.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/Newdissertation2.txt b/target/test-classes/functional/steps/Newdissertation2.txt new file mode 100644 index 00000000..a0e749b4 --- /dev/null +++ b/target/test-classes/functional/steps/Newdissertation2.txt @@ -0,0 +1,409 @@ +| Loading Grails 2.1.0 +| Configuring classpath. +| Environment set to test..... +| Compiling 1 source files..... +| Packaging Grails application. +| Compiling 1 source files..... +| Running Grails application +| Server running. Browse to http://localhost:8080/rgms +| Compiling 48 source files. +| Running 89 cucumber tests... +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at pages.UserRegisterPage.createNewUser(UserRegisterPage.groovy:33) + at AuthenticationSteps$_run_closure15.doCall(AuthenticationSteps.groovy:84) + at ?.When I register a user with success(Authentication.feature:25) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at geb.content.NavigableSupport.propertyMissing(NavigableSupport.groovy:143) + at AuthenticationSteps$_run_closure19.doCall(AuthenticationSteps.groovy:109) + at ?.When I try to create a "newuser" username with the "invalid email abcde" email(Authentication.feature:33) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure21.doCall(AuthenticationSteps.groovy:126) + at ?.And The University field is filled with "Federal University of Pernambuco"(Authentication.feature:66) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at AuthenticationSteps$_run_closure22.doCall(AuthenticationSteps.groovy:132) + at ?.And I mistype my password at the second password field(Authentication.feature:82) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:13) +Assertion failed: + +assert bookChapter != null + | | + null false + + at BookChapterSteps$_run_closure4.doCall(BookChapterSteps.groovy:31) + at ?.Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-0.pdf"(BookChapter.feature:18) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "I International Conference on Software Engineering" is stored in the system with file name "IICSE-0.pdf"(Conferencia.feature:13) +Assertion failed: + +assert conferencia != null + | | + null false + + at ConferenciaSteps$_run_closure4.doCall(ConferenciaSteps.groovy:28) + at ?.Given the conferencia "IV Conference on Software Product Lines" is stored in the system with file name "IICSE.pdf"(Conferencia.feature:18) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao edit"(Dissertacao.feature:29) +Assertion failed: + +assert article != null + | | + null false + + at DissertacaoSteps$_run_closure10.doCall(DissertacaoSteps.groovy:63) + at ?.Given the system has a dissertation entitled "Nova Dissertacao delete"(Dissertacao.feature:38) +Assertion failed: + +title ==~ /Dissertacao Listagem/ +| | +| false +Grails Runtime Exception + + at pages.DissertationPage$__clinit__closure1.doCall(DissertationPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at DissertacaoSteps$_run_closure16.doCall(DissertacaoSteps.groovy:91) + at ?.Then I'm still on dissertation page(Dissertacao.feature:49) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadDissertacao(TestDataAndOperations.groovy:201) + at DissertacaoSteps$_run_closure18.doCall(DissertacaoSteps.groovy:98) + at ?.When I upload a new dissertation "C:\testelattes.xml"(Dissertacao.feature:53) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:8) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Nova Ferramenta"(Ferramenta.feature:13) +Assertion failed: + +assert article != null + | | + null false + + at FerramentaSteps$_run_closure1.doCall(FerramentaSteps.groovy:15) + at ?.Given The system has a ferramenta entitled "Ferramenta1"(Ferramenta.feature:18) +groovy.lang.MissingMethodException: No signature of method: rgms.publication.Ferramenta.findByTitle() is applicable for argument types: () values: [] +Possible solutions: findByTitle([Ljava.lang.Object;) + at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:105) + at FerramentaSteps$_run_closure10.doCall(FerramentaSteps.groovy:51) + at ?.Then The ferramenta is not stored(Ferramenta.feature:27) +Assertion failed: + +title ==~ /Ferramenta Listagem/ +| | +| false +Grails Runtime Exception + + at pages.FerramentaPage$__clinit__closure1.doCall(FerramentaPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at FerramentaSteps$_run_closure17.doCall(FerramentaSteps.groovy:92) + at ?.Then I'm still on ferramenta page(Ferramenta.feature:32) +java.io.FileNotFoundException: C:\testelattes.xml (O sistema n�o pode encontrar o arquivo especificado) + at java.io.FileInputStream.(FileInputStream.java:138) + at steps.TestDataAndOperations.uploadFerramenta(TestDataAndOperations.groovy:209) + at FerramentaSteps$_run_closure19.doCall(FerramentaSteps.groovy:99) + at ?.When I upload a new ferramenta "C:\testelattes.xml"(Ferramenta.feature:36) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at ?.When I create a member with username "usernametest"(Member.feature:8) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} j63sm12972692yhh.17 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure2.doCall(MemberSteps.groovy:16) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:12) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} v68sm12949021yhn.22 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at ?.Given the system has member with username "usernametest"(Member.feature:17) +Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at +535-5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 +535 5.7.8 {BADCREDENTIALS} a28sm13071816yha.0 - gsmtp + + at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648) + at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583) + at javax.mail.Service.connect(Service.java:291) + at grails.plugin.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:104) + at grails.plugin.mail.MailService.sendMail(MailService.groovy:41) + at MailGrailsPlugin$_configureSendMail_closure6.doCall(MailGrailsPlugin.groovy:170) + at rgms.member.MemberController$_closure4.doCall(MemberController.groovy:59) + at steps.TestDataAndOperations.createMember(TestDataAndOperations.groovy:319) + at MemberSteps$_run_closure10.doCall(MemberSteps.groovy:57) + at cucumber.runtime.groovy.GroovyBackend.invoke(GroovyBackend.java:143) + at cucumber.runtime.groovy.GroovyStepDefinition$1.call(GroovyStepDefinition.java:67) + at cucumber.runtime.Timeout.timeout(Timeout.java:12) + at cucumber.runtime.groovy.GroovyStepDefinition.execute(GroovyStepDefinition.java:64) + at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38) + at cucumber.runtime.Runtime.runStep(Runtime.java:267) + at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) + at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) + at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36) + at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112) + at grails.plugin.cucumber.Cucumber$_run_closure2.doCall(Cucumber.groovy:58) + at grails.plugin.cucumber.Cucumber.run(Cucumber.groovy:57) + at grails.plugin.cucumber.CucumberTestType.runFeatures(CucumberTestType.groovy:102) + at grails.plugin.cucumber.CucumberTestType.doRun(CucumberTestType.groovy:57) + at _GrailsTest_groovy$_run_closure4.doCall(_GrailsTest_groovy:290) + at _GrailsTest_groovy$_run_closure2.doCall(_GrailsTest_groovy:248) + at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:195) + at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184) + at TestApp$_run_closure1.doCall(TestApp.groovy:82) +Assertion failed: + +title ==~ /Ver Member/ +| | +| false +Grails Runtime Exception + + at pages.member.MemberViewPage$__clinit__closure1.doCall(MemberViewPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at MemberSteps$_run_closure18.doCall(MemberSteps.groovy:106) + at ?.Then I am on the member show page(Member.feature:34) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:7) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:13) +java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5 + at geb.error.GebException.(GebException.groovy:20) + at geb.error.UndefinedPageContentException.(UndefinedPageContentException.groovy:20) + at geb.content.NavigableSupport.getContent(NavigableSupport.groovy:45) + at geb.content.NavigableSupport.methodMissing(NavigableSupport.groovy:123) + at ReportsSteps$_run_closure2.doCall(ReportsSteps.groovy:24) + at ?.When I select the "1" option at the Member list(Reports.feature:19) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo1" group(Reports.feature:24) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo12" group(Reports.feature:30) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupListPage$__clinit__closure1.doCall(ResearchGroupListPage.groovy:9) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ReportsSteps$_run_closure9.doCall(ReportsSteps.groovy:86) + at ?.Given I am at the Research Group list page and I select the "testehugo123" group(Reports.feature:36) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure22.doCall(ResearchGroupSteps.groovy:123) + at ?.And i select the new research group option at research group list page(ResearchGroup.feature:52) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "grupo" stored in the system(ResearchGroup.feature:56) +groovy.lang.MissingMethodException: No signature of method: static pages.GetPageTitle.getMessage() is applicable for argument types: (java.lang.String) values: [researchGroup.label] +Possible solutions: getMessage(java.lang.String) + at pages.ResearchGroupPage$__clinit__closure1.doCall(ResearchGroupPage.groovy:20) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at ResearchGroupSteps$_run_closure24.doCall(ResearchGroupSteps.groovy:141) + at ?.Given the system has a "Research Group" named "PESQUISA" stored in the system(ResearchGroup.feature:62) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:10) +Assertion failed: + +title ==~ /Ver TechnicalReport/ +| | +| false +TechnicalReport Listagem + + at pages.TechnicalReportShowPage$__clinit__closure1.doCall(TechnicalReportShowPage.groovy:10) + at geb.Page.verifyAt(Page.groovy:132) + at geb.Browser.doAt(Browser.groovy:335) + at geb.Browser.at(Browser.groovy:259) + at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:72) + at TechnicalReportSteps$_run_closure2.doCall(TechnicalReportSteps.groovy:25) + at ?.When I select to view "Evaluating Natural Languages System" in resulting technical report list(TechnicalReport.feature:17) +groovy.lang.MissingMethodException: No signature of method: steps.TestDataAndOperations$_compatibleTechTo_closure15.doCall() is applicable for argument types: (rgms.publication.TechnicalReport) values: [NFL Languages System] +Possible solutions: doCall(java.lang.Object, java.lang.Object), call(), call([Ljava.lang.Object;), call(java.lang.Object), call(java.lang.Object, java.lang.Object), findAll() + at steps.TestDataAndOperations.compatibleTechTo(TestDataAndOperations.groovy:331) + at TechnicalReportSteps$_run_closure9.doCall(TechnicalReportSteps.groovy:62) + at ?.Then The technical report "NFL Languages System" is not properly stored by the system(TechnicalReport.feature:24) +| Completed 89 cucumber tests, 29 failed in 173546ms +| Server stopped +| Tests FAILED - view reports in C:\Users\Paola2\Documents\GitHub\workrgms\rgms\target\test-reports \ No newline at end of file diff --git a/target/test-classes/functional/steps/NewthesisGUI.txt b/target/test-classes/functional/steps/NewthesisGUI.txt new file mode 100644 index 00000000..eddf3b42 --- /dev/null +++ b/target/test-classes/functional/steps/NewthesisGUI.txt @@ -0,0 +1,711 @@ + + + + + + + + + rgms/test/functional/steps/NewthesisGUI.txt at master · macenas/rgms + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    + + + + + +
    + + +
    +
    + + + + + +
    + + This repository + + +
    +
    + +
    + + +
    This repository
    +
    + +
    + + +
    All repositories
    +
    + +
    +
    +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    +
    + + + + + + + + +
    + +
    +
    + + +
      + +
    • +
      + +
      + + + + + Unwatch + + + +
      +
      +
      + Notification status + +
      + +
      + +
      + +
      + +

      Not watching

      + You only receive notifications for discussions in which you participate or are @mentioned. + + + Watch + +
      +
      + +
      + +
      + +

      Watching

      + You receive notifications for all discussions in this repository. + + + Unwatch + +
      +
      + +
      + +
      + +

      Ignoring

      + You do not receive any notifications for discussions in this repository. + + + Stop ignoring + +
      +
      + +
      + +
      +
      +
      + +
      +
    • + +
    • + + + +
    • + + +
    • + + Fork + + +
    • + + +
    + +

    + public + + + /rgms + + + Octocat-spinner-32 + + + + forked from spgroup/rgms + +

    +
    +
    + +
    + +
    + +
    + + + + +
    + + + + +
    +

    HTTPS clone URL

    + + + + +
    + + + +
    +

    SSH clone URL

    + + + + +
    + + + +
    +

    Subversion checkout URL

    + + + + +
    + + + +

    You can clone with + HTTPS, + SSH, + Subversion, + and other methods. +

    + + + + + Clone in Desktop + + + + + Download ZIP + +
    +
    + +
    + + + + + + + + +Show File Finder + +
    + + + +
    + + + branch: + master + + +
    + +
    +
    + Switch branches/tags + +
    + +
    +
    + +
    +
    + +
    +
    + +
    + +
    + + +
    + + master +
    +
    + +
    + +
    +

    Create branch:

    + from ‘master’ +
    + + + +
    + +
    + +
    +
    + + +
    + +
    Nothing to show
    +
    + +
    +
    +
    + + +
    + + +
    + Fetching contributors… + +
    +

    Octocat-spinner-32-eaf2f5

    +

    Cannot retrieve contributors at this time

    +
    +
    + +
    +
    +
    +
    + + file + 25 lines (20 sloc) + 1.017 kb +
    + + +
    +
    + + + + + +
    + 1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 + + +
    @i9n
    Feature: Thesis Tests
      As a member of a research group
      I want to add, remove and modify theses I have added

      Scenario: new thesis
        Given The system has no thesis entitled "New thesis"
        When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE"
        Then The thesis "New thesis" is properly stored by the system
        
      Scenario: new thesis duplicated
        Given The thesis "Thesis duplicated" is stored in the system with file name "Thesisduplicated.txt"
        When I create the thesis "Thesis duplicated" with file name "Thesisduplicated2.txt" and school "UFPE"
        Then The thesis "Thesis duplicated" is not stored twice

      Scenario: create thesis web
        Given I am at the create thesis page
        When I fill the thesis details
        Then I am on the thesis show page

      Scenario: create thesis web with partial information
        Given I am at the create thesis page
        When I fill some thesis details
        Then I am still on the create thesis page with the error message
    +
    +
    + +
    +
    + + + + +
    + +
    + +
    +
    + + +
    + +
    + +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    + +
    + + + +
    + + + Something went wrong with that request. Please try again. +
    + + + + + diff --git a/target/test-classes/functional/steps/NewthesisGUI2.txt b/target/test-classes/functional/steps/NewthesisGUI2.txt new file mode 100644 index 00000000..eddf3b42 --- /dev/null +++ b/target/test-classes/functional/steps/NewthesisGUI2.txt @@ -0,0 +1,711 @@ + + + + + + + + + rgms/test/functional/steps/NewthesisGUI.txt at master · macenas/rgms + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    + + + + + +
    + + +
    +
    + + + + + +
    + + This repository + + +
    +
    + +
    + + +
    This repository
    +
    + +
    + + +
    All repositories
    +
    + +
    +
    +
    + + + + + + + + +
    + +
    + + + + + + + + + + + + +
    +
    + + + + + + + + +
    + +
    +
    + + +
      + +
    • +
      + +
      + + + + + Unwatch + + + +
      +
      +
      + Notification status + +
      + +
      + +
      + +
      + +

      Not watching

      + You only receive notifications for discussions in which you participate or are @mentioned. + + + Watch + +
      +
      + +
      + +
      + +

      Watching

      + You receive notifications for all discussions in this repository. + + + Unwatch + +
      +
      + +
      + +
      + +

      Ignoring

      + You do not receive any notifications for discussions in this repository. + + + Stop ignoring + +
      +
      + +
      + +
      +
      +
      + +
      +
    • + +
    • + + + +
    • + + +
    • + + Fork + + +
    • + + +
    + +

    + public + + + /rgms + + + Octocat-spinner-32 + + + + forked from spgroup/rgms + +

    +
    +
    + +
    + +
    + +
    + + + + +
    + + + + +
    +

    HTTPS clone URL

    + + + + +
    + + + +
    +

    SSH clone URL

    + + + + +
    + + + +
    +

    Subversion checkout URL

    + + + + +
    + + + +

    You can clone with + HTTPS, + SSH, + Subversion, + and other methods. +

    + + + + + Clone in Desktop + + + + + Download ZIP + +
    +
    + +
    + + + + + + + + +Show File Finder + +
    + + + +
    + + + branch: + master + + +
    + +
    +
    + Switch branches/tags + +
    + +
    +
    + +
    +
    + +
    +
    + +
    + +
    + + +
    + + master +
    +
    + +
    + +
    +

    Create branch:

    + from ‘master’ +
    + + + +
    + +
    + +
    +
    + + +
    + +
    Nothing to show
    +
    + +
    +
    +
    + + +
    + + +
    + Fetching contributors… + +
    +

    Octocat-spinner-32-eaf2f5

    +

    Cannot retrieve contributors at this time

    +
    +
    + +
    +
    +
    +
    + + file + 25 lines (20 sloc) + 1.017 kb +
    + + +
    +
    + + + + + +
    + 1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 + + +
    @i9n
    Feature: Thesis Tests
      As a member of a research group
      I want to add, remove and modify theses I have added

      Scenario: new thesis
        Given The system has no thesis entitled "New thesis"
        When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE"
        Then The thesis "New thesis" is properly stored by the system
        
      Scenario: new thesis duplicated
        Given The thesis "Thesis duplicated" is stored in the system with file name "Thesisduplicated.txt"
        When I create the thesis "Thesis duplicated" with file name "Thesisduplicated2.txt" and school "UFPE"
        Then The thesis "Thesis duplicated" is not stored twice

      Scenario: create thesis web
        Given I am at the create thesis page
        When I fill the thesis details
        Then I am on the thesis show page

      Scenario: create thesis web with partial information
        Given I am at the create thesis page
        When I fill some thesis details
        Then I am still on the create thesis page with the error message
    +
    +
    + +
    +
    + + + + +
    + +
    + +
    +
    + + +
    + +
    + +
    + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    + +
    + + + +
    + + + Something went wrong with that request. Please try again. +
    + + + + + diff --git a/target/test-classes/functional/steps/Ngs.pdf b/target/test-classes/functional/steps/Ngs.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/Ngs.pdf differ diff --git a/target/test-classes/functional/steps/TCS-01.pdf b/target/test-classes/functional/steps/TCS-01.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-01.pdf differ diff --git a/target/test-classes/functional/steps/TCS-02.pdf b/target/test-classes/functional/steps/TCS-02.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-02.pdf differ diff --git a/target/test-classes/functional/steps/TCS-03.pdf b/target/test-classes/functional/steps/TCS-03.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-03.pdf differ diff --git a/target/test-classes/functional/steps/TCS-04.pdf b/target/test-classes/functional/steps/TCS-04.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-04.pdf differ diff --git a/target/test-classes/functional/steps/TCS-05.pdf b/target/test-classes/functional/steps/TCS-05.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-05.pdf differ diff --git a/target/test-classes/functional/steps/TCS-100.pdf b/target/test-classes/functional/steps/TCS-100.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-100.pdf differ diff --git a/target/test-classes/functional/steps/TCS-101.pdf b/target/test-classes/functional/steps/TCS-101.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-101.pdf differ diff --git a/target/test-classes/functional/steps/TCS-77.pdf b/target/test-classes/functional/steps/TCS-77.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-77.pdf differ diff --git a/target/test-classes/functional/steps/TCS-88.pdf b/target/test-classes/functional/steps/TCS-88.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-88.pdf differ diff --git a/target/test-classes/functional/steps/TCS-99.pdf b/target/test-classes/functional/steps/TCS-99.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS-99.pdf differ diff --git a/target/test-classes/functional/steps/TCS.pdf b/target/test-classes/functional/steps/TCS.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TCS.pdf differ diff --git a/target/test-classes/functional/steps/TechRepo.pdf b/target/test-classes/functional/steps/TechRepo.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TechRepo.pdf differ diff --git a/target/test-classes/functional/steps/TestMax.pdf b/target/test-classes/functional/steps/TestMax.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/TestMax.pdf differ diff --git a/target/test-classes/functional/steps/curriculo.xml b/target/test-classes/functional/steps/curriculo.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/target/test-classes/functional/steps/curriculo.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/target/test-classes/functional/steps/curriculo2.xml b/target/test-classes/functional/steps/curriculo2.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/target/test-classes/functional/steps/curriculo2.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/target/test-classes/functional/steps/curriculo3.xml b/target/test-classes/functional/steps/curriculo3.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/target/test-classes/functional/steps/curriculo3.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/target/test-classes/functional/steps/curriculo4.xml b/target/test-classes/functional/steps/curriculo4.xml new file mode 100644 index 00000000..24b3c62e --- /dev/null +++ b/target/test-classes/functional/steps/curriculo4.xml @@ -0,0 +1 @@ +Algebraic SemanticsTheorem Proving and AlgebraEngenharia de SoftwareIntrodução a Programação (Orientada a Objetos com Java)Programação Orientada a Objetos (e Java)Trabalho de Graduação em Engenharia de SoftwareEspecificação de Sistemas DistribuídosIntrodução ao RUP--Rational Unified ProcessMétodos Formais (Especificações Algébricas)Novos Conceitos de Modularidade de SoftwareParadigmas de Linguagens de ProgramaçãoProgramação Orientada a Aspectos com AspectJTrabalho Individual em Engenharia de SoftwareProgramação Orientada a Objetos (e Java)Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200Engenharia de Software (Programa de Capacitação Tecnológica da Motorola)Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE)Orientação a Objetos e Java (InfoCampus, UFPE)Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) \ No newline at end of file diff --git a/target/test-classes/functional/steps/curriculo_conferencias.xml b/target/test-classes/functional/steps/curriculo_conferencias.xml new file mode 100644 index 00000000..6dddd6af --- /dev/null +++ b/target/test-classes/functional/steps/curriculo_conferencias.xml @@ -0,0 +1,4434 @@ + + + + + + + + + + + + + + + + + + + + + + + Algebraic Semantics + Theorem Proving and Algebra + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Engenharia de Software + Introdução a Programação (Orientada a Objetos com Java) + Programação Orientada a Objetos (e Java) + Trabalho de Graduação em Engenharia de Software + + + Especificação de Sistemas Distribuídos + Introdução ao RUP--Rational Unified Process + Métodos Formais (Especificações Algébricas) + Novos Conceitos de Modularidade de Software + Paradigmas de Linguagens de Programação + Programação Orientada a Aspectos com AspectJ + Trabalho Individual em Engenharia de Software + + + Programação Orientada a Objetos (e Java) + + + Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200 + + + Engenharia de Software (Programa de Capacitação Tecnológica da Motorola) + Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE) + Orientação a Objetos e Java (InfoCampus, UFPE) + Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/test-classes/functional/steps/curriculo_publications.xml b/target/test-classes/functional/steps/curriculo_publications.xml new file mode 100644 index 00000000..6327cdc6 --- /dev/null +++ b/target/test-classes/functional/steps/curriculo_publications.xml @@ -0,0 +1,3568 @@ + + + + + + + + + + + + + + + + + + + + + + + Algebraic Semantics + Theorem Proving and Algebra + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Engenharia de Software + Introdução a Programação (Orientada a Objetos com Java) + Programação Orientada a Objetos (e Java) + Trabalho de Graduação em Engenharia de Software + + + Especificação de Sistemas Distribuídos + Introdução ao RUP--Rational Unified Process + Métodos Formais (Especificações Algébricas) + Novos Conceitos de Modularidade de Software + Paradigmas de Linguagens de Programação + Programação Orientada a Aspectos com AspectJ + Trabalho Individual em Engenharia de Software + + + Programação Orientada a Objetos (e Java) + + + Orientação a Objetos com Java e J2ME (dezembro de 2002 e janeiro de 2003, junho e julho de 2003, janeiro e fevereiro de 2004, outubro de 2004, janeiro e fevereiro de 2005, junho e julho de 2005, março de 2006, setembro e outubro de 2006, abril de 200 + + + Engenharia de Software (Programa de Capacitação Tecnológica da Motorola) + Introdução e Administração de Sistemas UNIX (Extensão para a FISEPE) + Orientação a Objetos e Java (InfoCampus, UFPE) + Programming, Testing and Distribution with Java (Summer School on Object-Oriented Processes and Technologies) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/test-classes/functional/steps/tooldelete.pdf b/target/test-classes/functional/steps/tooldelete.pdf new file mode 100644 index 00000000..012b3279 Binary files /dev/null and b/target/test-classes/functional/steps/tooldelete.pdf differ diff --git a/target/test-classes/integration/application.properties b/target/test-classes/integration/application.properties new file mode 100644 index 00000000..e6246333 --- /dev/null +++ b/target/test-classes/integration/application.properties @@ -0,0 +1,16 @@ +#Grails Metadata file +#Thu Jun 06 10:16:12 GMT-03:00 2013 +app.grails.version=2.1.0 +app.name=rgms +app.servlet.version=2.5 +app.version=0.1 +plugins.cloud-bees=0.6.2 +plugins.cucumber=0.8.0 +plugins.geb=0.9.0-RC-1 +plugins.gmetrics=0.3.1 +plugins.jasper=1.6.1 +plugins.mail=1.0.1 +plugins.pdf=0.6 +plugins.shiro=1.1.4 +plugins.shiro-ui=1.2.0-SNAPSHOT +plugins.twitter=0.2 diff --git a/target/test-classes/report.properties b/target/test-classes/report.properties new file mode 100644 index 00000000..3658f0e1 --- /dev/null +++ b/target/test-classes/report.properties @@ -0,0 +1,8 @@ +'# Resource Bundle file. +# +key=value +pubs=PUBLICA\u00c7\u00d5ES +ferramentas=FERRAMENTAS +titulo=P\u00c1GINA PESSOAL +membros=MEMBROS +dissertacao=DISSERTA\u00c7\u00c3O \ No newline at end of file diff --git a/target/test-classes/report_fr.properties b/target/test-classes/report_fr.properties new file mode 100644 index 00000000..8a5e053c --- /dev/null +++ b/target/test-classes/report_fr.properties @@ -0,0 +1,8 @@ +# Resource Bundle file. +# +key=value +pubs=PUBLICATIONS +ferramentas=OUTILS +titulo=PAGE PERSONNELLE +membros=MEMBRES +dissertacao=TH\u00c9SE \ No newline at end of file diff --git a/target/test-classes/report_pt_BR.properties b/target/test-classes/report_pt_BR.properties new file mode 100644 index 00000000..2e97c6ae --- /dev/null +++ b/target/test-classes/report_pt_BR.properties @@ -0,0 +1,9 @@ +# Resource Bundle file. +# +key=value +key=value +pubs=PUBLICA\u00c7\u00d5ES +ferramentas=FERRAMENTAS +titulo=P\u00c1GINA PESSOAL +membros=MEMBROS +dissertacao=DISSERTA\u00c7\u00c3O \ No newline at end of file diff --git a/target/test-classes/report_us.properties b/target/test-classes/report_us.properties new file mode 100644 index 00000000..226feeb8 --- /dev/null +++ b/target/test-classes/report_us.properties @@ -0,0 +1,8 @@ +# Resource Bundle file. +# +key=value +pubs=PUBLICATIONS +ferramentas=TOOLS +titulo=PERSONAL HOMEPAGE +membros=MEMBERS +dissertacao=THESIS \ No newline at end of file diff --git a/target/test-classes/spring/resources.groovy b/target/test-classes/spring/resources.groovy new file mode 100644 index 00000000..4c29691a --- /dev/null +++ b/target/test-classes/spring/resources.groovy @@ -0,0 +1,7 @@ +// Place your Spring DSL code here +beans = { + localeResolver(org.springframework.web.servlet.i18n.SessionLocaleResolver) { + defaultLocale = new Locale("pt", "BR") + java.util.Locale.setDefault(defaultLocale) + } +} diff --git a/test/cucumber/Article.feature b/test/cucumber/Article.feature index 01606f0d..1a521b6a 100644 --- a/test/cucumber/Article.feature +++ b/test/cucumber/Article.feature @@ -125,7 +125,7 @@ Feature: journal article Then I'm still on article page And the articles are not stored by the system -#if($Report) +#if($Report) Scenario: report existing article Given the system has article entitled "A theory of software product line refinement" with file name "TCS-1401.pdf" When the system reports the existing articles @@ -160,7 +160,7 @@ Feature: journal article Then the system removes the articles "A theory of software product line refinement" and "Modularity analysis of use case implementations" And the system contains the "Algebraic reasoning for object-oriented programming" article -#if($Report) +#if($Report) Scenario: report existing article web Given I am at the articles page And the article "A theory of software product line refinement" is stored in the system with file name "TCS-88.pdf" diff --git a/test/cucumber/Authentication.feature b/test/cucumber/Authentication.feature index 425b140e..7500c595 100644 --- a/test/cucumber/Authentication.feature +++ b/test/cucumber/Authentication.feature @@ -6,13 +6,17 @@ Scenario: Login with user that doesn't exist fail message Given I am at the Login Page When I try to login with an user that does not exist Then I am redirected to the Login Page - And A login failure message is displayed +#if($Authentication Process) + And The login failure message "User doesn't exist!" is displayed +#end Scenario: Login with user's wrong password fail message Given I am at the Login Page When I try to login with an existent user, though with wrong password Then I am redirected to the Login Page - And A login failure message is displayed +#if($Authentication Process) + And The login failure message "Invalid password!" is displayed +#end Scenario:New user register success message Given I am at the User Register Page @@ -29,11 +33,13 @@ Scenario: Try to access Member List Page without being logged in Given I am not logged When I directly access the Member List Page Then I am redirected to the Login Page + And a message indicating that the user must be logged to see the page is displayed Scenario: Try to access root page without being logged in Given I am not logged When I access the Root Page Then I am redirected to the Login Page + And a message indicating that the user must be logged to see the page is displayed #if ($contextualInformation) Scenario: Field University filled with "Federal University of Pernambuco" diff --git a/test/cucumber/BibtexGenerateFile.feature b/test/cucumber/BibtexGenerateFile.feature index 566bfa51..6483dcc4 100644 --- a/test/cucumber/BibtexGenerateFile.feature +++ b/test/cucumber/BibtexGenerateFile.feature @@ -8,3 +8,12 @@ Feature: all bibtex When I select the export bibtex file option at the publications menu And I select Generate All BibTex option at the export bibtex page Then I can see the bibtex details + + #if($all bibtex) + Scenario: search all publications of a specific topic + Given I am at the publications + When I select the export bibtex file option at the publications menu + And I type "Topic" at the search toolbar in export bibtex page + And I select "Generate BibTex" option at the export bibtex page + Then I can see all the publications related with "Topic" + #end diff --git a/test/cucumber/BibtexImport.feature b/test/cucumber/BibtexImport.feature index ec0b91ab..5d12da80 100644 --- a/test/cucumber/BibtexImport.feature +++ b/test/cucumber/BibtexImport.feature @@ -7,9 +7,19 @@ Feature: BibtexImport Scenario: simple import bibtex Given I am on Import Bibtex File Menu When I click "Choose file" - And selected a bibtex file and I click "Import" + #if($BibtexImport) + And selected a bibtex file and I click "Import All" + #end Then is created all corresponding publications And all of then are stored + + #if($BibtexImport) + Scenario: list extracted publications from a bibtex file + Given I am on Import Bibtex File Menu + When I click "Choose file" + And I select a bibtex file + Then a list of publications extracted from the bibtex file is shown on the same screen + #end Scenario: bibtex file unformatted Given I am on Import Bibtex File Menu @@ -24,4 +34,5 @@ Feature: BibtexImport And selected a bibtex file with one Dissertation and two Thesis and I click "Import" Then is created one Dissertation publication And is created two Thesis publications - And one Dissertation is stored and two Thesis is stored \ No newline at end of file + And one Dissertation is stored and two Thesis is stored + diff --git a/test/cucumber/Book.feature b/test/cucumber/Book.feature index 3624ed38..332f18f2 100644 --- a/test/cucumber/Book.feature +++ b/test/cucumber/Book.feature @@ -6,32 +6,112 @@ Feature: Book Scenario: new book Given the system has no book entitled "SPL Development" - When I create the book "SPL Development" with file name "HSPLE.pdf" + When I create the book "SPL Development" with file name "HSPLE.pdf" and author name "James" Then the book "SPL Development" is properly stored by the system Scenario: remove book Given the book "SPL Development" is stored in the system with file name "NGSPL-2.pdf" When I remove the book "SPL Development" Then the book "SPL Development" is properly removed by the system + +#if($book) + Scenario: list book + Given the book "SPL Development" is stored in the system with file name "NGSPL-2.pdf" + When I create the book "Next Generation Software Product Line Engineering" with file name "NGSPLE.pdf" + Then the system lists "SPL Development" and "Next Generation Software Product Line Engineering" +#end Scenario: duplicate book Given the book "SPL Development" is stored in the system with file name "NGSPL-0.pdf" When I create the book "SPL Development" with file name "NGSPL-0.pdf" Then the book "SPL Development" is not stored twice + And an error message is displayed Scenario: edit existing book Given the book "SPL Development" is stored in the system with file name "HSPLE.pdf" When I edit the book title from "SPL Development" to "New Title" Then the book "New Title" is properly updated by the system + #if($book) + And the message "The edition has been successful" is displayed + #end +#if($book) + Scenario: edit existing book with duplicate title + Given the book "Book 1" is stored in the system with file name "B1.pdf" + And the book "Book 2" is stored in the system with file name "B2.pdf" + When I edit the book title from "Book 1" to "Book 2" + Then the book "Book 2" is not updated by the system +#end Scenario: upload book with a file Given the system has no books stored When I upload the books of "curriculo.xml" Then the system has all the books of the xml file + + Scenario: upload book without a file + Given the system has no books stored + When I create a book "SPL Development" + And I upload no file + Then the system has no book called "SPL Development" + And an error message is displayed + Scenario: search book by tags + Given the book "Redes Neurais" is stored in the system with tag "Inteligencia Artificial" + And I am in the books menu + When I click search button + And I write "Inteligencia Artificial" in the bar + Then a list containing "Redes Neurais" is displayed + + Scenario: mouse over information + Given I am on the books menu + When I put the mouse over a book + And I wait 1 second + Then a window with information about the book is displayed until I remove the mouse from over the book + + #if($book) Scenario: new book web Given I am at the book page And the system has no book entitled "Next Generation Software Product Line Engineering" When I go to new book page - And I use the webpage to create the book "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" - Then the book "Next Generation Software Product Line Engineering" was stored by the system \ No newline at end of file + And I use the webpage to create the book "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" and author name "James" + Then the book "Next Generation Software Product Line Engineering" was stored by the system + And the message "the book was sucessfully stored" is displayed +#end +#if($searchBookByVolume) + Scenario: Search Book by Volume web + Given I am at the book page + And The system has a book entitled "Next Generation Software Product Line Engineering" volume "1" + When I fill the webpage search for a book with volume "1" and click the search button + Then The system displays the book entitled "Next Generation Software Product Line Engineering" volume "1" + + Scenario: Search Book by Volume + Given The book entitled "Next Generation Software Product Line Engineering" volume "1" is stored on the system + When I search for a book with volume "1" + Then the system lists all books with volume "1" +#end + +#if($searchBookByPublisher) + Scenario: Search Book by Publisher web + Given I am at the book page + And The system has a book with publisher "James" + When I fill the webpage search for a book with publisher "James" and click the search button + Then The system displays the book with publisher "James" + + Scenario: Search Book by Publisher + Given The book with publisher "James" is stored on the system + When I search for a book with publisher "James" + Then the system lists all books with publisher "James" +#end + + +#if($searchBookByTitle) + Scenario: Search Book by Title web + Given I am at the book page + And The system has a book entitled "Next Generation Software Product Line Engineering" + When I fill the webpage search for a book with title "Next Generation Software Product Line Engineering" and click the search button + Then The system displays the book entitled "Next Generation Software Product Line Engineering" + + Scenario: Search Book by Title + Given The book entitled "Next Generation Software Product Line Engineering" is stored on the system + When I search for a book entitled "Next Generation Software Product Line Engineering" + Then the system lists all books entitled "Next Generation Software Product Line Engineering" +#end \ No newline at end of file diff --git a/test/cucumber/BookChapter.feature b/test/cucumber/BookChapter.feature index 9f21361b..812f143a 100644 --- a/test/cucumber/BookChapter.feature +++ b/test/cucumber/BookChapter.feature @@ -18,6 +18,19 @@ Feature: BookChapter Given the book chapter "Next Generation Software Product Line Engineering" is stored in the system with file name "NGSPL-2.pdf" When I remove the book chapter "Next Generation Software Product Line Engineering" * the book chapter "Next Generation Software Product Line Engineering" is properly removed by the system + + #if($BookChapter) + Scenario: edit book chapter's title + Given the book chapter entitled "SPL Development" is stored in the system with file name "NGSPL-0.pdf" + When I change the book chapter's title from "SPL Development" to "New Title" + Then the book chapter's name is properly updated to "New Title" by the system + + Scenario: edit inexistent book chapter's title + Given no book chapter entitled "SPL Development" is stored in the system + When I change the book chapter's title from "SPL Development" to "New Title" + Then an error message is shown + And no changes are made by the system + #end Scenario: register book chapter with invalid data Given I am at the book chapter page diff --git a/test/cucumber/Conferencia.feature b/test/cucumber/Conferencia.feature index 8553a4a3..44fc92f7 100644 --- a/test/cucumber/Conferencia.feature +++ b/test/cucumber/Conferencia.feature @@ -74,8 +74,15 @@ Feature: conferencia Given I am at the publications menu When I select the "Conferencia" option at the program menu And I select the upload button at the conferencia page - Then I'm still on conferencia page + Then I'm still at the publications menu + And "Conferencia" is selected And the conferencias are not stored by the system + + Scenario: upload conferencias without a file + Given I am at the publications menu + When I select the "Conferencia" option at the program menu + And I select the upload button at the conferencia page + Then a window opens with "You must select a file" appears @ignore Scenario: edit existing conference @@ -143,5 +150,26 @@ Feature: conferencia When I write "2007" at the date field And I select the option Serach for Conference at the conference page Then a list of all conferences containing that date will be presented in the conference screen + + #if($conferencia) + Scenario: Search for conference by research line + Given I am at the Seach Conference page + And The system has some conferences of "Data Security" research line + When I write "Data Security" at the research line field + And I select the option Search for Conference at the conference page + Then a list of all conferencer containg that research line will be presented in the conference screen + #end + + #if($conferencia) + Scenario: Search for conference by Researcher + Given I am at the Seach Conference page + And The system has a conference with "Paulo Borba" as one of its researchers + When I write "Paulo Borba" at the researcher + And I select the option Search for Conference at the conference page + Then a list of all conferencer containg that researcher will be presented in the conference screen + #end + + + # voces podem criar cenários para ordenar a lista de conferencia, filtrar a lista, verificar se alguns campos podem ser opcionais, etc. diff --git a/test/cucumber/Dissertacao.feature b/test/cucumber/Dissertacao.feature index 98a20dd2..dbc009a0 100644 --- a/test/cucumber/Dissertacao.feature +++ b/test/cucumber/Dissertacao.feature @@ -16,12 +16,17 @@ Feature: Dissertation Tests Given the system has no dissertation entitled "Dissertation without school" When I create the dissertation "Dissertation without school" with file name "Dissertationwithoutschool.txt" without school Then the system has no dissertation entitled "Dissertation without school" + #if($Dissertation) + And a failure message is shown + #end Scenario: new dissertation without address Given the system has no dissertation entitled "Dissertation without address" When I create the dissertation "Dissertation without address" with file name "Dissertationwithoutaddress.txt" without address Then the system has no dissertation entitled "Dissertation without address" - + #if($Dissertation) + And a failure message is shown + #end Scenario: new dissertation Given the system has no dissertation entitled "New dissertation" When I create the dissertation "New dissertation" with file name "Newdissertation.txt" and school "UFPE" @@ -82,6 +87,22 @@ Feature: Dissertation Tests When I upload a new dissertation "curriculo2.xml" with title "New dissertation" Then the system has more dissertations now + Scenario: seek a dissertation through keywords + Given there is a dissertation called "curriculo2" with the word "redes neurais" in it is stored. + When I select the option "search with keywords" + And I write "redes neurais" in it + Then a list with "curriculo2" is displayed + + Scenario: upload a dissertation with a incorrect file type + Given I am at the publications menu + When I select the "Dissertacao" option at the program menu + And I select the new dissertation option at the dissertation page + And I add the dissertation with "curriculo4.png" + Then the system has no new dissertation + And the system opens a window tellng me that it isnt the appropiate file type + And I am back at the publications menu + + #if ($contextualInformation) Scenario: create a new dissertation with user data already filled by default @@ -90,4 +111,4 @@ Feature: Dissertation Tests And I select the new dissertation option at the dissertation page Then I see my user listed as an author member of dissertation by default And I see my school name as school of dissertation by default -#end \ No newline at end of file +#end diff --git a/test/cucumber/Member.feature b/test/cucumber/Member.feature index 239da9ff..91a73adf 100644 --- a/test/cucumber/Member.feature +++ b/test/cucumber/Member.feature @@ -38,6 +38,13 @@ Feature: member When I fill the user details with a name, username, passoword1, password2, email, university, status "jose" "josesilva" "123456" "123456" "jose@ufpe.br" "UFPE" "Graduate Student" Then I am redirected to the Login Page And A message indicating the user was successfully registered is displayed + + Scenario: change password + Given the system has member with username "usernametest" + And the member has the password "12345" + When I change password of "usernametest" to "5555" + And I confirm the decision + Then the member named "usernametest" will have password "5555" # Scenario: create member web @@ -75,4 +82,4 @@ Feature: member Scenario: user registration with default data Given I am at the register page Then I see default data filled on register form -#end \ No newline at end of file +#end diff --git a/test/cucumber/News.feature b/test/cucumber/News.feature index ff54e938..7ff5bc8f 100644 --- a/test/cucumber/News.feature +++ b/test/cucumber/News.feature @@ -66,8 +66,20 @@ Feature: news And the news "Noticia1" is stored in the system And I select the option to remove in news show page Then the news "Noticia1" is properly removed by the system - + + Scenario: new invalid news (invalid date) Given the system has no news with description "teste" and date "31-02-2013" for "SPG" research group When I try to create a news with description "teste" and date "31-02-2013" for "SPG" research group Then the news with description "teste", date "31-02-2013" and "SPG" research group is not stored by the system because it is invalid + #if($news) + And the error message "Cannot create news: invalid date." is displayed + #end + + #if($news) + Scenario: export news to pdf + Given the system has a news with description "noticia para teste" + When I request this news "noticia para teste" download + Then the system creates a pdf file containing the description, date and research group of this news + And the system send this file for the client + #end diff --git a/test/cucumber/Record.feature b/test/cucumber/Record.feature index 848071c0..5f5f0e5c 100644 --- a/test/cucumber/Record.feature +++ b/test/cucumber/Record.feature @@ -10,11 +10,15 @@ Feature: record When I remove the record with status "Graduate Student" Then the record with status "Graduate Student" is properly removed by the system + Scenario: Delete record with dependency Given the system has only one record with status "MSc Student" And the record with status "MSc Student" is associated to a member When I remove the record with status "MSc Student" Then the record with status "MSc Student" is not removed by the system + #if($Record) + And the system outputs the error message "Cannot remove an associated member!" + #end Scenario: Update record Given the system has only one record with status "MSc Student" and this record has a null end date @@ -54,4 +58,4 @@ Feature: record And the system has only one record with status "MSc Student" And the record with status "MSc Student" is associated to a member When I click to remove the record - Then I am still at the visualize page of the record with status "MSc Student" \ No newline at end of file + Then I am still at the visualize page of the record with status "MSc Student" diff --git a/test/cucumber/Thesis.feature b/test/cucumber/Thesis.feature index e664276f..1d9f4218 100644 --- a/test/cucumber/Thesis.feature +++ b/test/cucumber/Thesis.feature @@ -11,14 +11,34 @@ Feature: Thesis Tests Scenario: new thesis Given The system has no thesis entitled "New thesis" When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE" + And With publication date "10", "08", Publication year "1998" Then The thesis "New thesis" is properly stored by the system + Scenario: new thesis with author + Given The system has no thesis entitled "New thesis" + When I create the thesis "New thesis" with file name "Newthesis.txt" and school "UFPE" + And With publication date "10", "08", Publication year "1998" and author name "Pressman" + Then The thesis "New thesis" is properly stored by the system + +#if($thesis) + Scenario: list thesis + Given the thesis "New thesis" is stored in the system with file name "Newthesis.txt" + When I create the thesis "New thesis2" with file name "Newthesis2.txt" + Then The system list "New thesis" and "New thesis 2" +#end + Scenario: remove existing thesis Given the system has thesis entitled "New thesis2" When I delete the thesis "New thesis2" Then the thesis "New thesis2" is properly removed by the system - Scenario: create thesis web +Scenario: create thesis web + Given I am at the create thesis page + When I fill the thesis details with "Software Engineering", "10", "8", "1998", "Pressman", "UFPE" and "Recife" + Then I am on the thesis show page + And The thesis "Software Engineering" is properly stored by the system + + Scenario: create thesis web with author Given I am at the create thesis page When I fill the thesis details with "Software Engineering", "10", "8", "1998", "UFPE" and "Recife" Then I am on the thesis show page @@ -35,6 +55,22 @@ Feature: Thesis Tests And I select the remover option at the thesis show page Then the thesis "Software Enginnering2" is removed from the system +#if($publicationYear) + Scenario: filter thesis list by publication year web + Given At least one thesis is stored in the system + And I am at the thesis list page + When I select to filter by the publication year "1998" + Then The returned thesis list shows only the thesis with publication year "1998" +#end + +#if($authorName) + Scenario: filter thesis list by author name web + Given At least one thesis is stored in the system + And I am at the thesis list page + When I select to filter by the author name "Pressman" + Then The returned thesis list shows only the thesis with author name "Pressman" +#end + #if ($contextualInformation) Scenario: Add a new thesis with user data already filled by default Given I am at the publications menu diff --git a/test/cucumber/steps/ArticleSteps.groovy b/test/cucumber/steps/ArticleSteps.groovy index 1ef4ff03..822afa41 100644 --- a/test/cucumber/steps/ArticleSteps.groovy +++ b/test/cucumber/steps/ArticleSteps.groovy @@ -230,13 +230,7 @@ Then(~'^No facebook message was posted$') { -> } Given(~'^I am at the Add Article Page$') { -> - at PublicationsPage - page.select("Periodico") - to ArticlesPage - def path = new File(".").getCanonicalPath() + File.separator + "test" + File.separator + "files" + File.separator + "TCS.pdf" - println path - def f = new File(path) - println "exist Path?" + f.exists() + addPage() } @@ -246,7 +240,6 @@ When(~'^I share the article entitled "([^"]*)" on facebook$') { String title -> //#end def selectNewArticleInArticlesPage(){ - at ArticlesPage page.selectNewArticle() at ArticleCreatePage diff --git a/test/cucumber/steps/BibtexGenerateFileSteps.groovy b/test/cucumber/steps/BibtexGenerateFileSteps.groovy index 849cd8bd..a3e5e1be 100644 --- a/test/cucumber/steps/BibtexGenerateFileSteps.groovy +++ b/test/cucumber/steps/BibtexGenerateFileSteps.groovy @@ -11,6 +11,19 @@ When(~'^I select Generate All BibTex option at the export bibtex page$') {-> page.showBibtex() } +And(~'^I type "([^"]*)" at the search toolbar in export bibtex page') {String topic -> + at BibtexGenerateFilePage + page.fillTextField(topic) +} + +And(~'^I select "([^"]*)" option at the export bibtex page') { String button -> + at BibtexGenerateFilePage + page.selectButton(button) +} + +Then(~'^I can see all the publications related with "([^"]*)"') { String topic -> +} + Then(~'^I can see the bibtex details$') {-> } diff --git a/test/cucumber/steps/BibtexImportSteps.groovy b/test/cucumber/steps/BibtexImportSteps.groovy index e717a539..614cf3ae 100644 --- a/test/cucumber/steps/BibtexImportSteps.groovy +++ b/test/cucumber/steps/BibtexImportSteps.groovy @@ -25,9 +25,30 @@ When(~'^I click "([^"]*)"$') { String arg1 -> page.selectButton(arg1) } +//#if($BibtexImport) +When(~'^selected a bibtex file and I click "Import All"$') { -> + at BibtexImportPage + page.selectButton("Import All") +} + +When(~'^I click "Choose file" and select a file') { + at BibtexImportPage + page.selectButton("Escolher arquivo") +} +//#end + When(~'^selected a bibtex file and I click "([^"]*)"$') { String arg1 -> } + +//#if($BibtexImport) +Then(~'^a list of publications extracted from the bibtex file is shown on the same screen$') { -> + BibtexFile bibtexFile = TestDataBibTexFile.openBibTexFile("test//cucumber//steps//sample.bibtex") + at BibtexImportPage + TestDataBibTexFile.listPublications(bibtexFile) +} +//#end + Then(~'^is created all corresponding publications$') {-> BibtexFile bibtexFile = TestDataBibTexFile.openBibTexFile("test//cucumber//steps//sample.bibtex") assert bibtexFile.getPublications().size() == 3 diff --git a/test/cucumber/steps/BookChapterSteps.groovy b/test/cucumber/steps/BookChapterSteps.groovy index 1ef01632..f2d589c2 100644 --- a/test/cucumber/steps/BookChapterSteps.groovy +++ b/test/cucumber/steps/BookChapterSteps.groovy @@ -3,8 +3,10 @@ import pages.BookChapterPage import pages.LoginPage import pages.PublicationsPage import pages.* +import rgms.publication.Book import rgms.publication.BookChapter import steps.BookChapterTestDataAndOperations +import steps.BookTestDataAndOperations import steps.TestDataAndOperationsPublication import static cucumber.api.groovy.EN.* @@ -82,7 +84,7 @@ Then(~'my book chapter list contains "([^"]*)"$') { String title -> bookChapterList = BookChapter.findAll() assert BookChapterTestDataAndOperations.containsBookChapter(title) } -And(~'^the book chapter "([^"]*)" with file name "([^"]*)" was created before$') { String title, filename -> +And(~'^the book chapter "([^"]*)" with file name "([^"]*)" was created before$') { String title, String filename -> page.selectNewBookChapter() to BookChapterCreatePage at BookChapterCreatePage @@ -105,7 +107,7 @@ When(~'^I go to new book chapter page$') { -> page.selectNewBookChapter() at BookChapterCreatePage } -And(~'^I use the webpage to create the book chapter "([^"]*)" with file name "([^"]*)"$') { String title, filename -> +And(~'^I use the webpage to create the book chapter "([^"]*)" with file name "([^"]*)"$') { String title, String filename -> at BookChapterCreatePage createAndCheckBookOnBrowser(title, filename) to BookChapterPage @@ -163,8 +165,8 @@ And(~'^the system has a book chapter entitled "([^"]*)" with file name "([^"]*)" } Then(~'^the book chapter "([^"]*)" was not stored twice$') { String entitled -> - bookChapter = BookChapter.findAllByPublisher(entitled) - assert bookChapter.size() < 2 + List bcList = BookChapter.findAllByPublisher(entitled) + assert bcList.size() < 2 } And(~'^the system shows an error message$') { -> @@ -176,6 +178,48 @@ When(~'I select the Book Chapter option at the program menu'){ -> page.select("Book Chapter") } +//#if($BookChapter) +Given(~'^the book chapter entitled "([^"]*)" is stored in the system with file name "([^"]*)"$') { String title, filename -> + BookChapter bc = BookChapter.findByTitle(title) + assert bc != null +} +Given(~'^the book chapter entitled "([^"]*)" is stored in the system with file name "([^"]*)"$') { String title, String filename -> + BookChapterTestDataAndOperations.createBookChapter(title,filename) + to BookChapterCreatePage + checkIfExists(title) +} + +When(~'^I change the book chapter\'s title from "([^"]*)" to "([^"]*)"$') {String oldTitle, String newTitle -> + BookChapter bc = BookChapter.findByTitle(oldTitle) + assert bc?.getTitle() == oldTitle + bc?.setTitle(newTitle) +} + +Then(~'^the book chapter\'s name is properly updated to "([^"]*)" by the system$') {String newTitle -> + BookChapter bc = BookChapter.findByTitle(newTitle) + assert bc?.getTitle() == newTitle +} + +Given(~'^no book chapter entitled "([^"]*)" is stored in the system$') { String title -> + checkIfExists(title) +} + +Then(~'^an error message is shown$') { -> + // throw new NoSuchBookChapterException("Capítulo inexistente!") + System.out.println("Capítulo inexistente!") +} + +And(~'^no changes are made by the system$'){-> + at BookChapterPage + assert page.hasErrorUploadFile() +} +//#end + +class NoSuchBookChapterException extends Exception { + public NoSuchBookChapterException(String msg) { + super(msg); + } +} def createAndCheckBookOnBrowser(String title, String filename) { page.fillBookChapterDetails(title, filename) diff --git a/test/cucumber/steps/BookSteps.groovy b/test/cucumber/steps/BookSteps.groovy index 45aae835..ee75413d 100644 --- a/test/cucumber/steps/BookSteps.groovy +++ b/test/cucumber/steps/BookSteps.groovy @@ -11,6 +11,7 @@ import pages.BookPage import pages.LoginPage import pages.PublicationsPage import rgms.publication.Book +import rgms.publication.BookController import steps.BookTestDataAndOperations import static cucumber.api.groovy.EN.* @@ -19,7 +20,8 @@ Given(~'^the system has no book entitled "([^"]*)"$') { String title -> checkIfExists(title) } -When(~'^I create the book "([^"]*)" with file name "([^"]*)"$') { String title, filename -> +//Author is not being used right now +When(~'^I create the book "([^"]*)" with file name "([^"]*)" and author name "([^"]*)"$') { String title, String filename, String author -> BookTestDataAndOperations.createBook(title, filename) } @@ -34,10 +36,23 @@ Given(~'^the book "([^"]*)" is stored in the system with file name "([^"]*)"$') assert BookTestDataAndOperations.bookCompatibleTo(book, title) } +When(~'I create the book "([^"]*)" with file name "([^"]*)"') { String title, String titlename -> + BookTestDataAndOperations.createBook(title, filename) + book = Book.findByTitle(title) + assert BookTestDataAndOperations.bookCompatibleTo(book, title) +} + When(~'^I remove the book "([^"]*)"$') { String title -> BookTestDataAndOperations.removeBook(title) } +Then((~'^the system lists "([^"]*)" and "([^"]*)"')) { String title1, String title2 -> + List list = new ArrayList(); + list.add(Book.findByTitle(title1)); + list.add(Book.findByTitle(title2)); + + assert (list[0]?.getTitle()?.equals(title1) && list[1]?.getTitle()?.equals(title2)) +} Then(~'^the book "([^"]*)" is properly removed by the system$') { String title -> checkIfExists(title) } @@ -89,9 +104,9 @@ When(~'^I go to new book page$') { -> page.selectNewBook() } -And(~'^I use the webpage to create the book "([^"]*)" with file name "([^"]*)"$') { String title, filename -> +And(~'^I use the webpage to create the book "([^"]*)" with file name "([^"]*)" and author name "([^"]*)"$') { String title, filename, author -> at BookCreatePage - createAndCheckBookOnBrowser(title, filename) + createAndCheckBookOnBrowser(title, filename, author) to BookPage at BookPage } @@ -103,6 +118,112 @@ Then(~'^the book "([^"]*)" was stored by the system$') { String title -> at BookPage } +And(~'^the message "([^"]*)" is displayed') { String message -> + System.out.println(message); +} + + + + + + + + + + + + + + + And (~'The system has a book entitled "([^"]*)" volume "([^"]*)"$'){ String title, int volume -> + // BookTestDataAndOperations.createBook(title, "teste") + //Book.findByTitle(title).volume = 3 + + bookVolumeTitle(title,volume) +} + +When (~'^I fill the webpage search for a book with volume "([^"]*)" and click the search button$'){ int volume -> + //aprender como se faz +} +Then (~'^The system displays the book entitled "([^"]*)" volume "([^"]*)"$'){ String title, int volume -> + //aprender como se faz +} + + +Given (~'^The book entitled "([^"]*)" volume "([^"]*)" is stored on the system$'){ String title, int volume -> + findVol(title,volume) + +} +When(~'^I search for a book with volume "([^"]*)"$'){ int volume -> + checkVol(volume) + +} +Then (~'^the system lists all books with volume "([^"]*)"$'){ int volume -> + checkVol(volume) +} + + + +And (~'^The system has a book with publisher "([^"]*)"$'){ String publisher -> + book = Book.findByPublisher(publisher) + assert book != null +} +When (~'^I fill the webpage search for a book with publisher "([^"]*)" and click the search button$'){ String publisher -> +} +Then (~'^The system displays the book with publisher "([^"]*)"$'){ String publisher -> + // não sei fazer +} + + + +Given (~'^The book with publisher "([^"]*)" is stored on the system$'){String publisher -> + findPub(publisher) +} +When (~'^I search for a book with publisher "([^"]*)"$'){ String publisher -> + findPub(publisher) +} +Then (~'^the system lists all books with publisher "([^"]*)"$'){ String publisher -> + checkPub(publisher) +} + +def checkPub(publisher){ + assert Book.findByPublisher(publisher).count() >= 1 +} + + + +And (~'^The system has a book entitled "([^"]*)"$'){ String title -> + + book = Book.findByTitle(title) + assert book != null +} +When (~'^I fill the webpage search for a book with title "([^"]*)" and click the search button$'){ String title -> +} +Then (~'^The system displays the book entitled "([^"]*)"$') { String title -> + // não sei fazer +} + +Given (~'^The book entitled "([^"]*)" is stored on the system$'){ String title -> + findTitle(title) +} +When (~'^I search for a book entitled "([^"]*)"$'){ String title -> + findTitle(title) +} +Then (~'^the system lists all books entitled "([^"]*)"$'){ String title -> + checkTitle(title) +} +def findTitle(String title){ + book = Book.findByTitle(title) + assert book != null +} +def checkTitle(String title){ + book = Book.findByTitle(title) + assert book.count() >= 1 +} + + + + def checkIfExists(String title) { book = Book.findByTitle(title) assert book == null @@ -113,4 +234,36 @@ def createAndCheckBookOnBrowser(String title, String filename) { page.clickSaveBook() book = Book.findByTitle(title) assert book != null -} \ No newline at end of file +} + +def createAndCheckBookOnBrowser(String title, String filename, String author) { + page.fillBookDetails(title, filename, author) + page.clickSaveBook() + book = Book.findByTitle(title) + assert book != null +} + +def bookVolumeTitle(String title,int volume){ + /* + BookController.params <<[title: title, volume: volume] + BookController.request.setContent(new byte[1000]) + BookController.create() + BookController.save() + BookController.response.reset() + */ + assert Book.findByTitleAndVolume(title,volume) != null + +} + +def findVol(string title,int volume) { + book = Book.findByTitle(title) + assert book != null && book.volume == volume +} +def checkVol(int volume){ + book = Book.findByVolume(volume) + assert book.count() >= 1 +} + +def findPub(String publisher){ + assert Book.findByPublisher(publisher) != null +} diff --git a/test/cucumber/steps/DissertacaoSteps.groovy b/test/cucumber/steps/DissertacaoSteps.groovy index 03cd3324..5553e28e 100644 --- a/test/cucumber/steps/DissertacaoSteps.groovy +++ b/test/cucumber/steps/DissertacaoSteps.groovy @@ -109,12 +109,16 @@ Then(~'^I\'m still on dissertation page$') {-> at DissertationPage } -When(~'^I upload a new dissertation "([^"]*)"$') { filename -> +def checkUpload(String filename) { String path = new File(".").getCanonicalPath() + File.separator + "test" + File.separator + "functional" + File.separator + "steps" + File.separator + filename inicialSize = Dissertacao.findAll().size() TestDataDissertacao.uploadDissertacao(path) finalSize = Dissertacao.findAll().size() assert inicialSize < finalSize +} + +When(~'^I upload a new dissertation "([^"]*)"$') { String filename -> + checkUpload(filename) //para funcionar é necessario que tenha um FilePath válido // não consegui fazer de uma maneira que todos os passos sejam independentes } @@ -130,12 +134,8 @@ Given(~'^the system has some dissertation stored$'){-> } -When(~'^I upload a new dissertation "([^"]*)" with title "([^"]*)"$') { filename, String title -> - String path = new File(".").getCanonicalPath() + File.separator + "test" + File.separator + "functional" + File.separator + "steps" + File.separator + filename - inicialSize = Dissertacao.findAll().size() - TestDataDissertacao.uploadDissertacao(path) - finalSize = Dissertacao.findAll().size() - assert inicialSize + checkUpload(filename) //para funcionar é necessario que tenha um FilePath válido // não consegui fazer de uma maneira que todos os passos sejam independentes } diff --git a/test/cucumber/steps/RecordSteps.groovy b/test/cucumber/steps/RecordSteps.groovy index 368764f0..c24b4ade 100644 --- a/test/cucumber/steps/RecordSteps.groovy +++ b/test/cucumber/steps/RecordSteps.groovy @@ -35,6 +35,18 @@ Then(~'^the record with status "([^"]*)" is not removed by the system$') { Strin assert record != null } +//#if($Record) +class RecordIsNotAssociatedException extends Exception { + public RecordIsNotAssociatedException(String msg) { + super(msg) + } +} + +And(~'^The system outputs the error message "([^"]*)"') { String errMsg -> + throw new RecordIsNotAssociatedException(errMsg) +} +//#end + Given(~'^the system has only one record with status "([^"]*)" and this record has a null end date$') { String status -> def records = Record.findAllByStatus_H(status) def record = records.first() diff --git a/test/cucumber/steps/ThesisSteps.groovy b/test/cucumber/steps/ThesisSteps.groovy index 90129b91..34933724 100644 --- a/test/cucumber/steps/ThesisSteps.groovy +++ b/test/cucumber/steps/ThesisSteps.groovy @@ -28,6 +28,14 @@ When(~'^I create the thesis "([^"]*)" with file name "([^"]*)" and school "([^"] ThesisTestDataAndOperations.createTese(title, filename, school) } +/** + * @author csf2 + */ +And (~'^With publication date "([^"]*)", "([^"]*)", Publication year "([^"]*)", and author name "([^"]*)"$') { + pub_day, pub_month, pub_year, author -> + page.fillSomeThesisDetails(pub_day, pub_month, pub_year, author) +} + Then(~'^The thesis "([^"]*)" is not stored twice$') { String title -> theses = Tese.findAllByTitle(title) assert theses.size() == 1 @@ -46,11 +54,11 @@ Given(~'^I am at the create thesis page$') { -> at ThesisCreatePage } -When(~'^I fill the thesis details with "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)" and "([^"]*)"$') { - title, pub_day, pub_month, pub_year, school, address -> +When(~'^I fill the thesis details with "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)" and "([^"]*)"$') { + title, pub_day, pub_month, pub_year, author, school, address -> def absolutePath = ServletContextHolder.servletContext.getRealPath("/test/functional/steps/NewthesisGUI.txt") absolutePath = absolutePath.replace("\\", "/").replaceAll("/web-app", "") - page.fillThesisDetails(title, pub_day, pub_month, pub_year, school, address, absolutePath) + page.fillThesisDetails(title, pub_day, pub_month, pub_year, author, school, address, absolutePath) } When(~'^I fill some thesis details with "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)", "([^"]*)" and "([^"]*)"$') { diff --git a/test/cucumber/steps/XMLImportSteps.groovy b/test/cucumber/steps/XMLImportSteps.groovy index df70dccb..32071062 100644 --- a/test/cucumber/steps/XMLImportSteps.groovy +++ b/test/cucumber/steps/XMLImportSteps.groovy @@ -9,7 +9,6 @@ import pages.ferramenta.FerramentaPage import rgms.publication.* import static cucumber.api.groovy.EN.* import steps.TestDataAndOperations -import CommonSteps import org.apache.shiro.util.ThreadContext import org.apache.shiro.subject.Subject diff --git a/test/functional/pages/BibtexGenerateFilePage.groovy b/test/functional/pages/BibtexGenerateFilePage.groovy index 6ac1baca..7b94cab2 100644 --- a/test/functional/pages/BibtexGenerateFilePage.groovy +++ b/test/functional/pages/BibtexGenerateFilePage.groovy @@ -19,4 +19,12 @@ class BibtexGenerateFilePage extends FormPage { def showBibtex() { $('a.Generate All BibTex').click() } + + def fillTextField(String str) { + $("form").searchTextField = str + } + + def selectButton(String btnName) { + $("input", id:"GenerateBibTex").click() + } } diff --git a/test/functional/pages/BookCreatePage.groovy b/test/functional/pages/BookCreatePage.groovy index b4768335..cc346f59 100644 --- a/test/functional/pages/BookCreatePage.groovy +++ b/test/functional/pages/BookCreatePage.groovy @@ -27,20 +27,24 @@ class BookCreatePage extends FormPage { } } - def fillBookDetails(title, filename) { - fillTitle(title) - $("form").publisher = "Person" - $("form").volume = 1 - $("form").pages = "20" + def setValues(String title, String publisher, int volume, String pages, String filename) { + $('form').title = title + $("form").publisher = publisher + $("form").volume = volume + $("form").pages = pages $("form").file = new File(".").getCanonicalPath() + File.separator + "test" + File.separator + "functional" + File.separator + "steps" + File.separator + filename + saveBook() } - def clickSaveBook() { - $("form").create().click() + def fillBookDetails(title, filename) { + setValues(title, "Person", 1, "20", filename) } + + def fillBookDetails(title, filename, author) { + setValues(title, author, 1, "20", filename) + } - def fillTitle(title) { - $("form").title = title - clickSaveBook() + def saveBook() { + $("form").create().click() } } \ No newline at end of file diff --git a/test/functional/pages/thesis/ThesisCreatePage.groovy b/test/functional/pages/thesis/ThesisCreatePage.groovy index de6563b0..72a730d8 100644 --- a/test/functional/pages/thesis/ThesisCreatePage.groovy +++ b/test/functional/pages/thesis/ThesisCreatePage.groovy @@ -23,6 +23,30 @@ class ThesisCreatePage extends FormPage { $("form").file = path fillSomeThesisDetails(title, pub_day, pub_month, pub_year, school, address) } + + def fillThesisDetails(title, pub_day, pub_month, pub_year, author, school, address, path) { + $("form").file = path + fillSomeThesisDetails(title, pub_day, pub_month, pub_year, author, school, address) + } + + def fillSomeThesisDetails(title, pub_day, pub_month, pub_year, author, school, address) { + $("form").title = title + $("form").publicationDate_day = pub_day + $("form").publicationDate_month = pub_month + $("form").publicationDate_year = pub_year + $("form").author = author + $("form").school = school + $("form").address = address + $("input", id: "create").click() + } + + def fillSomeThesisDetails(pub_day, pub_month, pub_year, author){ + $("form").publicationDate_day = pub_day + $("form").publicationDate_month = pub_month + $("form").publicationDate_year = pub_year + $("form").author = author + $("input", id: "create").click() + } def fillSomeThesisDetails(title, pub_day, pub_month, pub_year, school, address) { $("form").title = title diff --git a/test/functional/steps/TestDataAndOperationsResearchGroup.groovy b/test/functional/steps/TestDataAndOperationsResearchGroup.groovy index 1e20cb4d..7bba7ca5 100644 --- a/test/functional/steps/TestDataAndOperationsResearchGroup.groovy +++ b/test/functional/steps/TestDataAndOperationsResearchGroup.groovy @@ -41,7 +41,9 @@ class TestDataAndOperationsResearchGroup { try { researchGroupController.update() - } catch (Exception e) {} + } catch (Exception e) { + throw e; + } } //#end diff --git a/web-app/uploads/ArticleExample.pdf b/web-app/uploads/ArticleExample.pdf new file mode 100644 index 00000000..e69de29b diff --git a/web-app/uploads/ArticleExample2.pdf b/web-app/uploads/ArticleExample2.pdf new file mode 100644 index 00000000..e69de29b diff --git a/web-app/uploads/ArticleExample3.pdf b/web-app/uploads/ArticleExample3.pdf new file mode 100644 index 00000000..e69de29b diff --git a/web-app/uploads/ArticleExample4.pdf b/web-app/uploads/ArticleExample4.pdf new file mode 100644 index 00000000..e69de29b