Author: bernhard
Date: Fri Nov 28 02:18:50 2008
New Revision: 33306

Modified:
   trunk/languages/pipp/t/in_php/array.t
   trunk/languages/pipp/t/php/arithmetics.t
   trunk/languages/pipp/t/php/base64.t
   trunk/languages/pipp/t/php/basic.t
   trunk/languages/pipp/t/php/builtin.t
   trunk/languages/pipp/t/php/closures.t
   trunk/languages/pipp/t/php/comments.t
   trunk/languages/pipp/t/php/concat.t
   trunk/languages/pipp/t/php/constant.t
   trunk/languages/pipp/t/php/control_flow.t
   trunk/languages/pipp/t/php/ctype.t
   trunk/languages/pipp/t/php/file.t
   trunk/languages/pipp/t/php/filestat.t
   trunk/languages/pipp/t/php/functions.t
   trunk/languages/pipp/t/php/gmp.t
   trunk/languages/pipp/t/php/hello.t
   trunk/languages/pipp/t/php/info.t
   trunk/languages/pipp/t/php/math.t
   trunk/languages/pipp/t/php/md5.t
   trunk/languages/pipp/t/php/namespace.t
   trunk/languages/pipp/t/php/oo.t
   trunk/languages/pipp/t/php/pcre.t
   trunk/languages/pipp/t/php/rand.t
   trunk/languages/pipp/t/php/references.t
   trunk/languages/pipp/t/php/relops.t
   trunk/languages/pipp/t/php/sha1.t
   trunk/languages/pipp/t/php/string.t
   trunk/languages/pipp/t/php/strings.t
   trunk/languages/pipp/t/php/superglobals.t
   trunk/languages/pipp/t/php/tags.t
   trunk/languages/pipp/t/php/type.t
   trunk/languages/pipp/t/php/var.t
   trunk/languages/pipp/t/php/variables.t
   trunk/languages/pipp/t/pmc/array.t

Log:
[Pipp] Adape synopsis of test scripts.
Remove trailing spaces.


Modified: trunk/languages/pipp/t/in_php/array.t
==============================================================================
--- trunk/languages/pipp/t/in_php/array.t       (original)
+++ trunk/languages/pipp/t/in_php/array.t       Fri Nov 28 02:18:50 2008
@@ -9,6 +9,10 @@
 
 t/in_php/array.t - tests for the PhpArray type
 
+=head1 SYNOPSIS
+
+    perl t/harness t/in_php/array.t
+
 =head1 DESCRIPTION
 
 Test array.

Modified: trunk/languages/pipp/t/php/arithmetics.t
==============================================================================
--- trunk/languages/pipp/t/php/arithmetics.t    (original)
+++ trunk/languages/pipp/t/php/arithmetics.t    Fri Nov 28 02:18:50 2008
@@ -2,7 +2,11 @@
 
 =head1 NAME
 
-pipp/t/arithmetics.t - tests for Pipp
+t/php/arithmetics.t - tests for Pipp
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/arithmetics.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/base64.t
==============================================================================
--- trunk/languages/pipp/t/php/base64.t (original)
+++ trunk/languages/pipp/t/php/base64.t Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/base64.t
+    perl t/harness t/php/base64.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/basic.t
==============================================================================
--- trunk/languages/pipp/t/php/basic.t  (original)
+++ trunk/languages/pipp/t/php/basic.t  Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/basic.t
+    perl t/harness t/php/basic.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/builtin.t
==============================================================================
--- trunk/languages/pipp/t/php/builtin.t        (original)
+++ trunk/languages/pipp/t/php/builtin.t        Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/builtin.t
+    % perl t/harness t/php/builtin.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/closures.t
==============================================================================
--- trunk/languages/pipp/t/php/closures.t       (original)
+++ trunk/languages/pipp/t/php/closures.t       Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-closures.t - testing closures
+t/php/closures.t - testing closures
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/closures.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/comments.t
==============================================================================
--- trunk/languages/pipp/t/php/comments.t       (original)
+++ trunk/languages/pipp/t/php/comments.t       Fri Nov 28 02:18:50 2008
@@ -3,7 +3,12 @@
 
 =head1 NAME
 
