@Test public void testReadFromTargetTextUnitsForEmptyList() { mapper = new AndroidStringDocumentMapper("", assetDelimiter); document = mapper.readFromTargetTextUnits(textUnits); assertThat(document).isNotNull(); assertThat(document.getSingulars()).isEmpty(); assertThat(document.getPlurals()).isEmpty(); }
public AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits) { return readFromTextUnits(textUnits, false); }
AndroidStringDocumentMapper { public AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits) { return readFromTextUnits(textUnits, false); } }
AndroidStringDocumentMapper { public AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits) { return readFromTextUnits(textUnits, false); } AndroidStringDocumentMapper(String pluralSeparator,
                                       String assetDelimiter,
                                       String locale,
                                       String repositoryName);  AndroidStringDocumentMapper(String pluralSeparator, String assetDelimiter); }
AndroidStringDocumentMapper { public AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits) { return readFromTextUnits(textUnits, false); } AndroidStringDocumentMapper(String pluralSeparator,
                                       String assetDelimiter,
                                       String locale,
                                       String repositoryName);  AndroidStringDocumentMapper(String pluralSeparator, String assetDelimiter); AndroidStringDocument readFromTextUnits(List<TextUnitDTO> textUnits, boolean useSource); AndroidStringDocument readFromSourceTextUnits(List<TextUnitDTO> textUnits); AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits); List<TextUnitDTO> mapToTextUnits(AndroidStringDocument document); Stream<TextUnitDTO> mapToTextUnitStream(AndroidStringDocument document); }
AndroidStringDocumentMapper { public AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits) { return readFromTextUnits(textUnits, false); } AndroidStringDocumentMapper(String pluralSeparator,
                                       String assetDelimiter,
                                       String locale,
                                       String repositoryName);  AndroidStringDocumentMapper(String pluralSeparator, String assetDelimiter); AndroidStringDocument readFromTextUnits(List<TextUnitDTO> textUnits, boolean useSource); AndroidStringDocument readFromSourceTextUnits(List<TextUnitDTO> textUnits); AndroidStringDocument readFromTargetTextUnits(List<TextUnitDTO> textUnits); List<TextUnitDTO> mapToTextUnits(AndroidStringDocument document); Stream<TextUnitDTO> mapToTextUnitStream(AndroidStringDocument document);  }