test_class.file: BackEnd/Core/sailfish-core/src/test/java/com/exactpro/sf/aml/reader/AMLReaderTest.java
test_class.identifier: AMLReaderTest
test_class.superclass: extends AbstractTest
test_case.body: @Test
      public void positiveTest() throws Exception {
          File matrixFile = new File(BASE_DIR, "src/test/resources/aml/reader/positive-test.csv");
  
          try(AdvancedMatrixReader matrixReader = new AdvancedMatrixReader(matrixFile)) {
              AMLMatrix matrix = AMLReader.read(matrixReader);
              List<AMLBlock> blocks = matrix.getBlocks();
  
              Assert.assertEquals(3, blocks.size());
  
              AMLBlock block = blocks.get(0);
  
              Assert.assertEquals(5, block.getLine());
              Assert.assertFalse(block.isExecutable());
              Assert.assertEquals(1, block.getElements().size());
              Assert.assertEquals(AMLElement.class, block.getElements().get(0).getClass());
  
              block = blocks.get(1);
  
              Assert.assertEquals(9, block.getLine());
              Assert.assertTrue(block.isExecutable());
              Assert.assertEquals(1, block.getElements().size());
              Assert.assertEquals(AMLBlock.class, block.getElements().get(0).getClass());
  
              block = blocks.get(2);
              List<AMLElement> elements = block.getElements();
  
              Assert.assertEquals(24, block.getLine());
              Assert.assertTrue(block.isExecutable());
              Assert.assertEquals(3, block.getElements().size());
  
              Assert.assertEquals(AMLBlock.class, elements.get(0).getClass());
              Assert.assertEquals(AMLBlock.class, elements.get(1).getClass());
              Assert.assertEquals(AMLBlock.class, elements.get(2).getClass());
  
              Assert.assertFalse(elements.get(0).isExecutable());
              Assert.assertTrue(elements.get(1).isExecutable());
  
              block = (AMLBlock)elements.get(1);
  
              Assert.assertTrue(block.getElements().get(0).isExecutable());
              Assert.assertFalse(block.getElements().get(1).isExecutable());
  
              block = (AMLBlock)elements.get(2);
  
              Assert.assertEquals(3, block.getElements().size());
          }
      }
test_case.class_method_signature: AMLReaderTest.positiveTest()
test_case.full_signature: @Test public void positiveTest()
test_case.identifier: positiveTest
test_case.invocations: read getBlocks assertEquals size get assertEquals getLine assertFalse isExecutable assertEquals size getElements assertEquals getClass get getElements get assertEquals getLine assertTrue isExecutable assertEquals size getElements assertEquals getClass get getElements get getElements assertEquals getLine assertTrue isExecutable assertEquals size getElements assertEquals getClass get assertEquals getClass get assertEquals getClass get assertFalse isExecutable get assertTrue isExecutable get get assertTrue isExecutable get getElements assertFalse isExecutable get getElements get assertEquals size getElements
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void positiveTest()
focal_class.declarator: logger = LoggerFactory.getLogger(AMLReader.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(AMLReader.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/aml/reader/AMLReader.java
focal_class.identifier: AMLReader
focal_class.class_method_signature: AMLReader.read(AdvancedMatrixReader matrixReader)
focal_class.full_signature: public static AMLMatrix read(AdvancedMatrixReader matrixReader)
focal_class.identifier: read
focal_class.modifiers: public static
focal_class.parameters: (AdvancedMatrixReader matrixReader)
focal_class.return: AMLMatrix
focal_class.signature: AMLMatrix read(AdvancedMatrixReader matrixReader)
focal_class.class_method_signature: AMLReader.read(AdvancedMatrixReader matrixReader, boolean skipOptional)
focal_class.full_signature: public static AMLMatrix read(AdvancedMatrixReader matrixReader, boolean skipOptional)
focal_class.identifier: read
focal_class.modifiers: public static
focal_class.parameters: (AdvancedMatrixReader matrixReader, boolean skipOptional)
focal_class.return: AMLMatrix
focal_class.signature: AMLMatrix read(AdvancedMatrixReader matrixReader, boolean skipOptional)
focal_class.class_method_signature: AMLReader.prepareHeader(List<SimpleCell> header)
focal_class.full_signature: private static List<SimpleCell> prepareHeader(List<SimpleCell> header)
focal_class.identifier: prepareHeader
focal_class.modifiers: private static
focal_class.parameters: (List<SimpleCell> header)
focal_class.return: List<SimpleCell>
focal_class.signature: List<SimpleCell> prepareHeader(List<SimpleCell> header)
focal_method.body: public static AMLMatrix read(AdvancedMatrixReader matrixReader) throws IOException, AMLException {
          return read(matrixReader, false);
      }
focal_method.class_method_signature: AMLReader.read(AdvancedMatrixReader matrixReader)
focal_method.full_signature: public static AMLMatrix read(AdvancedMatrixReader matrixReader)
focal_method.identifier: read
focal_method.invocations: read
focal_method.modifiers: public static
focal_method.parameters: (AdvancedMatrixReader matrixReader)
focal_method.return: AMLMatrix
focal_method.signature: AMLMatrix read(AdvancedMatrixReader matrixReader)