@Test public void updateFileFoderTest() { FileFoder fileFoder = fileFoderService.getFoder(81); fileFoder.setFoderName("垃圾箱"); boolean a = fileFoderService.updateFoder(fileFoder); System.out.println(a); }
@Test public void addFileFoderTest() { FileFoder fileFoder = new FileFoder(); fileFoder.setFoderName("垃圾箱"); boolean a = fileFoderService.addFoder(fileFoder); System.out.println(a); }
@Test public void getFileFodersTest() { List foders = fileFoderService.getFoders(); if (foders != null) { for (Object foder : foders) { FileFoder f = (FileFoder) foder; System.out.println(f.getFoderName()); } } }
@Test public void getFileFoderTest() { FileFoder foder = fileFoderService.getFoder(81); System.out.println(foder.getFoderName()); }