-pipp/t/comments.t - tests for Pipp
+t/php/comments.t - tests for Pipp
+
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/comments.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/concat.t
==============================================================================
--- trunk/languages/pipp/t/php/concat.t (original)
+++ trunk/languages/pipp/t/php/concat.t Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-concat.t - testing concatenation
+t/php/concat.t - testing concatenation
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/concat.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/constant.t
==============================================================================
--- trunk/languages/pipp/t/php/constant.t       (original)
+++ trunk/languages/pipp/t/php/constant.t       Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/constant.t
+    % perl t/harness t/php/constant.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/control_flow.t
==============================================================================
--- trunk/languages/pipp/t/php/control_flow.t   (original)
+++ trunk/languages/pipp/t/php/control_flow.t   Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-pipp/t/control_flow.t - tests for Pipp
+t/php/control_flow.t - tests for Pipp
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/control_flow.t
 
 =head1 DESCRIPTION
 
@@ -18,7 +22,7 @@
 use FindBin;
 use lib "$FindBin::Bin/../../../../lib", "$FindBin::Bin/../../lib";
 
-use Parrot::Config (); 
+use Parrot::Config ();
 use Parrot::Test;
 use Test::More     tests => 15;
 

Modified: trunk/languages/pipp/t/php/ctype.t
==============================================================================
--- trunk/languages/pipp/t/php/ctype.t  (original)
+++ trunk/languages/pipp/t/php/ctype.t  Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/ctype.t
+    perl t/harness t/php/ctype.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/file.t
==============================================================================
--- trunk/languages/pipp/t/php/file.t   (original)
+++ trunk/languages/pipp/t/php/file.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/file.t
+    perl t/harness t/php/file.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/filestat.t
==============================================================================
--- trunk/languages/pipp/t/php/filestat.t       (original)
+++ trunk/languages/pipp/t/php/filestat.t       Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl t/php/filestat.t
+    perl t/harness t/php/filestat.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/functions.t
==============================================================================
--- trunk/languages/pipp/t/php/functions.t      (original)
+++ trunk/languages/pipp/t/php/functions.t      Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-functions.t - testing functions
+t/php/functions.t - testing functions
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/functions.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/gmp.t
==============================================================================
--- trunk/languages/pipp/t/php/gmp.t    (original)
+++ trunk/languages/pipp/t/php/gmp.t    Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/gmp.t
+    perl t/harness t/php/gmp.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/hello.t
==============================================================================
--- trunk/languages/pipp/t/php/hello.t  (original)
+++ trunk/languages/pipp/t/php/hello.t  Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-pipp/t/hello.t - tests for Pipp
+t/php/hello.t - tests for Pipp
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/hello.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/info.t
==============================================================================
--- trunk/languages/pipp/t/php/info.t   (original)
+++ trunk/languages/pipp/t/php/info.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/info.t
+    perl t/harness t/php/info.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/math.t
==============================================================================
--- trunk/languages/pipp/t/php/math.t   (original)
+++ trunk/languages/pipp/t/php/math.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/math.t
+    perl t/harness t/php/math.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/md5.t
==============================================================================
--- trunk/languages/pipp/t/php/md5.t    (original)
+++ trunk/languages/pipp/t/php/md5.t    Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl t/php/md5.t
+    % perl t/harness t/php/md5.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/namespace.t
==============================================================================
--- trunk/languages/pipp/t/php/namespace.t      (original)
+++ trunk/languages/pipp/t/php/namespace.t      Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-namespace.t - testing packages, aka namespaces
+t/php/namespace.t - testing packages, aka namespaces
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/namespace.t
 
 =head1 DESCRIPTION
 
@@ -49,7 +53,7 @@
 echo \FOO;
 
 namespace \;
- 
+
 echo FOO;
 echo A\B\FOO;
 echo \FOO;
@@ -72,7 +76,7 @@
 const FOO  = "FOO in a::b\n";
 
 namespace \;
- 
+
 echo A\B\FOO;
 echo A\b\FOO;
 echo a\B\FOO;
@@ -100,7 +104,7 @@
 echo $\FOO;
 
 namespace \;
