@Test public void testFormat() throws Exception { for (Config config : FORMAT_TEST) { init(config); assertFalse(ndefOperations.isFormatted()); ndefOperations.format(); assertTrue(ndefOperations.isFormatted()); assertEquals(config.expectedSize, ndefOperations.getMaxSize()); assertArrayEquals(expectedTag.getMemoryMap().getMemory(), tag.getMemoryMap().getMemory()); } }
@Override public void format(Record... records) { Application application = createNewApplication(); writeRecord(application, records); formatted = true; }
MfClassicNdefOperations extends AbstractNdefOperations { @Override public void format(Record... records) { Application application = createNewApplication(); writeRecord(application, records); formatted = true; } }
MfClassicNdefOperations extends AbstractNdefOperations { @Override public void format(Record... records) { Application application = createNewApplication(); writeRecord(application, records); formatted = true; } MfClassicNdefOperations(MfClassicReaderWriter readerWriter, TagInfo tagInfo, boolean formatted,
			boolean writeable); }
MfClassicNdefOperations extends AbstractNdefOperations { @Override public void format(Record... records) { Application application = createNewApplication(); writeRecord(application, records); formatted = true; } MfClassicNdefOperations(MfClassicReaderWriter readerWriter, TagInfo tagInfo, boolean formatted,
			boolean writeable); @Override int getMaxSize(); @Override List<Record> readNdefMessage(); @Override void writeNdefMessage(Record... records); @Override void makeReadOnly(); @Override void format(Record... records); }
MfClassicNdefOperations extends AbstractNdefOperations { @Override public void format(Record... records) { Application application = createNewApplication(); writeRecord(application, records); formatted = true; } MfClassicNdefOperations(MfClassicReaderWriter readerWriter, TagInfo tagInfo, boolean formatted,
			boolean writeable); @Override int getMaxSize(); @Override List<Record> readNdefMessage(); @Override void writeNdefMessage(Record... records); @Override void makeReadOnly(); @Override void format(Record... records);  }