test_class.declarator: tmpDir = System.getProperty("java.io.tmpdir")
test_class.modifier: private final
test_class.original_string: private final String tmpDir = System.getProperty("java.io.tmpdir");
test_class.type: String
test_class.var_name: tmpDir
test_class.declarator: fileName = tmpDir + File.separator + "test.csv"
test_class.modifier: private final
test_class.original_string: private final String fileName = tmpDir + File.separator + "test.csv";
test_class.type: String
test_class.var_name: fileName
test_class.declarator: tmpFile = new File(fileName)
test_class.modifier: private final
test_class.original_string: private final File tmpFile = new File(fileName);
test_class.type: File
test_class.var_name: tmpFile
test_class.file: BackEnd/Core/sailfish-core/src/test/java/com/exactpro/sf/aml/iomatrix/CSVMatrixWriterTest.java
test_class.identifier: CSVMatrixWriterTest
test_case.body: @Test
      public void testFlush() {
          try (CSVMatrixWriter e = new CSVMatrixWriter(fileName)) {
              String[] cells = new String[10];
              for (int i = 0; i < 10; i++) {
                  for (int j = 0; j < 10; j++) {
                      byte[] forString = new byte[32];
                      new Random().nextBytes(forString);
                      cells[j] = new String(forString);
                  }
                  e.write(cells);
              }
  
              e.flush();
  
              if (tmpFile.exists()) {
                  if (tmpFile.length() == 0L) {
                      fail("File is empty");
                  }
              } else {
                  fail("File not exists!");
              }
  
          } catch (Exception ex) {
              fail(ex.getMessage());
          }
      }
test_case.class_method_signature: CSVMatrixWriterTest.testFlush()
test_case.full_signature: @Test public void testFlush()
test_case.identifier: testFlush
test_case.invocations: nextBytes write flush exists length fail fail fail getMessage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFlush()
focal_class.declarator: writer
focal_class.modifier: private final
focal_class.original_string: private final CsvWriter writer;
focal_class.type: CsvWriter
focal_class.var_name: writer
focal_class.file: BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/aml/iomatrix/CSVMatrixWriter.java
focal_class.identifier: CSVMatrixWriter
focal_class.interfaces: implements IMatrixWriter
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(String fileName)
focal_class.full_signature: public  CSVMatrixWriter(String fileName)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (String fileName)
focal_class.signature:  CSVMatrixWriter(String fileName)
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(String fileName, char delimiter)
focal_class.full_signature: public  CSVMatrixWriter(String fileName, char delimiter)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (String fileName, char delimiter)
focal_class.signature:  CSVMatrixWriter(String fileName, char delimiter)
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(String fileName, String encoding)
focal_class.full_signature: public  CSVMatrixWriter(String fileName, String encoding)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (String fileName, String encoding)
focal_class.signature:  CSVMatrixWriter(String fileName, String encoding)
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(OutputStream outputStream)
focal_class.full_signature: public  CSVMatrixWriter(OutputStream outputStream)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (OutputStream outputStream)
focal_class.signature:  CSVMatrixWriter(OutputStream outputStream)
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(OutputStream outputStream, char delimiter)
focal_class.full_signature: public  CSVMatrixWriter(OutputStream outputStream, char delimiter)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (OutputStream outputStream, char delimiter)
focal_class.signature:  CSVMatrixWriter(OutputStream outputStream, char delimiter)
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(OutputStream outputStream, char delimiter, String encoding)
focal_class.full_signature: public  CSVMatrixWriter(OutputStream outputStream, char delimiter, String encoding)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (OutputStream outputStream, char delimiter, String encoding)
focal_class.signature:  CSVMatrixWriter(OutputStream outputStream, char delimiter, String encoding)
focal_class.class_method_signature: CSVMatrixWriter.CSVMatrixWriter(OutputStream outputStream, char delimiter, Charset charset)
focal_class.full_signature: public  CSVMatrixWriter(OutputStream outputStream, char delimiter, Charset charset)
focal_class.identifier: CSVMatrixWriter
focal_class.modifiers: public
focal_class.parameters: (OutputStream outputStream, char delimiter, Charset charset)
focal_class.signature:  CSVMatrixWriter(OutputStream outputStream, char delimiter, Charset charset)
focal_class.class_method_signature: CSVMatrixWriter.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: CSVMatrixWriter.writeCells(SimpleCell[] cells)
focal_class.full_signature: @Override public void writeCells(SimpleCell[] cells)
focal_class.identifier: writeCells
focal_class.modifiers: @Override public
focal_class.parameters: (SimpleCell[] cells)
focal_class.return: void
focal_class.signature: void writeCells(SimpleCell[] cells)
focal_class.class_method_signature: CSVMatrixWriter.write(String[] strings)
focal_class.full_signature: @Override public void write(String[] strings)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (String[] strings)
focal_class.return: void
focal_class.signature: void write(String[] strings)
focal_class.class_method_signature: CSVMatrixWriter.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_method.body: @Override
      public void flush() {
          writer.flush();
      }
focal_method.class_method_signature: CSVMatrixWriter.flush()
focal_method.full_signature: @Override public void flush()
focal_method.identifier: flush
focal_method.invocations: flush
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void flush()