diff --git a/src/main/Main.java b/src/main/Main.java index 8a0b67c..eb5d072 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -13,18 +13,19 @@ static ArrayList pathParam = new ArrayList<>(); static NecessaryParam nes = new NecessaryParam(); static RemoveJsonParam remove = new RemoveJsonParam(); - static TestCactus get = new TestGETCactus(); - static TestCactus post = new TestCreatePOSTCactus("f", "f", "f"); - static TestCactus logout = new TestLogoutPOSTCactus( - "h41ZoL44toLq3Kg7B1aXreHjcjluAsoyz8DezqiXJ28s1atiGR5UHFOqi7Or3xOD"); - static TestCactus put = new TestPUTCactus("f", "f"); - static TestCactus delete = new TestDELETECactus("qF9bgKYZmw8P"); - static TestYouTube list = new TestGETYouTube( - "ya29.GltxBj_5n_s4vQREqFTthpK2VzHsHlWA2IM23VI-_Ba8c4gHe5a7WAPehjVE31mhuesxWnlNGWND2RAJ5zTz3-PlItqutga6rWOOivXYusklhHha0yavLB2Ms0vV"); - static TestYouTube insert = new TestPOSTYouTube( - "ya29.GltxBj_5n_s4vQREqFTthpK2VzHsHlWA2IM23VI-_Ba8c4gHe5a7WAPehjVE31mhuesxWnlNGWND2RAJ5zTz3-PlItqutga6rWOOivXYusklhHha0yavLB2Ms0vV"); + static final String token = "ya29.GltxBj_5n_s4vQREqFTthpK2VzHsHlWA2IM23VI-_Ba8c4gHe5a7WAPehjVE31mhuesxWnlNGWND2RAJ5zTz3-PlItqutga6rWOOivXYusklhHha0yavLB2Ms0vV"; 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"); insert.start(); // init(); // api.jsonAcquisition("src/testcase/post.json");