- 
+
 echo $FOO;
 echo $A\B\FOO;
 echo $\FOO;
@@ -121,15 +125,15 @@
 namespace A\B;
 
 class Dings {
-    
+
     function bums() {
         echo "The function bums() in class A\\Dings has been called.\n";
     }
 }
- 
+
 $dings = new A\Dings;
 $dings->bums();
- 
+
 ?>
 CODE
 The function bums() in class A\Dings has been called.

Modified: trunk/languages/pipp/t/php/oo.t
==============================================================================
--- trunk/languages/pipp/t/php/oo.t     (original)
+++ trunk/languages/pipp/t/php/oo.t     Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-oo.t - testing object oriented features
+t/php/oo.t - testing object oriented features
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/oo.t
 
 =head1 DESCRIPTION
 
@@ -22,14 +26,14 @@
 <?php
 
 class Dings {
-    
+
     function bums() {
         echo "The function bums() in class Dings has been called.\n";
     }
 }
 
 echo "After class definition.\n"
- 
+
 ?>
 CODE
 After class definition.
@@ -39,12 +43,12 @@
 <?php
 
 class Foo {
-    
-    const bar = "constant bar in class Foo\n"; 
+
+    const bar = "constant bar in class Foo\n";
 }
 
 echo Foo::bar;
- 
+
 ?>
 CODE
 constant bar in class Foo
@@ -54,15 +58,15 @@
 <?php
 
 class Dings {
-    
+
     function bums() {
         echo "The function bums() in class Dings has been called.\n";
     }
 }
- 
+
 $dings = new Dings;
 $dings->bums();
- 
+
 ?>
 CODE
 The function bums() in class Dings has been called.
@@ -73,15 +77,15 @@
 
 class Dings {
     public $foo_member = 'a member of Foo';
-    
+
     function bums() {
         echo "The function bums() in class Dings has been called.\n";
     }
 }
- 
+
 $dings = new Dings;
 $dings->bums();
- 
+
 ?>
 CODE
 The function bums() in class Dings has been called.
@@ -92,20 +96,20 @@
 <?php
 
 class Foo {
-    
+
     function bar() {
         echo "The method bar() of class Foo has been called.\n";
     }
-    
+
     function baz() {
         echo "The method baz() of class Foo has been called.\n";
         $this->bar();
     }
 }
- 
+
 $foo = new Foo;
 $foo->baz();
- 
+
 ?>
 CODE
 The method baz() of class Foo has been called.
@@ -116,11 +120,11 @@
 
 class Foo {
 
-    has $.member is rw; 
+    has $.member is rw;
 
     # default value for members is not implemented yet in Rakudo
     method set_member() {
-        $.member = 'a member of Foo'; 
+        $.member = 'a member of Foo';
     }
 
     method echo_member() {
@@ -128,7 +132,7 @@
         print "\n";
     }
 }
- 
+
 my Foo $foo .= new();
 $foo.set_member();
 $foo.echo_member();
@@ -140,16 +144,16 @@
 
 class Foo {
     public $member = 'a member of Foo';
-    
+
     function echo_member() {
         echo $this->member;
         echo "\n";
     }
 }
- 
+
 $foo = new Foo;
 $foo->echo_menber();
- 
+
 ?>
 CODE
 a member of Foo

Modified: trunk/languages/pipp/t/php/pcre.t
==============================================================================
--- trunk/languages/pipp/t/php/pcre.t   (original)
+++ trunk/languages/pipp/t/php/pcre.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/pcre.t
+    % perl t/harness t/php/pcre.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/rand.t
==============================================================================
--- trunk/languages/pipp/t/php/rand.t   (original)
+++ trunk/languages/pipp/t/php/rand.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/rand.t
+    % perl t/harness t/php/rand.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/references.t
==============================================================================
--- trunk/languages/pipp/t/php/references.t     (original)
+++ trunk/languages/pipp/t/php/references.t     Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-references.t - testing references
+t/php/references.t - testing references
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/references.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/relops.t
==============================================================================
--- trunk/languages/pipp/t/php/relops.t (original)
+++ trunk/languages/pipp/t/php/relops.t Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-pipp/t/relops.t - tests for Pipp
+t/php/relops.t - tests for Pipp
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/relops.t
 
 =head1 DESCRIPTION
 
