Added Translation

This commit is contained in:
2022-08-14 11:50:25 +08:00
parent 0534ac3f71
commit e8fd581394
32 changed files with 573 additions and 29 deletions

View File

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