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,39 @@
|
|||
package love.distributedrebirth.warpme.core;
|
||||
|
||||
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 WaterBucketDriverTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void testWaterOcean() throws X4OConnectionException, SAXException, IOException {
|
||||
|
||||
WaterBucket bucket = new WaterBucket();
|
||||
WaterCipher cipher = new WaterCipher();
|
||||
|
||||
bucket.fillWater(cipher);
|
||||
cipher.setName("name");
|
||||
|
||||
WaterCipherHeartTone tone = new WaterCipherHeartTone();
|
||||
tone.setChinaKey("cn");
|
||||
tone.setDialTone("T1");
|
||||
tone.setPart("PART_0");
|
||||
tone.setChinaValue("china");
|
||||
|
||||
WaterCipherHeart heart = new WaterCipherHeart();
|
||||
heart.setBass(12345);
|
||||
heart.addHeartTone(tone);
|
||||
cipher.addCipherHeart(heart);
|
||||
|
||||
Assertions.assertNotNull(bucket);
|
||||
WaterBucketDriver.newInstance().createWriter().writeFile(bucket, new java.io.File("target/out-core.xml"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
package love.distributedrebirth.warpme.hash;
|
||||
|
||||
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 WaterShotDriverTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void testWaterShot() throws X4OConnectionException, SAXException, IOException {
|
||||
|
||||
WaterShot drugs = new WaterShot();
|
||||
drugs.addSoftHash(new WaterSoftHash("test.txt", "234SDFSDF234234SDFSDF234"));
|
||||
drugs.addSoftHash(new WaterSoftHash("test2.txt", "ASDFYYF234234SDFSDFASDFS"));
|
||||
|
||||
Assertions.assertNotNull(drugs);
|
||||
WaterShotDriver.newInstance().createWriter().writeFile(drugs, new java.io.File("target/out-hash.xml"));
|
||||
}
|
||||
}
|
||||
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
package love.distributedrebirth.warpme.ship;
|
||||
|
||||
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 WaterDeviceDriverTest {
|
||||
|
||||
@Test
|
||||
public void testWaterDevice() throws X4OConnectionException, SAXException, IOException {
|
||||
WaterDevice device = new WaterDevice();
|
||||
|
||||
WaterShip ship = new WaterShip();
|
||||
ship.setName("tos4-mark1");
|
||||
ship.setEngine("123349858934");
|
||||
ship.addShipOcean(new WaterShipOcean("2349058490584"));
|
||||
ship.addShipOcean(new WaterShipOcean("7867834823244"));
|
||||
ship.addShipOcean(new WaterShipOcean("3948758927389"));
|
||||
|
||||
device.buildShip(ship);
|
||||
|
||||
Assertions.assertNotNull(device);
|
||||
WaterDeviceDriver.newInstance().createWriter().writeFile(device, new java.io.File("target/out-ship.xml"));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue