Package org.eclipse.xtext.xdoc.xdoc

Examples of org.eclipse.xtext.xdoc.xdoc.Section3


    Section2 section2 = section.getSubSections().get(0);
    assertEquals(1, section2.getTitle().getContents().size());
    textPart = (TextPart) section2.getTitle().getContents().get(0);
    assertEquals("pilz", textPart.getText());
    assertEquals(1, section2.getSubSections().size());
    Section3 section3 = section2.getSubSections().get(0);
    assertEquals(1, section3.getTitle().getContents().size());
    textPart = (TextPart) section3.getTitle().getContents().get(0);
    assertEquals("sna", textPart.getText());
    assertEquals(1, section3.getSubSections().size());
    Section4 section4 = section3.getSubSections().get(0);
    assertEquals(1, section4.getTitle().getContents().size());
    textPart = (TextPart) section4.getTitle().getContents().get(0);
    assertEquals("fu", textPart.getText());
  }
View Full Code Here


      Assert.assertEquals("pilz", _text_3);
      EList<Section3> _subSections_4 = section2.getSubSections();
      int _size_7 = _subSections_4.size();
      Assert.assertEquals(1, _size_7);
      EList<Section3> _subSections_5 = section2.getSubSections();
      final Section3 section3 = IterableExtensions.<Section3>head(_subSections_5);
      TextOrMarkup _title_8 = section3.getTitle();
      EList<EObject> _contents_8 = _title_8.getContents();
      int _size_8 = _contents_8.size();
      Assert.assertEquals(1, _size_8);
      TextOrMarkup _title_9 = section3.getTitle();
      EList<EObject> _contents_9 = _title_9.getContents();
      EObject _head_4 = IterableExtensions.<EObject>head(_contents_9);
      textPart = ((TextPart) _head_4);
      String _text_4 = textPart.getText();
      Assert.assertEquals("sna", _text_4);
      EList<Section4> _subSections_6 = section3.getSubSections();
      int _size_9 = _subSections_6.size();
      Assert.assertEquals(1, _size_9);
      EList<Section4> _subSections_7 = section3.getSubSections();
      final Section4 section4 = IterableExtensions.<Section4>head(_subSections_7);
      TextOrMarkup _title_10 = section4.getTitle();
      EList<EObject> _contents_10 = _title_10.getContents();
      int _size_10 = _contents_10.size();
      Assert.assertEquals(1, _size_10);
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.xdoc.xdoc.Section3

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.