Ver código fonte

showing test types

nas 2 anos atrás
pai
commit
0b7b76d315
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3
    1
      test/remote/NRT/Batch.pm

+ 3
- 1
test/remote/NRT/Batch.pm Ver arquivo

@@ -20,12 +20,14 @@ sub new {
20 20
 
21 21
 sub test_rq_empty {
22 22
   my $this = shift;
23
+  print "\nTesting requests\n";
23 24
   my $rq = $this->{tester}->get_code();  
24 25
   return $this->{tester}->assertEqual( $rq, "404 Not Found" );
25 26
 }
26 27
 
27 28
 sub test_user {
28 29
   my $this = shift;
30
+  print "\nTesting users\n";
29 31
   $this->{tester}->test_user_authentification( $this->get_default_user );
30 32
   $this->{tester}->test_user_already_created( $this->get_default_user );
31 33
   my $user2_index = $this->add_user(
@@ -72,7 +74,7 @@ sub get_default_user {
72 74
 
73 75
 sub test_activity {
74 76
   my $this = shift;
75
-    
77
+  print "\nTesting activities\n";  
76 78
   my $activity = Activity->new( "test_1", $this->get_default_user );
77 79
   $this->{tester}->test_create_activity( $activity );
78 80
   $this->{tester}->test_activity_exists( $activity );

Carregando…
Cancelar
Salvar