Skip to content

Commit 00f5de3

Browse files
Merge pull request #107 from ThalesGroup/dev-104
Working on #104
2 parents 3246187 + a0d17fb commit 00f5de3

File tree

4 files changed

+52
-9
lines changed

4 files changed

+52
-9
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[![Pharo 12](https://img.shields.io/badge/Pharo-12-%23aac9ff.svg)](https://pharo.org/download)
22
[![Pharo 13](https://img.shields.io/badge/Pharo-13-%23aac9ff.svg)](https://pharo.org/download)
33

4-
[![License](https://img.shields.io/github/license/OpenSmock/GeoView.svg)](./LICENSE)
5-
[![Unit tests](https://github.com/OpenSmock/GeoView/actions/workflows/CI.yml/badge.svg)](https://github.com/OpenSmock/GeoView/actions/workflows/CI.yml)
4+
[![License](https://img.shields.io/github/license/ThalesGroup/GeoView.svg)](./LICENSE)
5+
[![Unit tests](https://github.com/ThalesGroup/GeoView/actions/workflows/CI.yml/badge.svg)](https://github.com/ThalesGroup/GeoView/actions/workflows/CI.yml)
66

77
# GeoView
88

@@ -85,7 +85,7 @@ To install **GeoView** with all features and dependencies, simply execute the fo
8585
```smalltalk
8686
Metacello new
8787
baseline: 'GeoView';
88-
repository: 'github://OpenSmock/GeoView:main/src';
88+
repository: 'github://ThalesGroup/GeoView:main/src';
8989
load.
9090
```
9191

@@ -96,7 +96,7 @@ If you prefer to install only the core version of GeoView (without Molecule comp
9696
```smalltalk
9797
Metacello new
9898
baseline: 'GeoView';
99-
repository: 'github://OpenSmock/GeoView:main/src';
99+
repository: 'github://ThalesGroup/GeoView:main/src';
100100
load: 'Core'.
101101
```
102102

@@ -107,7 +107,8 @@ Core :
107107
- [Alexandrie](https://github.com/pharo-graphics/alexandrie)
108108
- [Bloc](https://github.com/pharo-graphics/bloc)
109109
- [OpenSmock(Core)](https://github.com/OpenSmock/OpenSmock)
110-
- [GeoTools](https://github.com/OpenSmock/GeoTools)
110+
- [GeoTools](https://github.com/ThalesGroup/GeoTools)
111+
- [PharoOWS](https://github.com/ThalesGroup/PharoOWS)
111112

112113
Default/Full adding :
113114

src/BaselineOfGeoView/BaselineOfGeoView.class.st

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ BaselineOfGeoView >> baselineForCommon: spec [
2424
self moleculePackages: spec.
2525

2626
"Groups"
27-
spec group: 'default' with: (#('OpenSmock' 'GeoTools'), self corePackagesNames , self moleculePackagesNames).
28-
spec group: 'Core' with: (#('OpenSmockCoreWithBloc' 'GeoTools'), self corePackagesNames).
27+
spec group: 'default' with: (#('OpenSmock' 'GeoTools' 'OWS'), self corePackagesNames , self moleculePackagesNames).
28+
spec group: 'Core' with: (#('OpenSmockCoreWithBloc' 'GeoTools' 'OWS'), self corePackagesNames).
2929
]
3030

3131
{ #category : #dependencies }
@@ -34,7 +34,12 @@ BaselineOfGeoView >> commonDependencies: spec [
3434
"GeoTools"
3535
spec
3636
baseline: 'GeoTools'
37-
with: [ spec repository: 'github://OpenSmock/GeoTools:main' ].
37+
with: [ spec repository: 'github://ThalesGroup/GeoTools:main' ].
38+
39+
"OWS"
40+
spec
41+
baseline: 'OWS'
42+
with: [ spec repository: 'github://ThalesGroup/PharoOWS:main' ].
3843

3944
"OpenSmock"
4045
spec
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
"
2+
A GeoViewOpenStreetMapTilesProviderTest is a test class for testing the behavior of GeoViewOpenStreetMapTilesProvider
3+
"
4+
Class {
5+
#name : #GeoViewOpenStreetMapTilesProviderTest,
6+
#superclass : #TestCase,
7+
#instVars : [
8+
'provider'
9+
],
10+
#category : #'GeoView-Tests-Map'
11+
}
12+
13+
{ #category : #running }
14+
GeoViewOpenStreetMapTilesProviderTest >> setUp [
15+
16+
super setUp.
17+
18+
provider := GeoViewOpenStreetMapTilesProvider new
19+
]
20+
21+
{ #category : #tests }
22+
GeoViewOpenStreetMapTilesProviderTest >> testHaveCopyrightNote [
23+
24+
self assert: provider haveCopyrightNote
25+
]
26+
27+
{ #category : #tests }
28+
GeoViewOpenStreetMapTilesProviderTest >> testInitialize [
29+
30+
self assert: provider notNil
31+
]
32+
33+
{ #category : #tests }
34+
GeoViewOpenStreetMapTilesProviderTest >> testServerUrl [
35+
36+
self assert: provider serverUrl equals: (provider class primaryTileUrl)
37+
]

src/GeoView/GeoViewTilesProviderTMS.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GeoViewTilesProviderTMS >> serverUrl: anObject [
2424
{ #category : #accessing }
2525
GeoViewTilesProviderTMS >> service [
2626

27-
^ service ifNil: [ service := PharoOWSTMS new ]
27+
^ service ifNil: [ service := OWSTMS new ]
2828
]
2929

3030
{ #category : #request }

0 commit comments

Comments
 (0)