copyright

This commit is contained in:
MaxKey
2022-05-27 08:49:20 +08:00
parent 8976e9dbd8
commit 4537ac630c
21 changed files with 1 additions and 792 deletions

View File

@@ -1,34 +0,0 @@
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
* 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 org.maxkey.web.ipregion;
import org.junit.Test;
public class IpRegionFactoryTest {
@Test
public void test(){
System.out.println(IpRegionFactory.getFactory().getLocation(
IpRegionFactory.getFactory().region("127.0.0.1")
));
System.out.println(IpRegionFactory.getFactory().getLocation(
IpRegionFactory.getFactory().region("117.155.70.59")
));
}
}

View File

@@ -1,30 +0,0 @@
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
* 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 org.maxkey.web.ipregion;
import org.junit.Test;
public class IpRegionIp138Test {
@Test
public void test(){
IpRegion ipRegion = new IpRegionIp138();
System.out.println(ipRegion.region("117.155.70.59"));
}
}

View File

@@ -1,30 +0,0 @@
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
* 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 org.maxkey.web.ipregion;
import org.junit.Test;
public class IpRegionIp360Test {
@Test
public void test(){
IpRegion ipRegion = new IpRegionIp360();
System.out.println(ipRegion.region("117.155.70.59"));
}
}

View File

@@ -1,30 +0,0 @@
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
* 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 org.maxkey.web.ipregion;
import org.junit.Test;
public class IpRegionIpchaxunTest {
@Test
public void test(){
IpRegion ipRegion = new IpRegionIpchaxun();
System.out.println(ipRegion.region("117.155.70.59"));
}
}

View File

@@ -1,30 +0,0 @@
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
* 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 org.maxkey.web.ipregion;
import org.junit.Test;
public class IpRegionIpcnTest {
@Test
public void test(){
IpRegion ipRegion = new IpRegionIpcn();
System.out.println(ipRegion.region("117.155.70.59"));
}
}

View File

@@ -1,30 +0,0 @@
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
* 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 org.maxkey.web.ipregion;
import org.junit.Test;
public class IpRegionPconlineTest {
@Test
public void test(){
IpRegion ipRegion = new IpRegionPconline();
System.out.println(ipRegion.region("117.155.70.59"));
}
}