Changeset 80c703 in git for libpolys/tests
- Timestamp:
- Jan 10, 2013, 4:39:56 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5fdf7adfacd151eb7c448b03ce681f70b7211e79
- Parents:
- 538512de5ab210253d8edeee07e4a22b42392e56
- git-author:
- Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:39:56+01:00
- git-committer:
- Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:06+01:00
- Location:
- libpolys/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/tests/common.h
r538512 r80c703 79 79 n_Write(a, r); 80 80 81 const char* s = StringAppendS(""); 81 std::stringstream ss; 82 { 83 char* s = StringEndS(); ss << s; omFree(s); 84 } 82 85 83 std::stringstream ss; ss << s;84 85 StringSetS("");86 86 return ss.str(); 87 87 … … 136 136 StringSetS("ressources in use (as reported by feStringAppendResources(0):\n"); 137 137 feStringAppendResources(0); 138 PrintS(StringAppendS("\n")); 139 138 139 { char* s = StringEndS(); PrintS(s); omFree(s); } 140 140 141 return true; 141 142 } -
libpolys/tests/polys_test.h
r538512 r80c703 80 80 p_Write(a, r); 81 81 82 const char* s = StringAppendS("");83 84 std::stringstream ss; ss << s;85 86 StringSetS("");82 std::stringstream ss; 83 { 84 char* s = StringEndS(); ss << s; omFree(s); 85 } 86 87 87 return ss.str(); 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.