MCPcopy
hub / github.com/google/brotli / suite

Method suite

java/org/brotli/wrapper/enc/EncoderTest.java:26–38  ·  view source on GitHub ↗

Creates a test suite.

()

Source from the content-addressed store, hash-verified

24
25 /** Creates a test suite. */
26 public static TestSuite suite() throws IOException {
27 TestSuite suite = new TestSuite();
28 InputStream bundle = getBundle();
29 try {
30 List<String> entries = BundleHelper.listEntries(bundle);
31 for (String entry : entries) {
32 suite.addTest(new EncoderTestCase(entry));
33 }
34 } finally {
35 bundle.close();
36 }
37 return suite;
38 }
39
40 /** Test case with a unique name. */
41 static class EncoderTestCase extends TestCase {

Callers

nothing calls this directly

Calls 3

getBundleMethod · 0.95
listEntriesMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected