[svn:parrot] r37758 - in trunk: . t/pmc

cotto at svn.parrot.org cotto at svn.parrot.org
Fri Mar 27 19:15:25 UTC 2009


Author: cotto
Date: Fri Mar 27 19:15:23 2009
New Revision: 37758
URL: https://trac.parrot.org/parrot/changeset/37758

Log:
[PMC] add a stub test for the Socket PMC (bacek++ for the patch)

Added:
   trunk/t/pmc/socket.t
Modified:
   trunk/MANIFEST

Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST	Fri Mar 27 19:00:40 2009	(r37757)
+++ trunk/MANIFEST	Fri Mar 27 19:15:23 2009	(r37758)
@@ -1,7 +1,7 @@
 # ex: set ro:
 # $Id$
 #
-# generated by tools/dev/mk_manifest_and_skip.pl Thu Mar 26 01:36:02 2009 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Fri Mar 27 19:13:49 2009 UT
 #
 # See tools/dev/install_files.pl for documentation on the
 # format of this file.
@@ -1902,6 +1902,7 @@
 t/pmc/sharedref.t                                           [test]
 t/pmc/signal.t                                              [test]
 t/pmc/sockaddr.t                                            [test]
+t/pmc/socket.t                                              [test]
 t/pmc/string.t                                              [test]
 t/pmc/stringhandle.t                                        [test]
 t/pmc/sub.t                                                 [test]

Added: trunk/t/pmc/socket.t
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/t/pmc/socket.t	Fri Mar 27 19:15:23 2009	(r37758)
@@ -0,0 +1,32 @@
+#! parrot
+# Copyright (C) 2006-2009, Parrot Foundation.
+# $Id$
+
+=head1 NAME
+
+t/pmc/socket.t - test the Socket PMC
+
+=head1 SYNOPSIS
+
+    % prove t/pmc/socket.t
+
+=head1 DESCRIPTION
+
+Tests the Socket PMC.
+
+=cut
+
+.sub main :main
+    .include 'test_more.pir'
+
+    plan(1)
+
+    new $P0, ['Socket']
+    ok(1, 'Instantiated a Socket PMC')
+.end
+
+# Local Variables:
+#   mode: pir
+#   fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4 ft=pir:


More information about the parrot-commits mailing list