Skip to content

Commit

Permalink
feat: update package url
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Sep 10, 2022
1 parent 64e6a4e commit 691c36c
Show file tree
Hide file tree
Showing 28 changed files with 77 additions and 78 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ implementation 'io.github.soniccloudorg:sonic-driver-core:1.0.16'
### Code

```java
package org.cloud.sonic.core.ios;
package org.cloud.sonic.driver.ios;

import org.cloud.sonic.core.ios.enums.IOSSelector;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.enums.IOSSelector;
import org.cloud.sonic.driver.tool.SonicRespException;

public class MyTest {

Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ implementation 'io.github.soniccloudorg:sonic-driver-core:1.0.16'
### 代码

```java
package org.cloud.sonic.core.ios;
package org.cloud.sonic.driver.ios;

import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.tool.SonicRespException;

public class MyTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios;
package org.cloud.sonic.driver.ios;

import com.alibaba.fastjson.JSONObject;
import org.cloud.sonic.core.ios.enums.*;
import org.cloud.sonic.core.ios.models.*;
import org.cloud.sonic.core.ios.service.WdaClient;
import org.cloud.sonic.core.ios.service.WebElement;
import org.cloud.sonic.core.ios.service.impl.WdaClientImpl;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.enums.*;
import org.cloud.sonic.driver.ios.models.*;
import org.cloud.sonic.driver.ios.service.WdaClient;
import org.cloud.sonic.driver.ios.service.WebElement;
import org.cloud.sonic.driver.ios.service.impl.WdaClientImpl;
import org.cloud.sonic.driver.tool.SonicRespException;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios;
package org.cloud.sonic.driver.ios;

import cn.hutool.core.io.IORuntimeException;
import cn.hutool.http.HttpException;
import cn.hutool.http.HttpRequest;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.cloud.sonic.core.ios.models.BaseResp;
import org.cloud.sonic.core.ios.models.ErrorMsg;
import org.cloud.sonic.core.ios.service.WdaClient;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.models.BaseResp;
import org.cloud.sonic.driver.ios.models.ErrorMsg;
import org.cloud.sonic.driver.ios.service.WdaClient;
import org.cloud.sonic.driver.tool.SonicRespException;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum ActionType {
PRESS("press"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum AuthResource {
CONTACTS(1),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum IOSSelector {
CLASS_NAME("class name"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum PasteboardType {
PLAIN_TEXT("plaintext"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum SystemButton {
HOME("home"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum TextKey {
BACK_SPACE("\u0008"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.enums;
package org.cloud.sonic.driver.ios.enums;

public enum XCUIElementType {
ANY("XCUIElementTypeAny"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.Getter;
import lombok.NoArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.AllArgsConstructor;
import lombok.ToString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

@ToString
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.Getter;
import lombok.ToString;
import org.cloud.sonic.core.ios.enums.ActionType;
import org.cloud.sonic.driver.ios.enums.ActionType;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.models;
package org.cloud.sonic.driver.ios.models;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.service;
package org.cloud.sonic.driver.ios.service;

import com.alibaba.fastjson.JSONObject;
import org.cloud.sonic.core.ios.RespHandler;
import org.cloud.sonic.core.ios.models.TouchActions;
import org.cloud.sonic.core.ios.models.WindowSize;
import org.cloud.sonic.core.tool.Logger;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.RespHandler;
import org.cloud.sonic.driver.ios.models.TouchActions;
import org.cloud.sonic.driver.ios.models.WindowSize;
import org.cloud.sonic.driver.tool.Logger;
import org.cloud.sonic.driver.tool.SonicRespException;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.service;
package org.cloud.sonic.driver.ios.service;

import org.cloud.sonic.core.ios.models.IOSRect;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.models.IOSRect;
import org.cloud.sonic.driver.tool.SonicRespException;

/**
* @author Eason
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.service.impl;
package org.cloud.sonic.driver.ios.service.impl;

import cn.hutool.http.HttpUtil;
import cn.hutool.http.Method;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.cloud.sonic.core.ios.RespHandler;
import org.cloud.sonic.core.ios.models.BaseResp;
import org.cloud.sonic.core.ios.models.SessionInfo;
import org.cloud.sonic.core.ios.models.TouchActions;
import org.cloud.sonic.core.ios.models.WindowSize;
import org.cloud.sonic.core.ios.service.WdaClient;
import org.cloud.sonic.core.ios.service.WebElement;
import org.cloud.sonic.core.tool.Logger;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.RespHandler;
import org.cloud.sonic.driver.ios.models.BaseResp;
import org.cloud.sonic.driver.ios.models.SessionInfo;
import org.cloud.sonic.driver.ios.models.TouchActions;
import org.cloud.sonic.driver.ios.models.WindowSize;
import org.cloud.sonic.driver.ios.service.WdaClient;
import org.cloud.sonic.driver.ios.service.WebElement;
import org.cloud.sonic.driver.tool.Logger;
import org.cloud.sonic.driver.tool.SonicRespException;

import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.service.impl;
package org.cloud.sonic.driver.ios.service.impl;

import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson2.JSON;
import org.cloud.sonic.core.ios.models.BaseResp;
import org.cloud.sonic.core.ios.models.IOSRect;
import org.cloud.sonic.core.ios.service.WdaClient;
import org.cloud.sonic.core.ios.service.WebElement;
import org.cloud.sonic.core.tool.Logger;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.models.BaseResp;
import org.cloud.sonic.driver.ios.models.IOSRect;
import org.cloud.sonic.driver.ios.service.WdaClient;
import org.cloud.sonic.driver.ios.service.WebElement;
import org.cloud.sonic.driver.tool.Logger;
import org.cloud.sonic.driver.tool.SonicRespException;

import java.util.Base64;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.tool;
package org.cloud.sonic.driver.tool;

import java.text.SimpleDateFormat;
import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.tool;
package org.cloud.sonic.driver.tool;

public class SonicRespException extends Exception{
public SonicRespException(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios;
package org.cloud.sonic.driver.ios;

import com.alibaba.fastjson.JSONObject;
import org.cloud.sonic.core.ios.enums.*;
import org.cloud.sonic.core.ios.models.*;
import org.cloud.sonic.core.ios.service.WebElement;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.enums.*;
import org.cloud.sonic.driver.ios.models.*;
import org.cloud.sonic.driver.ios.service.WebElement;
import org.cloud.sonic.driver.tool.SonicRespException;
import org.junit.*;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.cloud.sonic.core.ios;
package org.cloud.sonic.driver.ios;

import cn.hutool.http.HttpUtil;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.tool.SonicRespException;
import org.junit.Assert;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.ios.service;
package org.cloud.sonic.driver.ios.service;

import com.alibaba.fastjson.JSONObject;
import org.cloud.sonic.core.ios.RespHandler;
import org.cloud.sonic.core.ios.enums.IOSSelector;
import org.cloud.sonic.core.ios.models.BaseResp;
import org.cloud.sonic.core.ios.models.ErrorMsg;
import org.cloud.sonic.core.ios.enums.PasteboardType;
import org.cloud.sonic.core.ios.models.TouchActions;
import org.cloud.sonic.core.ios.service.impl.WdaClientImpl;
import org.cloud.sonic.core.tool.SonicRespException;
import org.cloud.sonic.driver.ios.RespHandler;
import org.cloud.sonic.driver.ios.enums.IOSSelector;
import org.cloud.sonic.driver.ios.models.BaseResp;
import org.cloud.sonic.driver.ios.models.ErrorMsg;
import org.cloud.sonic.driver.ios.enums.PasteboardType;
import org.cloud.sonic.driver.ios.models.TouchActions;
import org.cloud.sonic.driver.ios.service.impl.WdaClientImpl;
import org.cloud.sonic.driver.tool.SonicRespException;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.cloud.sonic.core.tool;
package org.cloud.sonic.driver.tool;

import org.junit.Assert;
import org.junit.Test;
Expand Down

0 comments on commit 691c36c

Please sign in to comment.