mirror of
https://github.com/FatttSnake/OxygenToolbox.git
synced 2026-04-06 11:11:25 +08:00
Added Translation
This commit is contained in:
22
app/src/test/java/com/fatapp/oxygentoolbox/Tester.java
Normal file
22
app/src/test/java/com/fatapp/oxygentoolbox/Tester.java
Normal 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user