| 67 | } |
| 68 | |
| 69 | void |
| 70 | CoverageTestExtension::output_array_init(std::ostream &out, int count) |
| 71 | { |
| 72 | if (inputs_size_ == 1) { |
| 73 | test_values_[count]->Output(out); |
| 74 | return; |
| 75 | } |
| 76 | int len = 0; |
| 77 | int last_index = inputs_size_ + count - 1; |
| 78 | for (int i = count; i < last_index; ++i) { |
| 79 | if ((len % 10) == 0) { |
| 80 | out << std::endl; |
| 81 | out << AbsExtension::tab_ << AbsExtension::tab_; |
| 82 | } |
| 83 | test_values_[i]->Output(out); |
| 84 | out << ", "; |
| 85 | len++; |
| 86 | } |
| 87 | if ((len % 10) == 0) { |
| 88 | out << std::endl; |
| 89 | out << AbsExtension::tab_ << AbsExtension::tab_; |
| 90 | } |
| 91 | test_values_[last_index]->Output(out); |
| 92 | } |
| 93 | |
| 94 | void |
| 95 | CoverageTestExtension::output_decls(std::ostream &out) |