@@ -22,7 +26,7 @@
 use FindBin;
 use lib "$FindBin::Bin/../../../../lib", "$FindBin::Bin/../../lib";
 
-use Parrot::Config (); 
+use Parrot::Config ();
 use Parrot::Test;
 use Test::More     tests => 13;
 

Modified: trunk/languages/pipp/t/php/sha1.t
==============================================================================
--- trunk/languages/pipp/t/php/sha1.t   (original)
+++ trunk/languages/pipp/t/php/sha1.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl php/sha1.t
+    % perl t/harness t/php/sha1.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/string.t
==============================================================================
--- trunk/languages/pipp/t/php/string.t (original)
+++ trunk/languages/pipp/t/php/string.t Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/string.t
+    perl t/harness t/php/string.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/strings.t
==============================================================================
--- trunk/languages/pipp/t/php/strings.t        (original)
+++ trunk/languages/pipp/t/php/strings.t        Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-pipp/t/strings.t - tests for Pipp
+t/php/strings.t - tests for Pipp
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/strings.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/superglobals.t
==============================================================================
--- trunk/languages/pipp/t/php/superglobals.t   (original)
+++ trunk/languages/pipp/t/php/superglobals.t   Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-pipp/t/superglobals.t - tests for Pipp
+t/php/superglobals.t - tests for Pipp
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/superglobals.t
 
 =head1 DESCRIPTION
 
@@ -18,7 +22,7 @@
 use FindBin;
 use lib "$FindBin::Bin/../../../../lib", "$FindBin::Bin/../../lib";
 
-use Parrot::Config (); 
+use Parrot::Config ();
 use Parrot::Test;
 use Test::More     tests => 3;
 

Modified: trunk/languages/pipp/t/php/tags.t
==============================================================================
--- trunk/languages/pipp/t/php/tags.t   (original)
+++ trunk/languages/pipp/t/php/tags.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/tags.t
+    % perl t/harness t/php/tags.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/type.t
==============================================================================
--- trunk/languages/pipp/t/php/type.t   (original)
+++ trunk/languages/pipp/t/php/type.t   Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/type.t
+    perl t/harness t/php/type.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/var.t
==============================================================================
--- trunk/languages/pipp/t/php/var.t    (original)
+++ trunk/languages/pipp/t/php/var.t    Fri Nov 28 02:18:50 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib pipp/t/php/var.t
+    perl t/harness t/php/var.t
 
 =head1 DESCRIPTION
 

Modified: trunk/languages/pipp/t/php/variables.t
==============================================================================
--- trunk/languages/pipp/t/php/variables.t      (original)
+++ trunk/languages/pipp/t/php/variables.t      Fri Nov 28 02:18:50 2008
@@ -3,7 +3,11 @@
 
 =head1 NAME
 
-variables.t - testing variables
+t/php/variables.t - testing variables
+
+=head1 SYNOPSIS
+
+    perl t/harness t/php/variables.t
 
 =head1 DESCRIPTION
 
@@ -18,7 +22,7 @@
 use FindBin;
 use lib "$FindBin::Bin/../../../../lib", "$FindBin::Bin/../../lib";
 
-use Parrot::Config (); 
+use Parrot::Config ();
 use Parrot::Test;
 use Test::More     tests => 6;
 

Modified: trunk/languages/pipp/t/pmc/array.t
==============================================================================
--- trunk/languages/pipp/t/pmc/array.t  (original)
+++ trunk/languages/pipp/t/pmc/array.t  Fri Nov 28 02:18:50 2008
@@ -300,7 +300,7 @@
     s = get_repr p
     is(s, '{-1: x}', "string->int conversion converts '-1'")
 
-    p = new 'PhpArray' 
+    p = new 'PhpArray'
     p['99999999999999999999999'] = 'x' #check for overflow
     s = get_repr p
     is(s, '{"99999999999999999999999": x}', "string->int conversion doesn't 
convert '99999999999999999999999'")

Reply via email to