test_class.file: app/src/test/java/org/hwyl/sexytopo/control/io/thirdparty/survex/SurvexExporterTest.java
test_class.identifier: SurvexExporterTest
test_case.body: @Test
      public void testBasicExportWithPromotedLegs() {
          SurvexExporter survexExporter = new SurvexExporter();
          Survey oneNorth = BasicTestSurveyCreator.createStraightNorthThroughRepeats();
          String content = survexExporter.getContent(oneNorth);
          Assert.assertTrue(content.contains("1\t2\t5.000\t0.00\t0.00"));
          Assert.assertTrue(content.contains(
                  "{from: 5.000 0.00 0.00, 5.000 0.00 0.00, 5.000 0.00 0.00}"));
  
      }
test_case.class_method_signature: SurvexExporterTest.testBasicExportWithPromotedLegs()
test_case.full_signature: @Test public void testBasicExportWithPromotedLegs()
test_case.identifier: testBasicExportWithPromotedLegs
test_case.invocations: createStraightNorthThroughRepeats getContent assertTrue contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBasicExportWithPromotedLegs()
focal_class.declarator: COMMENT_CHAR = ';'
focal_class.modifier: public static final
focal_class.original_string: public static final char COMMENT_CHAR = ';';
focal_class.type: char
focal_class.var_name: COMMENT_CHAR
focal_class.declarator: graphToListTranslator = new GraphToListTranslator()
focal_class.modifier: protected static
focal_class.original_string: protected static GraphToListTranslator graphToListTranslator = new GraphToListTranslator();
focal_class.type: GraphToListTranslator
focal_class.var_name: graphToListTranslator
focal_class.file: app/src/main/java/org/hwyl/sexytopo/control/io/thirdparty/survex/SurvexExporter.java
focal_class.identifier: SurvexExporter
focal_class.class_method_signature: SurvexExporter.getContent(Survey survey)
focal_class.full_signature: public String getContent(Survey survey)
focal_class.identifier: getContent
focal_class.modifiers: public
focal_class.parameters: (Survey survey)
focal_class.return: String
focal_class.signature: String getContent(Survey survey)
focal_class.class_method_signature: SurvexExporter.getFileExtension()
focal_class.full_signature: @Override public String getFileExtension()
focal_class.identifier: getFileExtension
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFileExtension()
focal_class.class_method_signature: SurvexExporter.getExportTypeName(Context context)
focal_class.full_signature: @Override public String getExportTypeName(Context context)
focal_class.identifier: getExportTypeName
focal_class.modifiers: @Override public
focal_class.parameters: (Context context)
focal_class.return: String
focal_class.signature: String getExportTypeName(Context context)
focal_class.class_method_signature: SurvexExporter.getExportDirectoryName()
focal_class.full_signature: @Override public String getExportDirectoryName()
focal_class.identifier: getExportDirectoryName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getExportDirectoryName()
focal_class.superclass: extends SingleFileExporter
focal_method.body: public String getContent(Survey survey) {
  
          StringBuilder builder = new StringBuilder();
  
          builder.append("*alias station - ..\n\n");
  
          List<GraphToListTranslator.SurveyListEntry> list =
                  graphToListTranslator.toChronoListOfSurveyListEntries(survey);
  
          for (GraphToListTranslator.SurveyListEntry entry : list) {
              SurvexTherionUtil.formatEntry(builder, entry, COMMENT_CHAR);
              builder.append("\n");
          }
  
          return builder.toString();
      }
focal_method.class_method_signature: SurvexExporter.getContent(Survey survey)
focal_method.full_signature: public String getContent(Survey survey)
focal_method.identifier: getContent
focal_method.invocations: append toChronoListOfSurveyListEntries formatEntry append toString
focal_method.modifiers: public
focal_method.parameters: (Survey survey)
focal_method.return: String
focal_method.signature: String getContent(Survey survey)