[uClibc-cvs] CVS uClibc++/tests

CVS User gkajmowi gkajmowi at codepoet.org
Fri Jan 14 23:57:33 UTC 2005


Update of /var/cvs/uClibc++/tests
In directory nail:/tmp/cvs-serv5170/tests

Modified Files:
	sstreamtest.cpp 
Log Message:
Allows for configurable subdirectories for installation.  Also Fixed a few minor issues with stringstream

--- /var/cvs/uClibc++/tests/sstreamtest.cpp	2004/09/01 16:39:31	1.1
+++ /var/cvs/uClibc++/tests/sstreamtest.cpp	2005/01/14 23:57:32	1.2
@@ -36,8 +36,18 @@
 	std::cout << "i (should be 5): " << i << std::endl;
 	std::cout << "s (should be Test): " << s << std::endl;
 
+	a.clear();
 	std::cout << "Buffer: " << a.str() << std::endl;
 
+	std::cout <<"Combining read and write activities\n";
+	a.str("Testing data");
+	s = "";
+	a << 2.5 << " ";// << 't' << "T";
+	a >> s;
+	std::cout << "Read out: " << "'" << s << "'" << std::endl;
+	a >> s;
+	std::cout << "Read out: " << "'" << s << "'" << std::endl;
+	std::cout << "Current buffer value: " << a.str() << std::endl;
 
 	return 0;
 }



More information about the uClibc-cvs mailing list