Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement some explicitRequirements on Morphic host #686

Open
tinchodias opened this issue Feb 5, 2025 · 4 comments
Open

Implement some explicitRequirements on Morphic host #686

tinchodias opened this issue Feb 5, 2025 · 4 comments

Comments

@tinchodias
Copy link
Collaborator

This has no test, and doesn't work:

s := BlSpace new.
s useMorphicHost.

self deny: s isVisible.
s show.
self assert: s isVisible.

self deny: s maximized.
s maximize.
self assert: s maximized.

self deny: s minimized.
s minimize.
self assert: s minimized.
@tinchodias
Copy link
Collaborator Author

This works but needs a test:

s := BlSpace new.
s useMorphicHost.

self deny: s isBorderless.
s borderless: true.
s show.
self assert: s isBorderless.

@tinchodias
Copy link
Collaborator Author

For a test:

s := BlSpace new.
s useMorphicHost.
s show.

"wait it is opened"

self deny: s isFullscreen.
s fullscreen: true.
self deny: s isFullscreen.

@tinchodias
Copy link
Collaborator Author

All the space properties must be tested before/after show, because the execution changes considerably either if the hostspace exists or doesn't exist.

@tinchodias
Copy link
Collaborator Author

Another test to add:

s := BlSpace new.
s useMorphicHost.
s show.

"wait it is opened"

self assert: s isResizable.
s resizable: false.
self deny: s isResizable.
s resizable: true.
self assert: s isResizable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant