Skip to content

Commit 3526406

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: add tests
1 parent e42d9e4 commit 3526406

File tree

6 files changed

+26
-0
lines changed

6 files changed

+26
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| org.apache.commons.io | 14 | 1 | 1 | 2 | 18 | 0.5 | 0.06666666666666667 |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Metrics/Summaries/GeneratedVsManualCoverage.ql
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package org.apache.commons.io;
2+
import java.io.*;
3+
import java.util.*;
4+
5+
public class IOUtils {
6+
public static BufferedInputStream buffer(InputStream inputStream) { return null; } // Generated-only summary
7+
public static void copy(InputStream input, Writer output, String inputEncoding) throws IOException { } // Generated-only summary
8+
public static void copy(Reader input, OutputStream output) throws IOException { } // Generated neutral
9+
public static long copyLarge(Reader input, Writer output) throws IOException { return 42; } // Generated-only summary
10+
public static int read(InputStream input, byte[] buffer) throws IOException { return 42; } // Generated-only summary
11+
public static void readFully(InputStream input, byte[] buffer) throws IOException { } // Generated-only summary
12+
public static byte[] readFully(InputStream input, int length) throws IOException { return null; } // Generated-only summary
13+
public static List<String> readLines(InputStream input, String encoding) throws IOException { return null; } // Generated-only summary
14+
public static InputStream toBufferedInputStream(InputStream input) throws IOException { return null; } // Manual-only summary (generated neutral)
15+
public static BufferedReader toBufferedReader(Reader reader) { return null; } // Generated-only summary
16+
public static byte[] toByteArray(InputStream input, int size) throws IOException { return null; } // Generated-only summary
17+
public static char[] toCharArray(InputStream is, String encoding) throws IOException { return null; } // Generated-only summary
18+
public static InputStream toInputStream(String input, String encoding) throws IOException { return null; } // Generated-only summary
19+
public static String toString(InputStream input, String encoding) throws IOException { return null; } // Generated-only summary
20+
public static void write(char[] data, Writer output) throws IOException { } // Generated-only summary
21+
public static void writeChunked(char[] data, Writer output) throws IOException { } // Generated-only summary
22+
public static void writeLines(Collection<?> lines, String lineEnding, Writer writer) throws IOException { } // Both
23+
public static void noSummary(String string) throws IOException { } // No model
24+
}

0 commit comments

Comments
 (0)