Home
last modified time | relevance | path

Searched refs:ExecutionDataWriter (Results 1 – 21 of 21) sorted by relevance

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataReaderWriterTest.java40 private ExecutionDataWriter writer;
85 new ExecutionDataWriter(out).flush(); in testFlush()
112 byte[] header = ExecutionDataWriter.getFileHeader(); in testGetFileHeader()
117 final char version = ExecutionDataWriter.FORMAT_VERSION; in testGetFileHeader()
124 new ExecutionDataWriter(buffer); in testMultipleHeaders()
125 new ExecutionDataWriter(buffer); in testMultipleHeaders()
126 new ExecutionDataWriter(buffer); in testMultipleHeaders()
133 buffer.write(ExecutionDataWriter.BLOCK_HEADER); in testInvalidMagicNumber()
142 buffer.write(ExecutionDataWriter.BLOCK_HEADER); in testInvalidVersion()
145 final char version = (char) (ExecutionDataWriter.FORMAT_VERSION - 1); in testInvalidVersion()
[all …]
DIncompatibleExecDataVersionExceptionTest.java35 + Integer.toHexString(ExecutionDataWriter.FORMAT_VERSION) + "."; in testGetMessage()
46 assertEquals(ExecutionDataWriter.FORMAT_VERSION, in testGetExpectedVersion()
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DCreateExecFiles.java19 import org.jacoco.core.data.ExecutionDataWriter;
32 new ExecutionDataWriter(out); in main()
36 new ExecutionDataWriter(out); in main()
40 ExecutionDataWriter writer = new ExecutionDataWriter(out); in main()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/
DExecutionDataReader.java88 if (firstBlock && type != ExecutionDataWriter.BLOCK_HEADER) { in read()
108 case ExecutionDataWriter.BLOCK_HEADER: in readBlock()
111 case ExecutionDataWriter.BLOCK_SESSIONINFO: in readBlock()
114 case ExecutionDataWriter.BLOCK_EXECUTIONDATA: in readBlock()
124 if (in.readChar() != ExecutionDataWriter.MAGIC_NUMBER) { in readHeader()
128 if (version != ExecutionDataWriter.FORMAT_VERSION) { in readHeader()
DExecutionDataWriter.java23 public class ExecutionDataWriter implements ISessionInfoVisitor, class
59 public ExecutionDataWriter(final OutputStream output) throws IOException { in ExecutionDataWriter() method in ExecutionDataWriter
120 new ExecutionDataWriter(buffer); in getFileHeader()
DIncompatibleExecDataVersionException.java35 Integer.valueOf(ExecutionDataWriter.FORMAT_VERSION))); in IncompatibleExecDataVersionException()
46 return ExecutionDataWriter.FORMAT_VERSION; in getExpectedVersion()
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DExecutionDataServer.java21 import org.jacoco.core.data.ExecutionDataWriter;
48 final ExecutionDataWriter fileWriter = new ExecutionDataWriter( in main()
65 private final ExecutionDataWriter fileWriter;
67 Handler(final Socket socket, final ExecutionDataWriter fileWriter) in Handler()
DExecutionDataClient.java19 import org.jacoco.core.data.ExecutionDataWriter;
44 final ExecutionDataWriter localWriter = new ExecutionDataWriter( in main()
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/
DExecDumpTest.java22 import org.jacoco.core.data.ExecutionDataWriter;
51 final ExecutionDataWriter writer = new ExecutionDataWriter(out); in createExecFile()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
DFileOutput.java19 import org.jacoco.core.data.ExecutionDataWriter;
55 final ExecutionDataWriter writer = new ExecutionDataWriter(output); in writeExecutionData()
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/
DExecInfoTest.java20 import org.jacoco.core.data.ExecutionDataWriter;
71 final ExecutionDataWriter writer = new ExecutionDataWriter(out); in createExecFile()
DMergeTest.java26 import org.jacoco.core.data.ExecutionDataWriter;
80 ExecutionDataWriter writer = new ExecutionDataWriter(execout); in createExecFile()
DReportTest.java21 import org.jacoco.core.data.ExecutionDataWriter;
67 ExecutionDataWriter writer = new ExecutionDataWriter(execout); in should_print_warning_when_exec_data_does_not_match()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/tools/
DExecFileLoader.java25 import org.jacoco.core.data.ExecutionDataWriter;
88 final ExecutionDataWriter dataWriter = new ExecutionDataWriter(stream); in save()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DRemoteControlWriter.java17 import org.jacoco.core.data.ExecutionDataWriter;
22 public class RemoteControlWriter extends ExecutionDataWriter implements
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DTcpConnectionTest.java25 import org.jacoco.core.data.ExecutionDataWriter;
68 new ExecutionDataWriter(remoteOut); in testInvalidContent()
83 new ExecutionDataWriter(remoteOut); in testRemoteClose()
112 new ExecutionDataWriter(remoteOut); in testLocalClose()
DTcpServerOutputTest.java29 import org.jacoco.core.data.ExecutionDataWriter;
80 new ExecutionDataWriter(serverSocket.connect().getOutputStream()); in testShutdownWithConnection()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DAgent.java26 import org.jacoco.core.data.ExecutionDataWriter;
248 final ExecutionDataWriter writer = new ExecutionDataWriter(buffer); in getExecutionData()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/
DExecFileLoaderTest.java28 import org.jacoco.core.data.ExecutionDataWriter;
119 final ExecutionDataWriter writer = new ExecutionDataWriter(out); in createFile()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/
DCRC64Test.java18 import org.jacoco.core.data.ExecutionDataWriter;
32 assertEquals(0x1007, ExecutionDataWriter.FORMAT_VERSION); in testJava9()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DRemoteControlReaderWriterTest.java24 import org.jacoco.core.data.ExecutionDataWriter;