diff --git a/test/cucumber/steps/XMLImportSteps.groovy b/test/cucumber/steps/XMLImportSteps.groovy index f7b8ae40..1fc17664 100644 --- a/test/cucumber/steps/XMLImportSteps.groovy +++ b/test/cucumber/steps/XMLImportSteps.groovy @@ -195,4 +195,15 @@ When(~'^I click on "upload" informing the tolerance level$') { -> Then(~'^the system outputs a successful message$') { -> //se for um erro a mensagem é colocada em readErrorMessage assert page.readFlashMessage() != null +} + +Then(~'^the system outputs a list of imported orientations which contains the orientations "([^"]*)" and "([^"]*)"$') { String title1, title2-> + def orientation1 = Orientation.findByTituloTese(title1) + def orientation2 = Orientation.findByTituloTese(title2) + assert orientation1 != null && orientation2 != null +} + +And(~'^the new orientation entitled "([^"]*)" is stored by the system$') { String title-> + def orientation = Orientation.findByTituloTese(title) + assert orientation != null } \ No newline at end of file diff --git a/test/functional/steps/curriculo6.xml b/test/functional/steps/curriculo6.xml new file mode 100644 index 00000000..97e1f618 --- /dev/null +++ b/test/functional/steps/curriculo6.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