Decoupling http operations.

This commit is contained in:
2022-09-14 19:19:34 +08:00
parent 6ef0c5835c
commit 29a398a66a
8 changed files with 101 additions and 47 deletions

View File

@@ -1,7 +1,5 @@
package com.fatapp.oxygentoolbox;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.io.UnsupportedEncodingException;
@@ -13,10 +11,4 @@ public class Tester {
public void urlEncodeTest() throws UnsupportedEncodingException {
System.out.println(URLEncoder.encode(" ", StandardCharsets.UTF_8.toString()));
}
@Test
public void buildConfigTest() {
assertEquals("123456789", BuildConfig.API_APP_ID);
assertEquals("abcdefg", BuildConfig.API_APP_SECRET);
}
}