diff --git a/src/main/Main.java b/src/main/Main.java index d63c62b..97cfd6a 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -7,17 +7,12 @@ @SuppressWarnings("unused") public static void main(String[] args) { - TestCactus get = new TestGETCactus(); - TestCactus post = new TestCreatePOSTCactus("f", "f", "f"); - TestCactus logout = new TestLogoutPOSTCactus( - "h41ZoL44toLq3Kg7B1aXreHjcjluAsoyz8DezqiXJ28s1atiGR5UHFOqi7Or3xOD"); - TestCactus put = new TestPUTCactus("f", "f"); - TestCactus delete = new TestDELETECactus("qF9bgKYZmw8P"); - TestYouTube list = new TestGETYouTube(token); - TestYouTube insert = new TestPOSTYouTube(token); - TestYouTube update = new TestPUTYouTube(token); - TestYouTube deletelist = new TestDELETEYouTube(token, "PLCwNa5MZdBSq_3K5-MV0x6luKXskvqrKk"); - deletelist.start(); + TestCactus[] cactus = { new TestGETCactus(), new TestCreatePOSTCactus("f", "f", "f"), + new TestLogoutPOSTCactus("h41ZoL44toLq3Kg7B1aXreHjcjluAsoyz8DezqiXJ28s1atiGR5UHFOqi7Or3xOD"), + new TestPUTCactus("f", "f"), new TestDELETECactus("qF9bgKYZmw8P") }; + TestYouTube[] youtube = { new TestGETYouTube(token), new TestPOSTYouTube(token), new TestPUTYouTube(token), + new TestDELETEYouTube(token, "PLCwNa5MZdBSq_3K5-MV0x6luKXskvqrKk") }; + youtube[0].start(); } }