/* $XConsortium: graphic_test.cc /main/4 1996/07/18 16:02:34 drk $ */ #ifdef REGRESSION_TEST #include "oliasdb/graphic_test.h" #define LARGE_BUFSIZ 2048 void print_graphic(graphic_smart_ptr& x, ostream& out, Boolean out_misc) { out << "locator=" << x.locator() << "\n"; out << "filename=" << x.file_name() << "\n"; out << "version=" << x.version() << "\n"; const char* title = x.title(); if ( title ) out << "title=" << x.title() << "\n"; else out << "no title" << "\n"; out << "data_size=" << x.data_size() << "\n"; int l = x.data_size(); const char* str = x.data(); for ( int i=0; i get_obj_dict()).get_handler( form("%s.%s", b_ptr -> get_base_name(), "sgml.dict") ); x.random_string_to_be_compressed(out, min_len, max_len, y -> its_oid()); // graphic x.random_string(out, 10, 30); // title } #endif