| 102 | // do_cell ---------------------------------------------------------------// |
| 103 | |
| 104 | void do_cell( const string & test_case, int i ) |
| 105 | { |
| 106 | string temp = column[i]->cell_value(path(test_case)); |
| 107 | string value; |
| 108 | outfile << "<td>"; |
| 109 | if (temp.empty()) |
| 110 | value = "<font size=\"-1\"><i>empty</i></font>"; |
| 111 | else |
| 112 | value = string("<code>") + temp + "</code>"; |
| 113 | |
| 114 | if (posix) |
| 115 | posix_outfile << value << '\n'; |
| 116 | else |
| 117 | { |
| 118 | std::getline(posix_infile, temp); |
| 119 | if (value != temp) // POSIX and Windows differ |
| 120 | { |
| 121 | value.insert(0, "<br>"); |
| 122 | value.insert(0, temp); |
| 123 | value.insert(0, "<span style=\"background-color: #CCFFCC\">"); |
| 124 | value += "</span>"; |
| 125 | } |
| 126 | outfile << value; |
| 127 | } |
| 128 | outfile << "</td>\n"; |
| 129 | } |
| 130 | |
| 131 | // do_row ------------------------------------------------------------------// |
| 132 |
no test coverage detected