Skip to content

Commit

Permalink
fix(android): fix unit test case (#2968)
Browse files Browse the repository at this point in the history
* fix(android): fix unit test case

* fix(android): add license header
  • Loading branch information
iPel authored and zoomchan-cxj committed Mar 16, 2023
1 parent ded1a57 commit 56d1c34
Showing 1 changed file with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Tencent is pleased to support the open source community by making Hippy available.
* Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencent.mtt.hippy.utils;

import static org.junit.Assert.*;
Expand All @@ -20,8 +35,8 @@
"android.*",
})
public class UrlUtilsTest {
private final String URL_HTTPS = "https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png";
private final String URL_HTTP = "https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png";
private final String URL_HTTPS = "https://hippyjs.org/";
private final String URL_HTTP = "http://hippyjs.org/";
private final String URL_FILE = "file://vendor.android.js";

@Before
Expand Down

0 comments on commit 56d1c34

Please sign in to comment.