Parcourir la source

showing test types

nas il y a 2 ans
Parent
révision
0b7b76d315
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3
    1
      test/remote/NRT/Batch.pm

+ 3
- 1
test/remote/NRT/Batch.pm Voir le fichier

@@ -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 );

Loading…
Annuler
Enregistrer