[Rprotobuf-commits] r442 - patches
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon May 14 03:29:09 CEST 2012
Author: edd
Date: 2012-05-14 03:29:09 +0200 (Mon, 14 May 2012)
New Revision: 442
Modified:
patches/patch_by_Murray_rprotobuf_r406.diff
Log:
another pending commit-let
Modified: patches/patch_by_Murray_rprotobuf_r406.diff
===================================================================
--- patches/patch_by_Murray_rprotobuf_r406.diff 2012-05-14 01:27:28 UTC (rev 441)
+++ patches/patch_by_Murray_rprotobuf_r406.diff 2012-05-14 01:29:09 UTC (rev 442)
@@ -60,6 +60,31 @@
}
\value{
\code{NULL}, invisibly.
+Index: pkg/inst/unitTests/runit.import.R
+===================================================================
+--- pkg/inst/unitTests/runit.import.R (revision 0)
++++ pkg/inst/unitTests/runit.import.R (revision 0)
+@@ -0,0 +1,20 @@
++# Copyright 2011 Google Inc.
++#
++# This program is free software; you can redistribute it and/or
++# modify it under the terms of the GNU General Public License
++# as published by the Free Software Foundation; either version 2
++# of the License, or (at your option) any later version.
++#
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++
++test.import <- function() {
++ # Verify we get a graceful errorr ather than segfault.
++ checkException(readProtoFiles("/etc/hosts"))
++}
Index: pkg/inst/unitTests/runit.golden.message.R
===================================================================
--- pkg/inst/unitTests/runit.golden.message.R (revision 406)
More information about the Rprotobuf-commits
mailing list