Move libs to top level
This commit is contained in:
parent
87ce108bd1
commit
57f46b2210
212 changed files with 16 additions and 29 deletions
|
|
@ -0,0 +1,34 @@
|
|||
package love.distributedrebirth.warpme.sea;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.x4o.xml.io.X4OConnectionException;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public class WaterOceanDriverTest {
|
||||
|
||||
@Test
|
||||
public void testWaterOcean() throws X4OConnectionException, SAXException, IOException {
|
||||
WaterOcean ocean = new WaterOcean();
|
||||
WaterSea sea = new WaterSea();
|
||||
sea.setName("MyFirstSea");
|
||||
sea.setAuthor("willemtsade");
|
||||
sea.setProvider("GDXApp-base");
|
||||
|
||||
ocean.fillWater(sea);
|
||||
|
||||
sea.addSeaChain(new WaterSeaChain("2891738927138923"));
|
||||
sea.addSeaChain(new WaterSeaChain("2389473875891293"));
|
||||
|
||||
sea.addSeaMagic(new WaterSeaMagic("audio/mpegurl", "album/test.m3u"));
|
||||
sea.addSeaMagic(new WaterSeaMagic("inode/directory", "album/"));
|
||||
|
||||
Assertions.assertNotNull(ocean);
|
||||
WaterOceanDriver.newInstance().createWriter().writeFile(ocean, new java.io.File("target/out-sea.xml"));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue