@Test public void testWStringArrayTypeNodeNoLengthArg() throws IOException { String[] array = new String[]{"one", "two"}; String expected = ""; for (String s : array) { expected += "<string>"; expected += s; expected += "</string>"; } String actual = new WStringArrayTypeNode(testBinaryReaderBuilder.putWord(14).putWString(String.join("\u0000", array)).build(), chunkHeader, parent, -1).getValue(); assertEquals(expected, actual); }
@Override public String getValue() { return value; }
WStringArrayTypeNode extends VariantTypeNode { @Override public String getValue() { return value; } }
WStringArrayTypeNode extends VariantTypeNode { @Override public String getValue() { return value; } WStringArrayTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); }
WStringArrayTypeNode extends VariantTypeNode { @Override public String getValue() { return value; } WStringArrayTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue(); }
WStringArrayTypeNode extends VariantTypeNode { @Override public String getValue() { return value; } WStringArrayTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue(); static final XMLOutputFactory XML_OUTPUT_FACTORY; }