[forge-dev] get shell output in a test

George Gastaldi ggastald at redhat.com
Tue Jan 28 07:29:27 EST 2014


Hi Rafael,

Which Forge version are you using?

> Em 28/01/2014, às 10:19, Rafael Pestano <rmpestano at gmail.com> escreveu:
> 
> Hi everyone,
> 
> how can i get shell output after executing a command?
> 
> eg: i have a plugin that count lines of files, in my test i expect the command to print 200 so id like to assertEquals that value. Something like calling queueInputLines after executing a command to get its output 
> 
> 
>  thanks in advance.
> 
> -- 
> Att, 
> 
> Rafael M. Pestano
> 
> Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
> Graduando em Ciência da Computação UFRGS
> http://conventionsframework.org
> http://rpestano.wordpress.com/
> @realpestano
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140128/63d91461/attachment.html 


More information about the forge-dev mailing list