mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Java: group test methods
This commit is contained in:
@@ -3,22 +3,32 @@ import java.io.*;
|
||||
import java.util.*;
|
||||
|
||||
public class IOUtils {
|
||||
public static BufferedInputStream buffer(InputStream inputStream) { return null; } // Generated-only summary
|
||||
public static void copy(InputStream input, Writer output, String inputEncoding) throws IOException { } // Generated-only summary
|
||||
public static void copy(Reader input, OutputStream output) throws IOException { } // Generated neutral
|
||||
public static long copyLarge(Reader input, Writer output) throws IOException { return 42; } // Generated-only summary
|
||||
public static int read(InputStream input, byte[] buffer) throws IOException { return 42; } // Generated-only summary
|
||||
public static void readFully(InputStream input, byte[] buffer) throws IOException { } // Generated-only summary
|
||||
public static byte[] readFully(InputStream input, int length) throws IOException { return null; } // Generated-only summary
|
||||
public static List<String> readLines(InputStream input, String encoding) throws IOException { return null; } // Generated-only summary
|
||||
public static InputStream toBufferedInputStream(InputStream input) throws IOException { return null; } // Manual-only summary (generated neutral)
|
||||
public static BufferedReader toBufferedReader(Reader reader) { return null; } // Generated-only summary
|
||||
public static byte[] toByteArray(InputStream input, int size) throws IOException { return null; } // Generated-only summary
|
||||
public static char[] toCharArray(InputStream is, String encoding) throws IOException { return null; } // Generated-only summary
|
||||
public static InputStream toInputStream(String input, String encoding) throws IOException { return null; } // Generated-only summary
|
||||
public static String toString(InputStream input, String encoding) throws IOException { return null; } // Generated-only summary
|
||||
public static void write(char[] data, Writer output) throws IOException { } // Generated-only summary
|
||||
public static void writeChunked(char[] data, Writer output) throws IOException { } // Generated-only summary
|
||||
public static void writeLines(Collection<?> lines, String lineEnding, Writer writer) throws IOException { } // Both
|
||||
public static void noSummary(String string) throws IOException { } // No model
|
||||
|
||||
// Generated-only summaries
|
||||
public static BufferedInputStream buffer(InputStream inputStream) { return null; }
|
||||
public static void copy(InputStream input, Writer output, String inputEncoding) throws IOException { }
|
||||
public static long copyLarge(Reader input, Writer output) throws IOException { return 42; }
|
||||
public static int read(InputStream input, byte[] buffer) throws IOException { return 42; }
|
||||
public static void readFully(InputStream input, byte[] buffer) throws IOException { }
|
||||
public static byte[] readFully(InputStream input, int length) throws IOException { return null; }
|
||||
public static List<String> readLines(InputStream input, String encoding) throws IOException { return null; }
|
||||
public static BufferedReader toBufferedReader(Reader reader) { return null; }
|
||||
public static byte[] toByteArray(InputStream input, int size) throws IOException { return null; }
|
||||
public static char[] toCharArray(InputStream is, String encoding) throws IOException { return null; }
|
||||
public static InputStream toInputStream(String input, String encoding) throws IOException { return null; }
|
||||
public static String toString(InputStream input, String encoding) throws IOException { return null; }
|
||||
public static void write(char[] data, Writer output) throws IOException { }
|
||||
public static void writeChunked(char[] data, Writer output) throws IOException { }
|
||||
|
||||
// Manual-only summary (generated neutral)
|
||||
public static InputStream toBufferedInputStream(InputStream input) throws IOException { return null; }
|
||||
|
||||
// Both
|
||||
public static void writeLines(Collection<?> lines, String lineEnding, Writer writer) throws IOException { }
|
||||
|
||||
// No model
|
||||
public static void noSummary(String string) throws IOException { }
|
||||
|
||||
// Generated neutral
|
||||
public static void copy(Reader input, OutputStream output) throws IOException { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user