Skip to content

Commit

Permalink
Merge a2abfc3
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Dec 12, 2023
2 parents eabb9de + a2abfc3 commit 9d75312
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ CSNWebModelJavaAddParentFromSourceTest >> resourcesFileReference [
ifFalse: [ (IceRepository registry
detect: [ :each | each includesPackageNamed: self class package name ]
ifNone: [ self error: 'Please add a clone of this project to Iceberg to access to the resources' ]) location ].
^ repo / 'tests-resources' / 'tUI'
^ repo / 'tests-resources' / 'tUI' / 'hello'
]

{ #category : #running }
Expand Down
13 changes: 6 additions & 7 deletions src/Casino-Model-CoreWeb-Importer/CSNWebModelJava.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,12 @@ CSNWebModelJava >> addPPPToWidget [
maxLevel: 15
level: 0.
founds do: [ :found |
self addWidgetVisitor
addWidget: widget
to: found
withInvocationOfAdd: nil
usingFactory: self factory

" found addWidget: widget" ].
(found isKindOf: CSNBusinessPage) ifTrue: [ " found addWidget: widget"
self addWidgetVisitor
addWidget: widget
to: found
withInvocationOfAdd: nil
usingFactory: self factory ] ].
index \\ 200 = 0 ifTrue: [
((index / col size) asFloat * 100) record ] ]
]
Expand Down
8 changes: 5 additions & 3 deletions tests-resources/tUI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ This part of the repository contains the sources used to create tests in Casino.

Use the following script when adding test cases

```sh
my/path/to/verveinej.bat -o tests.json -format json -alllocals -anchor assoc lib hello
```
````sh
sudo service docker start

docker run --rm -v "/mnt/d/Users/benoit.verhaeghe/Documents/Pharo/images/Omaje02/pharo-local/iceberg/badetitou/Casino/tests-resources/tUI/hello:/src" -v "/mnt/d/Users/benoit.verhaeghe/Documents/Pharo/images/Omaje02/pharo-local/iceberg/badetitou/Casino/tests-resources/tUI/lib:/dependency" ghcr.io/evref-bl/verveinej:v3.0.13 -format json -alllocals -anchor assoc -o tests.json
``

> You must use java files with the LF end of files convention.
> This is important to use the CI
1 change: 1 addition & 0 deletions tests-resources/tUI/hello/tests.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion tests-resources/tUI/tests.json

This file was deleted.

0 comments on commit 9d75312

Please sign in to comment.