[monkey-bubble: 162/753] prine copyTo test.



commit 0419e79158f4f6617ea3e831f42360b8789cdbd9
Author: Michael Meeks <michael ximian com>
Date:   Wed Apr 18 13:23:05 2001 +0000

    prine copyTo test.
    
    2001-04-18  Michael Meeks  <michael ximian com>
    
    	* tests/test-storage.c (stream_copy_tests): prine copyTo
    	test.

 tests/test-storage.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/tests/test-storage.c b/tests/test-storage.c
index 7e54f24..74016cf 100644
--- a/tests/test-storage.c
+++ b/tests/test-storage.c
@@ -386,7 +386,6 @@ stream_copy_tests (CORBA_Object storage, CORBA_Environment *ev)
 	Bonobo_StorageInfo *setinfo, *getinfo;
 	Bonobo_Stream_iobuf *buf, *obuf;
 	gint32 i, j;
-	CORBA_long bread, bwritten;
 
 	printf ("starting copy tests\n");
 
@@ -424,13 +423,6 @@ stream_copy_tests (CORBA_Object storage, CORBA_Environment *ev)
 	Bonobo_Stream_seek (stream, 0, Bonobo_Stream_SEEK_SET, ev);
 	NO_EXCEPTION (ev);
 
-	/* copy the whole file */
-	Bonobo_Stream_copyTo (stream, "copy2.txt", -1, &bread, &bwritten, ev);
-	NO_EXCEPTION (ev);
-	
-	g_assert (bread == (TESTSIZE*4));
-	g_assert (bwritten == (TESTSIZE*4));
-
 	/* close the file */
 	bonobo_object_release_unref (stream, ev);
 	NO_EXCEPTION (ev);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]