CSVDataSetDefAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor { @Override public ValueBoxEditor<String> numberPattern() { return numberPattern; } @Inject  CSVDataSetDefAttributesEditor(final DataSetClientServices dataSetClientServices,
                                         final ValueBoxEditor<String> fileURL,
                                         final FileUploadEditor filePath,
                                         final ValueBoxEditor<Character> separatorChar,
                                         final ValueBoxEditor<Character> quoteChar,
                                         final ValueBoxEditor<Character> escapeChar,
                                         final ValueBoxEditor<String> datePattern,
                                         final ValueBoxEditor<String> numberPattern,
                                         final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override ValueBoxEditor<String> fileURL(); @Override FileUploadEditor filePath(); @Override ValueBoxEditor<Character> separatorChar(); @Override ValueBoxEditor<Character> quoteChar(); @Override ValueBoxEditor<Character> escapeChar(); @Override ValueBoxEditor<String> datePattern(); @Override ValueBoxEditor<String> numberPattern(); @Override boolean isUsingFilePath(); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final CSVDataSetDef value); @Override void setDelegate(final EditorDelegate<CSVDataSetDef> delegate); public View view; }
@Test public void testNumberPattern() { assertEquals(numberPattern, presenter.numberPattern()); }