From d1f749752676114402fa690b24669dfa769fa074 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 1 Apr 2018 01:12:18 +0200 Subject: [PATCH 001/103] Update version in demo for new dev --- .../MDLDemo.class/class/version.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/version.st b/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/version.st index 7793665c..95285965 100644 --- a/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/version.st +++ b/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/version.st @@ -1,3 +1,3 @@ versions version - ^ 'v1.2.0' \ No newline at end of file + ^ 'development (from v1.2.0)' \ No newline at end of file From b5ef0dcbcb9b84aeea774db382e1d72f1f7d26ea Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 1 Apr 2018 01:28:17 +0200 Subject: [PATCH 002/103] Typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a163bf74..a159ed18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ * **Add premade typographies**. Comes with a demo ([0c29dca](https://github.com/DuneSt/MaterialDesignLite/commit/0c29dcab373948c5a510d3d632950f2297ec789c)) * **Implement methods to use the primary and accent color with text and backgrounds**. Comes with a demo ([e39667d](https://github.com/DuneSt/MaterialDesignLite/commit/e39667dd625b2689f3c9a290df26c911cc91fd7a)) * **MDLSelectWidget>>customizationBlock should take the canvas as second parameter** ([f4ad7c9](https://github.com/DuneSt/MaterialDesignLite/commit/f4ad7c98b2276b0412c1e4bc4cb8d215c8929503)) -* **Chips: Highlight lightly the background of the icons ** ([639f105](https://github.com/DuneSt/MaterialDesignLite/commit/639f10597a851810040c7fc4680a42fa1df85488)) +* **Chips: Highlight lightly the background of the icons** ([639f105](https://github.com/DuneSt/MaterialDesignLite/commit/639f10597a851810040c7fc4680a42fa1df85488)) * **Missing beCurrent on MDLNavigationLink** ([488da0c](https://github.com/DuneSt/MaterialDesignLite/commit/488da0cda00eda5941abae829bcaf7a78169a581)) * **Simplify the creation of icon button** ([9b88f32](https://github.com/DuneSt/MaterialDesignLite/commit/9b88f322ceca2d94b7f4bf0b348b913ecaaa663e)) * **Add sugar to MDLButton to create a label icon button** ([a49797b](https://github.com/DuneSt/MaterialDesignLite/commit/a49797b230f5caca7aea11fa5f3cdb548c7f1277)) From 5a37a85b4dd6c6aa2032f1abe59d38708831db13 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 01:58:11 +0200 Subject: [PATCH 003/103] Enable Coverall --- .smalltalk.ston | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index afe9a750..7fb7807e 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -5,5 +5,10 @@ SmalltalkCISpec { #directory : 'src', #platforms : [ #pharo ] } - ] + ], + #testing : { + #coverage : { + #packages : [ 'Material-Design-Lite.*' ] + } + } } \ No newline at end of file From ebedc529b70fe965c6ccc0ad2db699471d8f7568 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 02:05:36 +0200 Subject: [PATCH 004/103] Add coverage badge --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 001ae987..5aa79c80 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Master: [![Build Status](https://travis-ci.org/DuneSt/MaterialDesignLite.svg?bra #### Windows builds Master: [![Build status](https://ci.appveyor.com/api/projects/status/1d20eiwk92jpgfni/branch/master?svg=true)](https://ci.appveyor.com/project/jecisc/materialdesignlite/branch/master) | Latest commit: [![Build status](https://ci.appveyor.com/api/projects/status/1d20eiwk92jpgfni?svg=true)](https://ci.appveyor.com/project/jecisc/materialdesignlite) +Coverage: + +[![Coverage Status](https://coveralls.io/repos/github/DuneSt/MaterialDesignLite/badge.svg)](https://coveralls.io/github/DuneSt/MaterialDesignLite) This project has as first goal to bind the Google's Material Design Lite project to Seaside and as second goal to build widgets on top of Material Design to help [Seaside](https://github.com/SeasideSt/Seaside)) developers in creating fast web application with flat design. For a tutorial on Seaside check [http://book.seaside.st](http://book.seaside.st). From d8acbc2894fe4b651da8dffa81a88d7d1b0185dd Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 02:51:16 +0200 Subject: [PATCH 005/103] Initialize components tests with MDLBadgeTest. --- .../instance/baseline..st | 8 +++++--- .../.filetree | 5 +++++ .../MDLAbstractBrushTest.class/README.md | 0 .../MDLAbstractBrushTest.class/class/isAbstract.st | 3 +++ .../instance/actualClass.st | 3 +++ .../instance/assert.generates..st | 3 +++ .../MDLAbstractBrushTest.class/properties.json | 11 +++++++++++ .../MDLBadgeTest.class/README.md | 0 .../MDLBadgeTest.class/instance/actualClass.st | 3 +++ .../MDLBadgeTest.class/instance/testBareBrush.st | 3 +++ .../MDLBadgeTest.class/instance/testDataBadge.st | 3 +++ .../instance/testDataBadgeWithNumber.st | 3 +++ .../MDLBadgeTest.class/instance/testNoBackground.st | 3 +++ .../MDLBadgeTest.class/instance/testOverlap.st | 3 +++ .../MDLBadgeTest.class/instance/testWithContent.st | 8 ++++++++ .../MDLBadgeTest.class/properties.json | 11 +++++++++++ .../README.md | 1 + .../class/ruleRBRefersToClassRuleV1FalsePositive.st | 3 +++ .../properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 4 ++++ .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + 23 files changed, 88 insertions(+), 3 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/.filetree create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/class/isAbstract.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadge.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadgeWithNumber.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testNoBackground.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testOverlap.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/monticello.meta/initializers.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/monticello.meta/package create mode 100644 src/Material-Design-Lite-Components-Tests.package/properties.json diff --git a/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/baseline..st b/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/baseline..st index d8fc3851..85e94614 100644 --- a/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/baseline..st +++ b/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/baseline..st @@ -13,7 +13,8 @@ baseline: spec "Packages" spec - package: 'Material-Design-Lite-Components' with: [ spec requires: #('MaterialColors') ]; + package: 'Material-Design-Lite-Components' with: [ spec requires: #('MaterialColors' 'Seaside3') ]; + package: 'Material-Design-Lite-Components-Tests' with: [ spec requires: #('Material-Design-Lite-Components') ]; package: 'Material-Design-Lite-Core' with: [ spec requires: #('Material-Design-Lite-Utils' 'Material-Design-Lite-Components' 'Material-Design-Lite-Widgets' 'Material-Design-Lite-Extensions') ]; package: 'Material-Design-Lite-Demo' with: [ spec requires: #('Material-Design-Lite-Core') ]; package: 'Material-Design-Lite-Magritte' with: [ spec requires: #('Material-Design-Lite-Widgets' 'Material-Design-Lite-Components') ]; @@ -28,5 +29,6 @@ baseline: spec group: 'colors' with: #('MaterialColors'); group: 'extensions' with: #('Material-Design-Lite-Extensions'); group: 'core' with: #('Material-Design-Lite-Widgets' 'Material-Design-Lite-Components' 'Material-Design-Lite-Core' 'Material-Design-Lite-Utils'); - group: 'default' with: #('core' 'demo'); - group: 'demo' with: #('Material-Design-Lite-Demo') ] \ No newline at end of file + group: 'default' with: #('core' 'tests' 'demo'); + group: 'demo' with: #('Material-Design-Lite-Demo'); + group: 'tests' with: #('Material-Design-Lite-Components-Tests') ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/.filetree b/src/Material-Design-Lite-Components-Tests.package/.filetree new file mode 100644 index 00000000..57a67973 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/class/isAbstract.st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/class/isAbstract.st new file mode 100644 index 00000000..3f491dcc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = MDLAbstractBrushTest \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st new file mode 100644 index 00000000..372ebff5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st @@ -0,0 +1,3 @@ +helpers +actualClass + ^ self subclassResponsibility \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st new file mode 100644 index 00000000..104ae9e0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st @@ -0,0 +1,3 @@ +asserting +assert: aBlock generates: aString + self assert: (WAHtmlCanvas builder render: aBlock) equals: aString \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/properties.json new file mode 100644 index 00000000..1b219631 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "Material-Design-Lite-Components-Tests-Abstract", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLAbstractBrushTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st new file mode 100644 index 00000000..3dc777b3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st @@ -0,0 +1,3 @@ +helpers +actualClass + ^ MDLBadge \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..3ca00977 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlBadge ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadge.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadge.st new file mode 100644 index 00000000..e8cb2e69 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadge.st @@ -0,0 +1,3 @@ +tests +testDataBadge + self assert: [ :html | html mdlBadge dataBadge: '1' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadgeWithNumber.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadgeWithNumber.st new file mode 100644 index 00000000..6fd9448a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testDataBadgeWithNumber.st @@ -0,0 +1,3 @@ +tests +testDataBadgeWithNumber + self assert: [ :html | html mdlBadge dataBadge: 1 ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testNoBackground.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testNoBackground.st new file mode 100644 index 00000000..e163d845 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testNoBackground.st @@ -0,0 +1,3 @@ +tests +testNoBackground + self assert: [ :html | html mdlBadge noBackground ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testOverlap.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testOverlap.st new file mode 100644 index 00000000..d7e4c144 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testOverlap.st @@ -0,0 +1,3 @@ +tests +testOverlap + self assert: [ :html | html mdlBadge overlap ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testWithContent.st new file mode 100644 index 00000000..deff7b6e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testWithContent.st @@ -0,0 +1,8 @@ +tests +testWithContent + self + assert: [ :html | + html mdlBadge + dataBadge: '1'; + with: 'Test' ] + generates: 'Test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json new file mode 100644 index 00000000..8e6d909c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLBadgeTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/README.md b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/README.md new file mode 100644 index 00000000..671949a2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/README.md @@ -0,0 +1 @@ +I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st new file mode 100644 index 00000000..220b6d8e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st @@ -0,0 +1,3 @@ +code-critics +ruleRBRefersToClassRuleV1FalsePositive + ^ #(#(#(#RGMethodDefinition #(#'MDLAbstractBrushTest class' #isAbstract #true)) #'2018-05-17T02:23:38.212953+02:00') ) \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json new file mode 100644 index 00000000..9c79be3c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "PackageManifest", + "category" : "Material-Design-Lite-Components-Tests-Manifest", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ManifestMaterialDesignLiteComponentsTests", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st new file mode 100644 index 00000000..7916b570 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -0,0 +1,4 @@ +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests'! +SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Abstract'! +SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! +SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Tests'! diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/initializers.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/initializers.st new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/package b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/package new file mode 100644 index 00000000..e6e299ba --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Material-Design-Lite-Components-Tests') \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/properties.json b/src/Material-Design-Lite-Components-Tests.package/properties.json new file mode 100644 index 00000000..6f31cf5a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From f097d8f49f0bdd8dfc28751d3e80d3d4dfb1bf77 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 02:52:22 +0200 Subject: [PATCH 006/103] Badge documentation and demo - Add documentation to badges options - Add demo on overlap (https://github.com/DuneSt/MaterialDesignLite/issues/152) - Add demo on noBackground (https://github.com/DuneSt/MaterialDesignLite/issues/153) --- .../MDLBadge.class/instance/dataBadge..st | 2 ++ .../MDLBadge.class/instance/initialize.st | 2 +- .../MDLBadge.class/instance/noBackground.st | 2 ++ .../MDLBadge.class/instance/overlap.st | 2 ++ .../MDLBadgesScreen.class/instance/noBackgroundBadges.st | 6 ++++++ .../MDLBadgesScreen.class/instance/overlapedBadges.st | 6 ++++++ .../instance/renderNoBackgroundIconBadgeOn..st | 7 +++++++ .../instance/renderNoBackgroundNumberBadgeOn..st | 7 +++++++ .../instance/renderNotOverlapedBadgeOn..st | 5 +++++ .../instance/renderOverlapedBadgeOn..st | 6 ++++++ .../instance/renderScreenContentOn..st | 4 +++- 11 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/noBackgroundBadges.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/overlapedBadges.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundIconBadgeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundNumberBadgeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNotOverlapedBadgeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderOverlapedBadgeOn..st diff --git a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/dataBadge..st b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/dataBadge..st index be40d784..99053b93 100644 --- a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/dataBadge..st +++ b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/dataBadge..st @@ -1,3 +1,5 @@ options dataBadge: aString + "Assigns a value to the badge" + self attributeAt: 'data-badge' put: aString \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/initialize.st index 28b3933b..24d30c6b 100644 --- a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/initialize.st +++ b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/initialize.st @@ -1,4 +1,4 @@ -initialize-release +initialization initialize super initialize. self class: 'mdl-badge' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/noBackground.st b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/noBackground.st index c0693e82..6bb04cb7 100644 --- a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/noBackground.st +++ b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/noBackground.st @@ -1,3 +1,5 @@ options noBackground + "Applies open-circle effect to badge" + self class: 'mdl-badge--no-background' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/overlap.st b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/overlap.st index d0c5ac2f..040f5439 100644 --- a/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/overlap.st +++ b/src/Material-Design-Lite-Components.package/MDLBadge.class/instance/overlap.st @@ -1,3 +1,5 @@ options overlap + "Make the badge overlap with its container" + self class: 'mdl-badge--overlap' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/noBackgroundBadges.st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/noBackgroundBadges.st new file mode 100644 index 00000000..940fa341 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/noBackgroundBadges.st @@ -0,0 +1,6 @@ +sections +noBackgroundBadges + ^ OrderedDictionary new + add: 'Number with no background' -> #renderNoBackgroundNumberBadgeOn:; + add: 'Icon with no background' -> #renderNoBackgroundIconBadgeOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/overlapedBadges.st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/overlapedBadges.st new file mode 100644 index 00000000..dc0bce2f --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/overlapedBadges.st @@ -0,0 +1,6 @@ +sections +overlapedBadges + ^ OrderedDictionary new + add: 'Overlaped' -> #renderOverlapedBadgeOn:; + add: 'Not overlaped' -> #renderNotOverlapedBadgeOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundIconBadgeOn..st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundIconBadgeOn..st new file mode 100644 index 00000000..9e1b5eec --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundIconBadgeOn..st @@ -0,0 +1,7 @@ +demos +renderNoBackgroundIconBadgeOn: html + html mdlIconBadge + dataBadge: (Character codePoint: 9829) asString; + overlap; + noBackground; + with: 'account_box' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundNumberBadgeOn..st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundNumberBadgeOn..st new file mode 100644 index 00000000..7f80c6db --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNoBackgroundNumberBadgeOn..st @@ -0,0 +1,7 @@ +demos +renderNoBackgroundNumberBadgeOn: html + html mdlIconBadge + dataBadge: '1'; + overlap; + noBackground; + with: 'account_box' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNotOverlapedBadgeOn..st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNotOverlapedBadgeOn..st new file mode 100644 index 00000000..461ef30d --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderNotOverlapedBadgeOn..st @@ -0,0 +1,5 @@ +demos +renderNotOverlapedBadgeOn: html + html mdlBadge + dataBadge: '4'; + with: 'Inbox' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderOverlapedBadgeOn..st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderOverlapedBadgeOn..st new file mode 100644 index 00000000..c8588554 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderOverlapedBadgeOn..st @@ -0,0 +1,6 @@ +demos +renderOverlapedBadgeOn: html + html mdlBadge + dataBadge: '4'; + overlap; + with: 'Inbox' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderScreenContentOn..st index e59cfecd..ca758fc7 100644 --- a/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLBadgesScreen.class/instance/renderScreenContentOn..st @@ -2,4 +2,6 @@ rendering renderScreenContentOn: html self render: self iconBadges on: html; - render: self textBadges on: html \ No newline at end of file + render: self textBadges on: html; + render: self overlapedBadges on: html; + render: self noBackgroundBadges on: html \ No newline at end of file From 99b3266b4f123f28478720c44bf865802cddb506 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 13:57:49 +0200 Subject: [PATCH 007/103] Remove duplication in buttons and add documentation. See https://github.com/DuneSt/MaterialDesignLite/issues/156 --- .../MDLAnchorButton.class/instance/accentColor.st | 3 --- .../MDLAnchorButton.class/instance/colored.st | 3 --- .../MDLAnchorButton.class/instance/fab.st | 3 --- .../MDLAnchorButton.class/instance/icon..st | 5 ----- .../MDLAnchorButton.class/instance/icon.st | 3 --- .../MDLAnchorButton.class/instance/labelIcon.st | 5 ----- .../MDLAnchorButton.class/instance/miniFab.st | 3 --- .../MDLAnchorButton.class/instance/primaryColor.st | 3 --- .../MDLAnchorButton.class/instance/raised.st | 3 --- .../MDLAnchorButton.class/instance/rippleEffect.st | 3 --- .../MDLAnchorButton.class/properties.json | 12 +++++++----- .../MDLButton.class/instance/accentColor.st | 3 --- .../MDLButton.class/instance/colored.st | 3 --- .../MDLButton.class/instance/fab.st | 3 --- .../MDLButton.class/instance/icon..st | 5 ----- .../MDLButton.class/instance/icon.st | 3 --- .../MDLButton.class/instance/labelIcon..st | 5 +++++ .../MDLButton.class/instance/miniFab.st | 3 --- .../MDLButton.class/instance/primaryColor.st | 3 --- .../MDLButton.class/instance/raised.st | 3 --- .../MDLButton.class/instance/resetType.st | 5 +++++ .../MDLButton.class/instance/rippleEffect.st | 3 --- .../MDLButton.class/properties.json | 14 ++++++++------ .../TMDLButton.trait/README.md | 4 ++++ .../TMDLButton.trait/instance/accentColor.st | 5 +++++ .../TMDLButton.trait/instance/colored.st | 5 +++++ .../TMDLButton.trait/instance/fab.st | 5 +++++ .../TMDLButton.trait/instance/icon..st | 7 +++++++ .../TMDLButton.trait/instance/icon.st | 5 +++++ .../TMDLButton.trait/instance/miniFab.st | 5 +++++ .../TMDLButton.trait/instance/primaryColor.st | 5 +++++ .../TMDLButton.trait/instance/raised.st | 5 +++++ .../TMDLButton.trait/instance/rippleEffect.st | 5 +++++ .../TMDLButton.trait/properties.json | 5 +++++ 34 files changed, 81 insertions(+), 74 deletions(-) delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/accentColor.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/colored.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/fab.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon..st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/labelIcon.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/miniFab.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/primaryColor.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/raised.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/rippleEffect.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/accentColor.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/colored.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/fab.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon..st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon.st create mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/labelIcon..st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/miniFab.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/primaryColor.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/raised.st create mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/resetType.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLButton.class/instance/rippleEffect.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/README.md create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/accentColor.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/colored.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/fab.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon..st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/miniFab.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/primaryColor.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/raised.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/rippleEffect.st create mode 100644 src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/accentColor.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/accentColor.st deleted file mode 100644 index ba533c41..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/accentColor.st +++ /dev/null @@ -1,3 +0,0 @@ -options -accentColor - self class: 'mdl-button--accent' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/colored.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/colored.st deleted file mode 100644 index 85d0f38f..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/colored.st +++ /dev/null @@ -1,3 +0,0 @@ -options -colored - self class: 'mdl-button--colored' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/fab.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/fab.st deleted file mode 100644 index 8ae2e0c9..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/fab.st +++ /dev/null @@ -1,3 +0,0 @@ -options -fab - self class: 'mdl-button--fab' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon..st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon..st deleted file mode 100644 index cd0572b0..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon..st +++ /dev/null @@ -1,5 +0,0 @@ -options -icon: aString - self - icon; - with: [ canvas mdlIcon: aString ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon.st deleted file mode 100644 index 6d453dfe..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/icon.st +++ /dev/null @@ -1,3 +0,0 @@ -options -icon - self class: 'mdl-button--icon' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/labelIcon.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/labelIcon.st deleted file mode 100644 index 5c1aff23..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/labelIcon.st +++ /dev/null @@ -1,5 +0,0 @@ -options -labelIcon - self - asLabel; - icon \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/miniFab.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/miniFab.st deleted file mode 100644 index 0ac4e886..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/miniFab.st +++ /dev/null @@ -1,3 +0,0 @@ -options -miniFab - self class: 'mdl-button--mini-fab' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/primaryColor.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/primaryColor.st deleted file mode 100644 index f2730e20..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/primaryColor.st +++ /dev/null @@ -1,3 +0,0 @@ -options -primaryColor - self class: 'mdl-button--primary' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/raised.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/raised.st deleted file mode 100644 index fb857d4c..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/raised.st +++ /dev/null @@ -1,3 +0,0 @@ -options -raised - self class: 'mdl-button--raised' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/rippleEffect.st b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/rippleEffect.st deleted file mode 100644 index e940cbce..00000000 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/instance/rippleEffect.st +++ /dev/null @@ -1,3 +0,0 @@ -options -rippleEffect - self class: 'mdl-js-ripple-effect' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/properties.json b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/properties.json index 621c3b21..7ca7402a 100644 --- a/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLAnchorButton.class/properties.json @@ -1,11 +1,13 @@ { + "classtraitcomposition" : "TMDLButton classTrait", + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLAnchorButton", "commentStamp" : "CyrilFerlicot 3/30/2018 15:53", "super" : "WAAnchorTag", - "category" : "Material-Design-Lite-Components-Buttons", + "traitcomposition" : "TMDLButton", + "type" : "normal", "classinstvars" : [ ], "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "MDLAnchorButton", - "type" : "normal" + "category" : "Material-Design-Lite-Components-Buttons" } \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/accentColor.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/accentColor.st deleted file mode 100644 index ba533c41..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/accentColor.st +++ /dev/null @@ -1,3 +0,0 @@ -options -accentColor - self class: 'mdl-button--accent' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/colored.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/colored.st deleted file mode 100644 index 85d0f38f..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/colored.st +++ /dev/null @@ -1,3 +0,0 @@ -options -colored - self class: 'mdl-button--colored' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/fab.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/fab.st deleted file mode 100644 index 8ae2e0c9..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/fab.st +++ /dev/null @@ -1,3 +0,0 @@ -options -fab - self class: 'mdl-button--fab' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon..st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon..st deleted file mode 100644 index cd0572b0..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon..st +++ /dev/null @@ -1,5 +0,0 @@ -options -icon: aString - self - icon; - with: [ canvas mdlIcon: aString ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon.st deleted file mode 100644 index 6d453dfe..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/icon.st +++ /dev/null @@ -1,3 +0,0 @@ -options -icon - self class: 'mdl-button--icon' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/labelIcon..st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/labelIcon..st new file mode 100644 index 00000000..56f0b81c --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/labelIcon..st @@ -0,0 +1,5 @@ +options +labelIcon: aString + self + asLabel; + icon: aString \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/miniFab.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/miniFab.st deleted file mode 100644 index 0ac4e886..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/miniFab.st +++ /dev/null @@ -1,3 +0,0 @@ -options -miniFab - self class: 'mdl-button--mini-fab' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/primaryColor.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/primaryColor.st deleted file mode 100644 index f2730e20..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/primaryColor.st +++ /dev/null @@ -1,3 +0,0 @@ -options -primaryColor - self class: 'mdl-button--primary' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/raised.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/raised.st deleted file mode 100644 index fb857d4c..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/raised.st +++ /dev/null @@ -1,3 +0,0 @@ -options -raised - self class: 'mdl-button--raised' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/resetType.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/resetType.st new file mode 100644 index 00000000..6f3c04cb --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/resetType.st @@ -0,0 +1,5 @@ +options +resetType + "By default the type will be `submit`. This option remove the type." + + type := nil \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/rippleEffect.st b/src/Material-Design-Lite-Components.package/MDLButton.class/instance/rippleEffect.st deleted file mode 100644 index e940cbce..00000000 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/rippleEffect.st +++ /dev/null @@ -1,3 +0,0 @@ -options -rippleEffect - self class: 'mdl-js-ripple-effect' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/properties.json b/src/Material-Design-Lite-Components.package/MDLButton.class/properties.json index 141559ef..dbb7be57 100644 --- a/src/Material-Design-Lite-Components.package/MDLButton.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLButton.class/properties.json @@ -1,13 +1,15 @@ { - "commentStamp" : "CyrilFerlicot 3/30/2018 16:01", - "super" : "WAButtonTag", - "category" : "Material-Design-Lite-Components-Buttons", - "classinstvars" : [ ], - "pools" : [ ], + "classtraitcomposition" : "TMDLButton classTrait", "classvars" : [ ], "instvars" : [ "tag" ], "name" : "MDLButton", - "type" : "normal" + "commentStamp" : "CyrilFerlicot 3/30/2018 16:01", + "super" : "WAButtonTag", + "traitcomposition" : "TMDLButton", + "type" : "normal", + "classinstvars" : [ ], + "pools" : [ ], + "category" : "Material-Design-Lite-Components-Buttons" } \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/README.md b/src/Material-Design-Lite-Components.package/TMDLButton.trait/README.md new file mode 100644 index 00000000..cb1cfe42 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/README.md @@ -0,0 +1,4 @@ +Description +-------------------- + +I am a Trait defining the possible options for Material Design button like brushes. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/accentColor.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/accentColor.st new file mode 100644 index 00000000..02b947c8 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/accentColor.st @@ -0,0 +1,5 @@ +options +accentColor + "With this option the button will have the color of the accent color of the application." + + self class: 'mdl-button--accent' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/colored.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/colored.st new file mode 100644 index 00000000..32de590a --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/colored.st @@ -0,0 +1,5 @@ +options +colored + "Applies colored display effect (primary or accent color, depending on the type of button)" + + self class: 'mdl-button--colored' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/fab.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/fab.st new file mode 100644 index 00000000..cbf3f0ea --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/fab.st @@ -0,0 +1,5 @@ +options +fab + "This option applies a `fab` effect. The button will take a circular shape instead of a square one. It works better with a symbole as content. For example `+`." + + self class: 'mdl-button--fab' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon..st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon..st new file mode 100644 index 00000000..3fbe0e66 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon..st @@ -0,0 +1,7 @@ +options +icon: aString + "Display a small circular button with an icon inside." + + self + icon; + with: [ self canvas mdlIcon: aString ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon.st new file mode 100644 index 00000000..d931586e --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/icon.st @@ -0,0 +1,5 @@ +options +icon + "Display a small circular button with an icon inside." + + self class: 'mdl-button--icon' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/miniFab.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/miniFab.st new file mode 100644 index 00000000..4a24eedf --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/miniFab.st @@ -0,0 +1,5 @@ +options +miniFab + "This option applies a `fab` effect with small margins. The button will take a circular shape instead of a square one. It works better with a symbole as content. For example `+`." + + self class: 'mdl-button--mini-fab' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/primaryColor.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/primaryColor.st new file mode 100644 index 00000000..ee5e2122 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/primaryColor.st @@ -0,0 +1,5 @@ +options +primaryColor + "With this option the button will have the color of the primary color of the application." + + self class: 'mdl-button--primary' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/raised.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/raised.st new file mode 100644 index 00000000..361f3725 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/raised.st @@ -0,0 +1,5 @@ +options +raised + "This will apply a `raised` effect to the button. It will add an elevation." + + self class: 'mdl-button--raised' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/rippleEffect.st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/rippleEffect.st new file mode 100644 index 00000000..652c4b3b --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/rippleEffect.st @@ -0,0 +1,5 @@ +options +rippleEffect + "With this option, when clicked, the button will display a ripple-like effect on the button." + + self class: 'mdl-js-ripple-effect' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json b/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json new file mode 100644 index 00000000..6057cc0d --- /dev/null +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json @@ -0,0 +1,5 @@ +{ + "name" : "TMDLButton", + "commentStamp" : "CyrilFerlicot 5/17/2018 13:35", + "category" : "Material-Design-Lite-Components-Buttons" +} \ No newline at end of file From 7a55891b30ab23c37793a99b441617618ad19afb Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 13:58:15 +0200 Subject: [PATCH 008/103] Add missing demos on buttons See https://github.com/DuneSt/MaterialDesignLite/issues/155 --- .../instance/raisedColoredButtons.st | 7 +++++++ .../instance/renderColoredAccentButtonCodeOn..st | 1 - .../renderColoredAccentRippleEffectButtonCodeOn..st | 1 - .../instance/renderColoredButtonCodeOn..st | 1 - .../instance/renderRaisedColoredAccentButtonCodeOn..st | 7 +++++++ .../renderRaisedColoredAccentRippleEffectButtonCodeOn..st | 8 ++++++++ .../instance/renderRaisedColoredButtonCodeOn..st | 7 +++++++ .../instance/renderScreenContentOn..st | 3 ++- .../MDLButtonsScreen.class/instance/iconButtons.st | 1 + .../instance/raisedColoredButtons.st | 7 +++++++ .../instance/renderColoredAccentButtonCodeOn..st | 1 - .../renderColoredAccentRippleEffectButtonCodeOn..st | 1 - .../instance/renderColoredButtonCodeOn..st | 1 - .../instance/renderLabelIconButtonCodeOn..st | 5 +++++ .../instance/renderRaisedColoredAccentButtonCodeOn..st | 6 ++++++ .../renderRaisedColoredAccentRippleEffectButtonCodeOn..st | 7 +++++++ .../instance/renderRaisedColoredButtonCodeOn..st | 6 ++++++ .../instance/renderScreenContentOn..st | 3 ++- 18 files changed, 65 insertions(+), 8 deletions(-) create mode 100644 src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/raisedColoredButtons.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/raisedColoredButtons.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderLabelIconButtonCodeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/raisedColoredButtons.st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/raisedColoredButtons.st new file mode 100644 index 00000000..6c24ce7c --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/raisedColoredButtons.st @@ -0,0 +1,7 @@ +sections +raisedColoredButtons + ^ OrderedDictionary new + add: 'Colored button' -> #renderRaisedColoredButtonCodeOn:; + add: 'Accent colored' -> #renderRaisedColoredAccentButtonCodeOn:; + add: 'With Ripples' -> #renderRaisedColoredAccentRippleEffectButtonCodeOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st index 2569c13c..e3c1453e 100644 --- a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st @@ -2,6 +2,5 @@ demos renderColoredAccentButtonCodeOn: html html mdlAnchorButton callback: [ 'Test' crLog ]; - raised; accentColor; with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st index 5f979ea8..3d2d084f 100644 --- a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st @@ -2,7 +2,6 @@ demos renderColoredAccentRippleEffectButtonCodeOn: html html mdlAnchorButton callback: [ 'Test' crLog ]; - raised; accentColor; rippleEffect; with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredButtonCodeOn..st index 2d3bc517..238f65f8 100644 --- a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredButtonCodeOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderColoredButtonCodeOn..st @@ -2,6 +2,5 @@ demos renderColoredButtonCodeOn: html html mdlAnchorButton callback: [ 'Test' crLog ]; - raised; primaryColor; with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st new file mode 100644 index 00000000..8b8360dd --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st @@ -0,0 +1,7 @@ +demos +renderRaisedColoredAccentButtonCodeOn: html + html mdlAnchorButton + callback: [ 'Test' crLog ]; + raised; + accentColor; + with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st new file mode 100644 index 00000000..472adacb --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st @@ -0,0 +1,8 @@ +demos +renderRaisedColoredAccentRippleEffectButtonCodeOn: html + html mdlAnchorButton + callback: [ 'Test' crLog ]; + raised; + accentColor; + rippleEffect; + with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st new file mode 100644 index 00000000..5f96f582 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st @@ -0,0 +1,7 @@ +demos +renderRaisedColoredButtonCodeOn: html + html mdlAnchorButton + callback: [ 'Test' crLog ]; + raised; + primaryColor; + with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderScreenContentOn..st index 1a268f18..65cc934f 100644 --- a/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLAnchorButtonsScreen.class/instance/renderScreenContentOn..st @@ -3,8 +3,9 @@ renderScreenContentOn: html self render: self fabColoredButtons on: html; render: self fabButtons on: html; - render: self raisedButtons on: html; render: self coloredButtons on: html; + render: self raisedButtons on: html; + render: self raisedColoredButtons on: html; render: self flatButtons on: html; render: self iconButtons on: html; render: self miniFabButtons on: html \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/iconButtons.st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/iconButtons.st index b7795dd7..5a3e7bf0 100644 --- a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/iconButtons.st +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/iconButtons.st @@ -3,4 +3,5 @@ iconButtons ^ OrderedDictionary new add: 'Icon button' -> #renderIconButtonCodeOn:; add: 'Colored' -> #renderIconColoredButtonCodeOn:; + add: 'Label icon' -> #renderLabelIconButtonCodeOn:; yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/raisedColoredButtons.st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/raisedColoredButtons.st new file mode 100644 index 00000000..6c24ce7c --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/raisedColoredButtons.st @@ -0,0 +1,7 @@ +sections +raisedColoredButtons + ^ OrderedDictionary new + add: 'Colored button' -> #renderRaisedColoredButtonCodeOn:; + add: 'Accent colored' -> #renderRaisedColoredAccentButtonCodeOn:; + add: 'With Ripples' -> #renderRaisedColoredAccentRippleEffectButtonCodeOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st index 5a577fa5..a3f26398 100644 --- a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentButtonCodeOn..st @@ -1,6 +1,5 @@ demos renderColoredAccentButtonCodeOn: html html mdlButton - raised; accentColor; with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st index 31a082e5..0a7523b0 100644 --- a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredAccentRippleEffectButtonCodeOn..st @@ -1,7 +1,6 @@ demos renderColoredAccentRippleEffectButtonCodeOn: html html mdlButton - raised; accentColor; rippleEffect; with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredButtonCodeOn..st index 1c5249ab..60128761 100644 --- a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredButtonCodeOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderColoredButtonCodeOn..st @@ -1,6 +1,5 @@ demos renderColoredButtonCodeOn: html html mdlButton - raised; primaryColor; with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderLabelIconButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderLabelIconButtonCodeOn..st new file mode 100644 index 00000000..3fefff55 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderLabelIconButtonCodeOn..st @@ -0,0 +1,5 @@ +demos +renderLabelIconButtonCodeOn: html + "We could also use the #labelIcon and provide the icon ourself" + + html mdlButton labelIcon: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st new file mode 100644 index 00000000..1b5d6ec8 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentButtonCodeOn..st @@ -0,0 +1,6 @@ +demos +renderRaisedColoredAccentButtonCodeOn: html + html mdlButton + raised; + accentColor; + with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st new file mode 100644 index 00000000..410d35fc --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredAccentRippleEffectButtonCodeOn..st @@ -0,0 +1,7 @@ +demos +renderRaisedColoredAccentRippleEffectButtonCodeOn: html + html mdlButton + raised; + accentColor; + rippleEffect; + with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st new file mode 100644 index 00000000..bc9792be --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderRaisedColoredButtonCodeOn..st @@ -0,0 +1,6 @@ +demos +renderRaisedColoredButtonCodeOn: html + html mdlButton + raised; + primaryColor; + with: 'Button' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderScreenContentOn..st index 1a268f18..65cc934f 100644 --- a/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLButtonsScreen.class/instance/renderScreenContentOn..st @@ -3,8 +3,9 @@ renderScreenContentOn: html self render: self fabColoredButtons on: html; render: self fabButtons on: html; - render: self raisedButtons on: html; render: self coloredButtons on: html; + render: self raisedButtons on: html; + render: self raisedColoredButtons on: html; render: self flatButtons on: html; render: self iconButtons on: html; render: self miniFabButtons on: html \ No newline at end of file From 2019d29992181f8a2ec14bad83b78a0a55300123 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 13:58:40 +0200 Subject: [PATCH 009/103] Add tests for Icon badges and buttons + remove useless methods --- .../instance/actualClass.st | 3 --- .../MDLBadgeTest.class/instance/actualClass.st | 3 --- .../MDLBadgeTest.class/instance/testComplexe.st | 10 ++++++++++ .../MDLBadgeTest.class/properties.json | 2 +- .../MDLButtonTest.class/README.md | 0 .../MDLButtonTest.class/instance/testAccentColor.st | 8 ++++++++ .../MDLButtonTest.class/instance/testAsLabel.st | 8 ++++++++ .../MDLButtonTest.class/instance/testBareBrush.st | 3 +++ .../MDLButtonTest.class/instance/testColored.st | 8 ++++++++ .../MDLButtonTest.class/instance/testFab.st | 8 ++++++++ .../MDLButtonTest.class/instance/testIcon.st | 9 +++++++++ .../MDLButtonTest.class/instance/testLabelIcon.st | 9 +++++++++ .../MDLButtonTest.class/instance/testMiniFab.st | 8 ++++++++ .../MDLButtonTest.class/instance/testPrimaryColor.st | 8 ++++++++ .../MDLButtonTest.class/instance/testRaised.st | 8 ++++++++ .../MDLButtonTest.class/instance/testResetType.st | 3 +++ .../MDLButtonTest.class/instance/testRippleEffect.st | 8 ++++++++ .../MDLButtonTest.class/instance/testWithContent.st | 3 +++ .../MDLButtonTest.class/properties.json | 11 +++++++++++ .../MDLIconBadgeTest.class/README.md | 0 .../MDLIconBadgeTest.class/instance/testBareBrush.st | 3 +++ .../MDLIconBadgeTest.class/instance/testComplexe.st | 10 ++++++++++ .../MDLIconBadgeTest.class/instance/testDataBadge.st | 8 ++++++++ .../instance/testDataBadgeWithNumber.st | 8 ++++++++ .../instance/testNoBackground.st | 8 ++++++++ .../MDLIconBadgeTest.class/instance/testOverlap.st | 8 ++++++++ .../MDLIconBadgeTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + 28 files changed, 170 insertions(+), 7 deletions(-) delete mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st delete mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testComplexe.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAccentColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAsLabel.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testColored.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFab.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testIcon.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testLabelIcon.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testMiniFab.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testPrimaryColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRaised.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testResetType.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testComplexe.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadge.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadgeWithNumber.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testNoBackground.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testOverlap.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/properties.json diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st deleted file mode 100644 index 372ebff5..00000000 --- a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/actualClass.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -actualClass - ^ self subclassResponsibility \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st deleted file mode 100644 index 3dc777b3..00000000 --- a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/actualClass.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -actualClass - ^ MDLBadge \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testComplexe.st b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testComplexe.st new file mode 100644 index 00000000..a99bd4d9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/instance/testComplexe.st @@ -0,0 +1,10 @@ +tests +testComplexe + self + assert: [ :html | + html mdlBadge + overlap; + noBackground; + dataBadge: 3; + with: 'Test' ] + generates: 'Test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json index 8e6d909c..d81ee8ec 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json +++ b/src/Material-Design-Lite-Components-Tests.package/MDLBadgeTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "MDLAbstractBrushTest", - "category" : "Material-Design-Lite-Components-Tests-Tests", + "category" : "Material-Design-Lite-Components-Tests-Badge", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAccentColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAccentColor.st new file mode 100644 index 00000000..7b3bc333 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAccentColor.st @@ -0,0 +1,8 @@ +tests +testAccentColor + self + assert: [ :html | + html mdlButton + accentColor; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAsLabel.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAsLabel.st new file mode 100644 index 00000000..b159af2c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testAsLabel.st @@ -0,0 +1,8 @@ +tests +testAsLabel + self + assert: [ :html | + html mdlButton + asLabel; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..14cc4947 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlButton ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testColored.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testColored.st new file mode 100644 index 00000000..b46639fc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testColored.st @@ -0,0 +1,8 @@ +tests +testColored + self + assert: [ :html | + html mdlButton + colored; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFab.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFab.st new file mode 100644 index 00000000..89d8f3dc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFab.st @@ -0,0 +1,8 @@ +tests +testFab + self + assert: [ :html | + html mdlButton + fab; + with: '+' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testIcon.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testIcon.st new file mode 100644 index 00000000..bdfc1feb --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testIcon.st @@ -0,0 +1,9 @@ +tests +testIcon + self + assert: [ :html | + html mdlButton + icon; + with: [ html mdlIcon: 'mood' ] ] + generates: ''. + self assert: [ :html | html mdlButton icon: 'mood' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testLabelIcon.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testLabelIcon.st new file mode 100644 index 00000000..19ddd0a8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testLabelIcon.st @@ -0,0 +1,9 @@ +tests +testLabelIcon + self + assert: [ :html | + html mdlButton + labelIcon; + with: [ html mdlIcon: 'mood' ] ] + generates: ''. + self assert: [ :html | html mdlButton labelIcon: 'mood' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testMiniFab.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testMiniFab.st new file mode 100644 index 00000000..d13e36ee --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testMiniFab.st @@ -0,0 +1,8 @@ +tests +testMiniFab + self + assert: [ :html | + html mdlButton + miniFab; + with: '+' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testPrimaryColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testPrimaryColor.st new file mode 100644 index 00000000..2b9c5de4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testPrimaryColor.st @@ -0,0 +1,8 @@ +tests +testPrimaryColor + self + assert: [ :html | + html mdlButton + primaryColor; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRaised.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRaised.st new file mode 100644 index 00000000..02c8c63d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRaised.st @@ -0,0 +1,8 @@ +tests +testRaised + self + assert: [ :html | + html mdlButton + raised; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testResetType.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testResetType.st new file mode 100644 index 00000000..bc8e6d6e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testResetType.st @@ -0,0 +1,3 @@ +tests +testResetType + self assert: [ :html | html mdlButton resetType; with: 'Validate' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..4ff4b184 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testRippleEffect.st @@ -0,0 +1,8 @@ +tests +testRippleEffect + self + assert: [ :html | + html mdlButton + rippleEffect; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testWithContent.st new file mode 100644 index 00000000..779a7261 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlButton: 'Validate' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/properties.json new file mode 100644 index 00000000..5b41ad3d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Buttons", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLButtonTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..249827ea --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlIconBadge: 'account_box' ] generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testComplexe.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testComplexe.st new file mode 100644 index 00000000..d0cc75cb --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testComplexe.st @@ -0,0 +1,10 @@ +tests +testComplexe + self + assert: [ :html | + html mdlIconBadge + overlap; + noBackground; + dataBadge: 3; + with: 'account_box' ] + generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadge.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadge.st new file mode 100644 index 00000000..fdcf6f3c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadge.st @@ -0,0 +1,8 @@ +tests +testDataBadge + self + assert: [ :html | + html mdlIconBadge + dataBadge: '1'; + with: 'account_box' ] + generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadgeWithNumber.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadgeWithNumber.st new file mode 100644 index 00000000..d11e4a1e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testDataBadgeWithNumber.st @@ -0,0 +1,8 @@ +tests +testDataBadgeWithNumber + self + assert: [ :html | + html mdlIconBadge + dataBadge: 1; + with: 'account_box' ] + generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testNoBackground.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testNoBackground.st new file mode 100644 index 00000000..945d4d42 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testNoBackground.st @@ -0,0 +1,8 @@ +tests +testNoBackground + self + assert: [ :html | + html mdlIconBadge + noBackground; + with: 'account_box' ] + generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testOverlap.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testOverlap.st new file mode 100644 index 00000000..799978d9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testOverlap.st @@ -0,0 +1,8 @@ +tests +testOverlap + self + assert: [ :html | + html mdlIconBadge + overlap; + with: 'account_box' ] + generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/properties.json new file mode 100644 index 00000000..665b10d5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Badge", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLIconBadgeTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 7916b570..a4343cc6 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -2,3 +2,4 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Abstract'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Tests'! +ystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! From c78fdb47fd12c5bf6787c35292d8305bcc62900e Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 14:37:05 +0200 Subject: [PATCH 010/103] Test anchor buttons --- .../MDLAnchorButtonTest.class/README.md | 0 .../instance/testAccentColor.st | 8 ++++++++ .../instance/testBareBrush.st | 3 +++ .../MDLAnchorButtonTest.class/instance/testColored.st | 8 ++++++++ .../MDLAnchorButtonTest.class/instance/testFab.st | 8 ++++++++ .../MDLAnchorButtonTest.class/instance/testIcon.st | 9 +++++++++ .../MDLAnchorButtonTest.class/instance/testMiniFab.st | 8 ++++++++ .../instance/testPrimaryColor.st | 8 ++++++++ .../MDLAnchorButtonTest.class/instance/testRaised.st | 8 ++++++++ .../instance/testRippleEffect.st | 8 ++++++++ .../instance/testWithContent.st | 3 +++ .../MDLAnchorButtonTest.class/properties.json | 11 +++++++++++ 12 files changed, 82 insertions(+) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testAccentColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testColored.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFab.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testIcon.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testMiniFab.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testPrimaryColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRaised.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/properties.json diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testAccentColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testAccentColor.st new file mode 100644 index 00000000..b1c27a6d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testAccentColor.st @@ -0,0 +1,8 @@ +tests +testAccentColor + self + assert: [ :html | + html mdlAnchorButton + accentColor; + with: 'Validate' ] + generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..d212d5f4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlAnchorButton ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testColored.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testColored.st new file mode 100644 index 00000000..d69b3e7a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testColored.st @@ -0,0 +1,8 @@ +tests +testColored + self + assert: [ :html | + html mdlAnchorButton + colored; + with: 'Validate' ] + generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFab.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFab.st new file mode 100644 index 00000000..ee8f277e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFab.st @@ -0,0 +1,8 @@ +tests +testFab + self + assert: [ :html | + html mdlAnchorButton + fab; + with: '+' ] + generates: '+' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testIcon.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testIcon.st new file mode 100644 index 00000000..d0195bc7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testIcon.st @@ -0,0 +1,9 @@ +tests +testIcon + self + assert: [ :html | + html mdlAnchorButton + icon; + with: [ html mdlIcon: 'mood' ] ] + generates: 'mood'. + self assert: [ :html | html mdlAnchorButton icon: 'mood' ] generates: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testMiniFab.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testMiniFab.st new file mode 100644 index 00000000..f65678dc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testMiniFab.st @@ -0,0 +1,8 @@ +tests +testMiniFab + self + assert: [ :html | + html mdlAnchorButton + miniFab; + with: '+' ] + generates: '+' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testPrimaryColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testPrimaryColor.st new file mode 100644 index 00000000..90e69615 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testPrimaryColor.st @@ -0,0 +1,8 @@ +tests +testPrimaryColor + self + assert: [ :html | + html mdlAnchorButton + primaryColor; + with: 'Validate' ] + generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRaised.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRaised.st new file mode 100644 index 00000000..138dc370 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRaised.st @@ -0,0 +1,8 @@ +tests +testRaised + self + assert: [ :html | + html mdlAnchorButton + raised; + with: 'Validate' ] + generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..b93328e6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testRippleEffect.st @@ -0,0 +1,8 @@ +tests +testRippleEffect + self + assert: [ :html | + html mdlAnchorButton + rippleEffect; + with: 'Validate' ] + generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testWithContent.st new file mode 100644 index 00000000..c4b032f7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlAnchorButton with: 'Validate' ] generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/properties.json new file mode 100644 index 00000000..06f86fb8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Buttons", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLAnchorButtonTest", + "type" : "normal" +} \ No newline at end of file From 431d7d1cc132636c0df7852d0eaa842606e3b215 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 16:32:43 +0200 Subject: [PATCH 011/103] Remove unused variables. See https://github.com/DuneSt/MaterialDesignLite/issues/157 --- .../MDLCardTag.class/properties.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Material-Design-Lite-Components.package/MDLCardTag.class/properties.json b/src/Material-Design-Lite-Components.package/MDLCardTag.class/properties.json index de0a691f..d6e82380 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTag.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLCardTag.class/properties.json @@ -5,11 +5,7 @@ "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ - "links", - "title", - "beCollapsible" - ], + "instvars" : [ ], "name" : "MDLCardTag", "type" : "normal" } \ No newline at end of file From 7f2e2cf043962c2b3b0c99703a332b672a780d72 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 16:56:41 +0200 Subject: [PATCH 012/103] Clean and add test to MDLCardTag and MDLCardTitleText See https://github.com/DuneSt/MaterialDesignLite/issues/159 --- .../MDLCardInnerDivTest.class/README.md | 1 + .../MDLCardInnerDivTest.class/class/isAbstract.st | 3 +++ .../MDLCardInnerDivTest.class/instance/testBorder.st | 3 +++ .../MDLCardInnerDivTest.class/instance/testExpand.st | 3 +++ .../MDLCardInnerDivTest.class/properties.json | 11 +++++++++++ .../MDLCardTagTest.class/README.md | 0 .../MDLCardTagTest.class/instance/testBareBrush.st | 3 +++ .../MDLCardTagTest.class/instance/testWithContent.st | 3 +++ .../MDLCardTagTest.class/properties.json | 11 +++++++++++ .../MDLCardTitleTextTest.class/README.md | 1 + .../instance/testBareBrush.st | 3 +++ .../MDLCardTitleTextTest.class/instance/testLevel1.st | 8 ++++++++ .../MDLCardTitleTextTest.class/instance/testLevel2.st | 8 ++++++++ .../MDLCardTitleTextTest.class/instance/testLevel3.st | 8 ++++++++ .../MDLCardTitleTextTest.class/instance/testLevel4.st | 8 ++++++++ .../MDLCardTitleTextTest.class/instance/testLevel5.st | 8 ++++++++ .../MDLCardTitleTextTest.class/instance/testLevel6.st | 8 ++++++++ .../instance/testWithContent.st | 3 +++ .../MDLCardTitleTextTest.class/properties.json | 11 +++++++++++ .../class/ruleRBRefersToClassRuleV1FalsePositive.st | 2 +- .../properties.json | 2 +- .../monticello.meta/categories.st | 2 +- .../MDLCardInnerDiv.class/instance/border.st | 2 +- .../MDLCardInnerDiv.class/instance/expand.st | 2 +- .../MDLCardInnerDiv.class/instance/tag.st | 3 --- .../MDLCardTitleText.class/instance/level..st | 2 +- .../MDLCardTitleText.class/instance/level1.st | 2 +- .../MDLCardTitleText.class/instance/level2.st | 2 +- .../MDLCardTitleText.class/instance/level3.st | 2 +- .../MDLCardTitleText.class/instance/level4.st | 2 +- .../MDLCardTitleText.class/instance/level5.st | 2 +- .../MDLCardTitleText.class/instance/level6.st | 2 +- .../MDLCardTitleText.class/properties.json | 2 +- 33 files changed, 117 insertions(+), 16 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/class/isAbstract.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testBorder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testExpand.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel1.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel2.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel3.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel4.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel5.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel6.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/properties.json delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/tag.st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/README.md new file mode 100644 index 00000000..3aa77e38 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/README.md @@ -0,0 +1 @@ +A MDLCardInnerDivTest is a test class for testing the behavior of MDLCardInnerDiv \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/class/isAbstract.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/class/isAbstract.st new file mode 100644 index 00000000..72008524 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = MDLCardInnerDivTest \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testBorder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testBorder.st new file mode 100644 index 00000000..4c307ce4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testBorder.st @@ -0,0 +1,3 @@ +tests +testBorder + self subclassResponsibility \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testExpand.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testExpand.st new file mode 100644 index 00000000..75f4e713 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/instance/testExpand.st @@ -0,0 +1,3 @@ +tests +testExpand + self subclassResponsibility \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/properties.json new file mode 100644 index 00000000..5506f163 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardInnerDivTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardInnerDivTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..0d83e53b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCard ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testWithContent.st new file mode 100644 index 00000000..cee06071 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCard: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/properties.json new file mode 100644 index 00000000..e5e884bd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTagTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardTagTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/README.md new file mode 100644 index 00000000..9d6aa5cc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/README.md @@ -0,0 +1 @@ +A MDLCardTitleTextTest is a test class for testing the behavior of MDLCardTitleText \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..1d951f9e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardTitleText ] generates: '

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel1.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel1.st new file mode 100644 index 00000000..d4ebbd42 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel1.st @@ -0,0 +1,8 @@ +tests +testLevel1 + self + assert: [ :html | + html mdlCardTitleText + level1; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel2.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel2.st new file mode 100644 index 00000000..31886d1b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel2.st @@ -0,0 +1,8 @@ +tests +testLevel2 + self + assert: [ :html | + html mdlCardTitleText + level2; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel3.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel3.st new file mode 100644 index 00000000..9103f7a2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel3.st @@ -0,0 +1,8 @@ +tests +testLevel3 + self + assert: [ :html | + html mdlCardTitleText + level3; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel4.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel4.st new file mode 100644 index 00000000..7ba86bc7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel4.st @@ -0,0 +1,8 @@ +tests +testLevel4 + self + assert: [ :html | + html mdlCardTitleText + level4; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel5.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel5.st new file mode 100644 index 00000000..06027b62 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel5.st @@ -0,0 +1,8 @@ +tests +testLevel5 + self + assert: [ :html | + html mdlCardTitleText + level5; + with: 'title' ] + generates: '
title
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel6.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel6.st new file mode 100644 index 00000000..6d82fa23 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testLevel6.st @@ -0,0 +1,8 @@ +tests +testLevel6 + self + assert: [ :html | + html mdlCardTitleText + level6; + with: 'title' ] + generates: '
title
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testWithContent.st new file mode 100644 index 00000000..5a643278 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardTitleText: 'title' ] generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/properties.json new file mode 100644 index 00000000..e1f7e9d5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleTextTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardTitleTextTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st index 220b6d8e..71c2d01e 100644 --- a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st +++ b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/class/ruleRBRefersToClassRuleV1FalsePositive.st @@ -1,3 +1,3 @@ code-critics ruleRBRefersToClassRuleV1FalsePositive - ^ #(#(#(#RGMethodDefinition #(#'MDLAbstractBrushTest class' #isAbstract #true)) #'2018-05-17T02:23:38.212953+02:00') ) \ No newline at end of file + ^ #(#(#(#RGMethodDefinition #(#'MDLAbstractBrushTest class' #isAbstract #true)) #'2018-05-17T02:23:38.212953+02:00') #(#(#RGMethodDefinition #(#'MDLCardInnerDivTest class' #isAbstract #true)) #'2018-05-17T16:46:08.979953+02:00') ) \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json index 9c79be3c..bf1992ce 100644 --- a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json +++ b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "PackageManifest", - "category" : "Material-Design-Lite-Components-Tests-Manifest", + "category" : "Material-Design-Lite-Components-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index a4343cc6..ab2c373e 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -2,4 +2,4 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Abstract'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Tests'! -ystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! +ystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Card'! diff --git a/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/border.st b/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/border.st index fdf2cfb1..852d4689 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/border.st +++ b/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/border.st @@ -1,3 +1,3 @@ -brick-properties +options border self class: 'mdl-card--border' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/expand.st b/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/expand.st index 516b347f..275dc81a 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/expand.st +++ b/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/expand.st @@ -1,3 +1,3 @@ -brick-properties +options expand self class: 'mdl-card--expand' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/tag.st b/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/tag.st deleted file mode 100644 index e3d9c379..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardInnerDiv.class/instance/tag.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tag - ^ 'div' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st index 087785de..bad016c9 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st @@ -1,3 +1,3 @@ accessing level: anInteger - level := (anInteger max: 1) min: 6 \ No newline at end of file + level := anInteger min: 6 max: 1 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st index fd370b10..c89083c7 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st @@ -1,3 +1,3 @@ convenience level1 - level := 1 \ No newline at end of file + self level: 1 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st index f87bd28d..d828dbb9 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st @@ -1,3 +1,3 @@ convenience level2 - level := 2 \ No newline at end of file + self level: 2 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st index 8d6598b0..ab4ac923 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st @@ -1,3 +1,3 @@ convenience level3 - level := 3 \ No newline at end of file + self level: 3 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st index 75655729..7f5a6354 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st @@ -1,3 +1,3 @@ convenience level4 - level := 4 \ No newline at end of file + self level: 4 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st index 4e66bb0a..427bb700 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st @@ -1,3 +1,3 @@ convenience level5 - level := 5 \ No newline at end of file + self level: 5 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st index 5e72c42d..416b3944 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st @@ -1,3 +1,3 @@ convenience level6 - level := 6 \ No newline at end of file + self level: 6 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json index c0779d1c..f02ec1f4 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:04", - "super" : "MDLCardInnerDiv", + "super" : "MDLDivTag", "category" : "Material-Design-Lite-Components-Cards", "classinstvars" : [ ], "pools" : [ ], From 74a1759bbe6910e0515d7bdca1d7a07b2a6c7fea Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 17:00:20 +0200 Subject: [PATCH 013/103] Try to load only groups Core and JQuery from Seaside since it should be all that is needed by MDL. See https://github.com/DuneSt/MaterialDesignLite/issues/154 --- .../BaselineOfMaterialDesignLite.class/instance/seaside3..st | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st b/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st index b845b3d9..c2ee2935 100644 --- a/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st +++ b/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st @@ -2,4 +2,6 @@ dependencies seaside3: spec spec baseline: 'Seaside3' - with: [ spec repository: 'github://SeasideSt/Seaside/repository' ] \ No newline at end of file + with: [ spec + loads: #('Core' 'JQuery'); + repository: 'github://SeasideSt/Seaside/repository' ] \ No newline at end of file From 89fa553e6c5cf32e73ddf0caad581bee27a630cf Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 17:09:08 +0200 Subject: [PATCH 014/103] Remove strong dependency to Seaside-Development See https://github.com/DuneSt/MaterialDesignLite/issues/154 --- .../MDLDemo.class/class/initializeAs..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st b/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st index 66ec98fe..85b037e1 100644 --- a/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st +++ b/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st @@ -1,6 +1,6 @@ initialization initializeAs: aString - WAAdmin applicationDefaults removeParent: WADevelopmentConfiguration instance. + self environment at: #WADevelopmentConfiguration ifPresent: [ :class | WAAdmin applicationDefaults removeParent: class instance ]. ^ (WAAdmin register: self asApplicationAt: aString) preferenceAt: #sessionClass put: MDLDemoSession; addLibrary: JQDeploymentLibrary; From 9ed3a6f20455a09bee1ea69171dc6d42ff5c8c41 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 17:18:20 +0200 Subject: [PATCH 015/103] Remove dependencies to JQueryUI and Seaside-Development. See https://github.com/DuneSt/MaterialDesignLite/issues/161 --- .../MDLApplication.class/class/canBeRoot.st | 2 +- .../class/registerToDeployment..st | 11 ++++------- .../class/registerToDevelopment..st | 12 ++++-------- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/Material-Design-Lite-Core.package/MDLApplication.class/class/canBeRoot.st b/src/Material-Design-Lite-Core.package/MDLApplication.class/class/canBeRoot.st index f866e279..2ddd9c1f 100644 --- a/src/Material-Design-Lite-Core.package/MDLApplication.class/class/canBeRoot.st +++ b/src/Material-Design-Lite-Core.package/MDLApplication.class/class/canBeRoot.st @@ -1,3 +1,3 @@ -as yet unclassified +testing canBeRoot ^ true \ No newline at end of file diff --git a/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDeployment..st b/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDeployment..st index a427a117..21b69140 100644 --- a/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDeployment..st +++ b/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDeployment..st @@ -1,10 +1,7 @@ instance creation registerToDeployment: aName - | app | - WAAdmin applicationDefaults removeParent: WADevelopmentConfiguration instance. - app := WAAdmin register: self asApplicationAt: aName. - app + self environment at: #WADevelopmentConfiguration ifPresent: [ :class | WAAdmin applicationDefaults removeParent: class instance ]. + ^ (WAAdmin register: self asApplicationAt: aName) addLibrary: JQDeploymentLibrary; - addLibrary: JQUiDeploymentLibrary; - addLibrary: MDLLibrary. - ^ app \ No newline at end of file + addLibrary: MDLLibrary; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDevelopment..st b/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDevelopment..st index 5dd3c33a..86c35efa 100644 --- a/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDevelopment..st +++ b/src/Material-Design-Lite-Core.package/MDLApplication.class/class/registerToDevelopment..st @@ -1,11 +1,7 @@ instance creation registerToDevelopment: aName - | app | - WAAdmin applicationDefaults - addParent: WADevelopmentConfiguration instance. - app := WAAdmin register: self asApplicationAt: aName. - app + self environment at: #WADevelopmentConfiguration ifPresent: [ :class | WAAdmin applicationDefaults addParent: class instance ]. + ^ (WAAdmin register: self asApplicationAt: aName) addLibrary: JQDeploymentLibrary; - addLibrary: JQUiDeploymentLibrary; - addLibrary: MDLLibrary. - ^ app \ No newline at end of file + addLibrary: MDLLibrary; + yourself \ No newline at end of file From 7e84dc458e6f5a998d391ac847c05def6b6df7bc Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 17:20:49 +0200 Subject: [PATCH 016/103] Same as previous --- .../MDLDemo.class/class/initializeAs..st | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st b/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st index 85b037e1..a9459dfd 100644 --- a/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st +++ b/src/Material-Design-Lite-Demo.package/MDLDemo.class/class/initializeAs..st @@ -4,7 +4,6 @@ initializeAs: aString ^ (WAAdmin register: self asApplicationAt: aString) preferenceAt: #sessionClass put: MDLDemoSession; addLibrary: JQDeploymentLibrary; - addLibrary: JQUiDeploymentLibrary; addLibrary: MDLLibrary; addLibrary: MDLDemoLibrary; yourself \ No newline at end of file From 9c8bf089916a9fac5eba67c755a5566c322cde50 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 17:30:57 +0200 Subject: [PATCH 017/103] Also loads Zinc-Seaside --- .../BaselineOfMaterialDesignLite.class/instance/seaside3..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st b/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st index c2ee2935..ad2c9a36 100644 --- a/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st +++ b/src/BaselineOfMaterialDesignLite.package/BaselineOfMaterialDesignLite.class/instance/seaside3..st @@ -3,5 +3,5 @@ seaside3: spec spec baseline: 'Seaside3' with: [ spec - loads: #('Core' 'JQuery'); + loads: #('Core' 'JQuery' 'Zinc'); repository: 'github://SeasideSt/Seaside/repository' ] \ No newline at end of file From b59094d1f0ca9302653f9c6f05a420aae7df357e Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 17 May 2018 18:42:48 +0200 Subject: [PATCH 018/103] Clean cards brushes and add tests See https://github.com/DuneSt/MaterialDesignLite/issues/162 --- .../MDLCardActionsTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../MDLCardActionsTest.class/instance/testBorder.st | 3 +++ .../MDLCardActionsTest.class/instance/testExpand.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLCardActionsTest.class/properties.json | 11 +++++++++++ .../MDLCardMediaTest.class/README.md | 0 .../MDLCardMediaTest.class/instance/testBareBrush.st | 3 +++ .../MDLCardMediaTest.class/instance/testBorder.st | 3 +++ .../MDLCardMediaTest.class/instance/testExpand.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLCardMediaTest.class/properties.json | 11 +++++++++++ .../MDLCardMenuTest.class/README.md | 0 .../MDLCardMenuTest.class/instance/testBareBrush.st | 3 +++ .../MDLCardMenuTest.class/instance/testWithContent.st | 3 +++ .../MDLCardMenuTest.class/properties.json | 11 +++++++++++ .../MDLCardSubtitleTextTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLCardSubtitleTextTest.class/properties.json | 11 +++++++++++ .../MDLCardTextContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testBorder.st | 3 +++ .../instance/testExpand.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLCardTextContainerTest.class/properties.json | 11 +++++++++++ .../MDLCardTitleContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testBorder.st | 3 +++ .../instance/testExpand.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLCardTitleContainerTest.class/properties.json | 11 +++++++++++ .../MDLCardMenu.class/properties.json | 2 +- .../MDLCardSubtitleText.class/properties.json | 2 +- .../MDLCardTitleText.class/instance/initialize.st | 1 - .../MDLCardTitleText.class/instance/level..st | 3 --- .../MDLCardTitleText.class/instance/level.st | 3 --- .../MDLCardTitleText.class/instance/level1.st | 3 --- .../MDLCardTitleText.class/instance/level2.st | 3 --- .../MDLCardTitleText.class/instance/level3.st | 3 --- .../MDLCardTitleText.class/instance/level4.st | 3 --- .../MDLCardTitleText.class/instance/level5.st | 3 --- .../MDLCardTitleText.class/instance/level6.st | 3 --- .../MDLCardTitleText.class/instance/tag.st | 3 --- .../MDLCardTitleText.class/properties.json | 6 ++---- .../WAHtmlCanvas.extension/instance/mdlCardTitle.st | 2 +- 46 files changed, 131 insertions(+), 35 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBorder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testExpand.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBorder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testExpand.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBorder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testExpand.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBorder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testExpand.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/properties.json delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st delete mode 100644 src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/tag.st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..ce2bae33 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardActions ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBorder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBorder.st new file mode 100644 index 00000000..6c0b5014 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testBorder.st @@ -0,0 +1,3 @@ +tests +testBorder + self assert: [ :html | html mdlCardActions border ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testExpand.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testExpand.st new file mode 100644 index 00000000..ecddd8ae --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testExpand.st @@ -0,0 +1,3 @@ +tests +testExpand + self assert: [ :html | html mdlCardActions expand ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testWithContent.st new file mode 100644 index 00000000..0399aeb0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardActions: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/properties.json new file mode 100644 index 00000000..4794ecc1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardActionsTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLCardInnerDivTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardActionsTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..f54fd7dd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardMedia ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBorder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBorder.st new file mode 100644 index 00000000..80c109cf --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testBorder.st @@ -0,0 +1,3 @@ +tests +testBorder + self assert: [ :html | html mdlCardMedia border ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testExpand.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testExpand.st new file mode 100644 index 00000000..ac5edfc7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testExpand.st @@ -0,0 +1,3 @@ +tests +testExpand + self assert: [ :html | html mdlCardMedia expand ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testWithContent.st new file mode 100644 index 00000000..6fba2c5e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardMedia: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/properties.json new file mode 100644 index 00000000..e9fa9d4a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMediaTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLCardInnerDivTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardMediaTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..52229ce9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardMenu ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testWithContent.st new file mode 100644 index 00000000..856e34f4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardMenu: 'content' ] generates: '
content
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/properties.json new file mode 100644 index 00000000..57631397 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardMenuTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardMenuTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..96899359 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardSubtitleText ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testWithContent.st new file mode 100644 index 00000000..b8f9ea99 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardSubtitleText: 'content' ] generates: '
content
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/properties.json new file mode 100644 index 00000000..8b5c8877 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardSubtitleTextTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardSubtitleTextTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..05f6c2da --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardTextContainer ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBorder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBorder.st new file mode 100644 index 00000000..799551a0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testBorder.st @@ -0,0 +1,3 @@ +tests +testBorder + self assert: [ :html | html mdlCardTextContainer border ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testExpand.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testExpand.st new file mode 100644 index 00000000..50aedcf1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testExpand.st @@ -0,0 +1,3 @@ +tests +testExpand + self assert: [ :html | html mdlCardTextContainer expand ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..3379a594 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardTextContainer: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/properties.json new file mode 100644 index 00000000..6645aa8c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTextContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLCardInnerDivTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardTextContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c1a0487a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCardTitle ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBorder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBorder.st new file mode 100644 index 00000000..d50bec50 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testBorder.st @@ -0,0 +1,3 @@ +tests +testBorder + self assert: [ :html | html mdlCardTitle border ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testExpand.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testExpand.st new file mode 100644 index 00000000..7b3a8028 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testExpand.st @@ -0,0 +1,3 @@ +tests +testExpand + self assert: [ :html | html mdlCardTitle expand ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..35f07db0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCardTitle: [ html mdlCardTitleText: 'test' ] ] generates: '

test

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/properties.json new file mode 100644 index 00000000..64f4af32 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCardTitleContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLCardInnerDivTest", + "category" : "Material-Design-Lite-Components-Tests-Card", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCardTitleContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardMenu.class/properties.json b/src/Material-Design-Lite-Components.package/MDLCardMenu.class/properties.json index b87462a8..527c0845 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardMenu.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLCardMenu.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:03", - "super" : "MDLCardInnerDiv", + "super" : "MDLDivTag", "category" : "Material-Design-Lite-Components-Cards", "classinstvars" : [ ], "pools" : [ ], diff --git a/src/Material-Design-Lite-Components.package/MDLCardSubtitleText.class/properties.json b/src/Material-Design-Lite-Components.package/MDLCardSubtitleText.class/properties.json index fe44f76d..bd81a1ec 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardSubtitleText.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLCardSubtitleText.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:06", - "super" : "MDLCardInnerDiv", + "super" : "MDLDivTag", "category" : "Material-Design-Lite-Components-Cards", "classinstvars" : [ ], "pools" : [ ], diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/initialize.st index cf916129..6f52188c 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/initialize.st +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/initialize.st @@ -1,5 +1,4 @@ initialization initialize super initialize. - self level1. self class: 'mdl-card__title-text' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st deleted file mode 100644 index bad016c9..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -level: anInteger - level := anInteger min: 6 max: 1 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level.st deleted file mode 100644 index e2efd821..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -level - ^ level \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st deleted file mode 100644 index c89083c7..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level1.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -level1 - self level: 1 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st deleted file mode 100644 index d828dbb9..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level2.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -level2 - self level: 2 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st deleted file mode 100644 index ab4ac923..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level3.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -level3 - self level: 3 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st deleted file mode 100644 index 7f5a6354..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level4.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -level4 - self level: 4 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st deleted file mode 100644 index 427bb700..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level5.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -level5 - self level: 5 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st deleted file mode 100644 index 416b3944..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/level6.st +++ /dev/null @@ -1,3 +0,0 @@ -convenience -level6 - self level: 6 \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/tag.st b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/tag.st deleted file mode 100644 index 25bb28df..00000000 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/instance/tag.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tag - ^ 'h' , self level asString \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json index f02ec1f4..19bfe8fd 100644 --- a/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLCardTitleText.class/properties.json @@ -1,13 +1,11 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:04", - "super" : "MDLDivTag", + "super" : "WAHeadingTag", "category" : "Material-Design-Lite-Components-Cards", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ - "level" - ], + "instvars" : [ ], "name" : "MDLCardTitleText", "type" : "normal" } \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlCardTitle.st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlCardTitle.st index 9867454d..3155e736 100644 --- a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlCardTitle.st +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlCardTitle.st @@ -1,3 +1,3 @@ *Material-Design-Lite-Components mdlCardTitle - ^ self brush: MDLCardTitleContainer new \ No newline at end of file + ^ self brush: MDLCardTitleContainer new \ No newline at end of file From 157539f538263dc829e87616dd2614219e710104 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Fri, 18 May 2018 01:08:07 +0200 Subject: [PATCH 019/103] Clean Chip and add tests - Refactor chips to generated less JS - Do not nest an icon in an icon for ajax delete callbacks - Add more conveniance methods for tests in MDLAbstractBrushTest - Provide a mock context for brush tests - Add tests to MDLChipTag - Remove duplication --- .../instance/assert.generatedIncludes..st | 3 +++ .../instance/assert.generatedIncludesAll..st | 6 ++++++ .../instance/assert.generates..st | 2 +- .../instance/executeWithMockContext..st | 3 +++ .../MDLChipTagTest.class/README.md | 1 + .../instance/testAjaxDeleteCallback.st | 5 +++++ .../instance/testAjaxDeleteCallbackSuccessHook.st | 5 +++++ .../MDLChipTagTest.class/instance/testBareBrush.st | 3 +++ .../instance/testDeleteCallback.st | 5 +++++ .../MDLChipTagTest.class/instance/testWithContact.st | 10 ++++++++++ .../MDLChipTagTest.class/instance/testWithContent.st | 3 +++ .../MDLChipTagTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../MDLChipImage.class/instance/initialize.st | 4 ---- .../MDLChipImage.class/instance/with..st | 4 ++++ .../MDLChipInitial.class/instance/initialize.st | 2 +- .../MDLChipInitial.class/instance/with..st | 4 ++++ .../instance/addDeleteWithAppendBlock..st | 3 +-- .../instance/addDeleteWithAppendBlock.callback..st | 4 ++-- .../instance/ajaxDeleteCallback.successHook..st | 2 +- .../MDLChipTag.class/instance/with..st | 4 ---- .../MDLChipTag.class/properties.json | 4 +++- .../MDLIcon.class/instance/chipIcon.st | 2 +- .../WATagBrush.extension/instance/beChipDecoration.st | 4 ++++ 24 files changed, 78 insertions(+), 17 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludesAll..st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/executeWithMockContext..st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallback.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallbackSuccessHook.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testDeleteCallback.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContact.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/properties.json delete mode 100644 src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/initialize.st create mode 100644 src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/with..st create mode 100644 src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/with..st delete mode 100644 src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/with..st create mode 100644 src/Material-Design-Lite-Components.package/WATagBrush.extension/instance/beChipDecoration.st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st new file mode 100644 index 00000000..1d32fa75 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st @@ -0,0 +1,3 @@ +asserting +assert: aBlock generatedIncludes: aString + self executeWithMockContext: [ self assert: ((WAHtmlCanvas builder render: aBlock) includesSubstring: aString) ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludesAll..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludesAll..st new file mode 100644 index 00000000..b0eda0a0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludesAll..st @@ -0,0 +1,6 @@ +asserting +assert: aBlock generatedIncludesAll: aCollection + self + executeWithMockContext: [ | generated | + generated := WAHtmlCanvas builder render: aBlock. + aCollection do: [ :aString | self assert: (generated includesSubstring: aString) ] ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st index 104ae9e0..0aa634cd 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generates..st @@ -1,3 +1,3 @@ asserting assert: aBlock generates: aString - self assert: (WAHtmlCanvas builder render: aBlock) equals: aString \ No newline at end of file + self executeWithMockContext: [ self assert: (WAHtmlCanvas builder render: aBlock) equals: aString ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/executeWithMockContext..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/executeWithMockContext..st new file mode 100644 index 00000000..bae953fd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/executeWithMockContext..st @@ -0,0 +1,3 @@ +asserting +executeWithMockContext: aBlock + WACurrentRequestContext use: (WARequestContext request: WARequest new response: WABufferedResponse new) during: [ aBlock value ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/README.md new file mode 100644 index 00000000..b907f9db --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/README.md @@ -0,0 +1 @@ +A MDLChipTagTest is a test class for testing the behavior of MDLChipTag \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallback.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallback.st new file mode 100644 index 00000000..71e2cb08 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallback.st @@ -0,0 +1,5 @@ +tests +testAjaxDeleteCallback + self + assert: [ :html | html mdlChip ajaxDeleteCallback: [ 'test' crLog ] ] + generatedIncludesAll: #('' 'cancel') \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallbackSuccessHook.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallbackSuccessHook.st new file mode 100644 index 00000000..2e4af5dc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testAjaxDeleteCallbackSuccessHook.st @@ -0,0 +1,5 @@ +tests +testAjaxDeleteCallbackSuccessHook + self + assert: [ :html | html mdlChip ajaxDeleteCallback: [ 'test' crLog ] successHook: 'console.log(this)' ] + generatedIncludesAll: #('' 'cancel' 'console.log(this)') \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c8063970 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlChip ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testDeleteCallback.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testDeleteCallback.st new file mode 100644 index 00000000..f5810545 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testDeleteCallback.st @@ -0,0 +1,5 @@ +tests +testDeleteCallback + self + assert: [ :html | html mdlChip deleteCallback: [ 'test' crLog ] ] + generatedIncludesAll: #('' 'cancel') \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContact.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContact.st new file mode 100644 index 00000000..cb68ef9f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContact.st @@ -0,0 +1,10 @@ +tests +testWithContact + self + assert: [ :html | + html + mdlChip: [ html mdlIcon + chipIcon; + with: #accessibility ] ] + generates: + 'accessibility' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContent.st new file mode 100644 index 00000000..5a2e499e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlChip: [ html mdlChipText: 'test' ] ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/properties.json new file mode 100644 index 00000000..489ffcba --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTagTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Chips", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLChipTagTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index ab2c373e..3f6e62af 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -3,3 +3,4 @@ SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Abstract' SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Tests'! ystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Card'! +SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Chips'! diff --git a/src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/initialize.st deleted file mode 100644 index 7967928d..00000000 --- a/src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initialize - super initialize. - self class: #'mdl-chip__contact' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/with..st b/src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/with..st new file mode 100644 index 00000000..4c784549 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLChipImage.class/instance/with..st @@ -0,0 +1,4 @@ +public +with: anObject + self beChipDecoration. "Cannot do it at the initialization because it need the canvas." + super with: anObject \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/initialize.st index 912d33b1..38d0c314 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/initialize.st +++ b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/initialize.st @@ -1,4 +1,4 @@ initialization initialize super initialize. - self class: #'mdl-chip__contact mdl-color-text--white' \ No newline at end of file + self class: #'mdl-color-text--white' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/with..st b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/with..st new file mode 100644 index 00000000..4c784549 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/with..st @@ -0,0 +1,4 @@ +public +with: anObject + self beChipDecoration. "Cannot do it at the initialization because it need the canvas." + super with: anObject \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock..st b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock..st index 9cacd24c..8a8a542e 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock..st +++ b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock..st @@ -1,5 +1,4 @@ private addDeleteWithAppendBlock: aBlock self class: #'mdl-chip__deletable'. - self ensureId. - self script: (canvas jQuery this append: aBlock) \ No newline at end of file + self script: (self canvas jQuery this append: aBlock) \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock.callback..st b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock.callback..st index 653c35f4..91f287d2 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock.callback..st +++ b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/addDeleteWithAppendBlock.callback..st @@ -1,5 +1,5 @@ private addDeleteWithAppendBlock: aBlock callback: aNiladicValuable - aNiladicValuable argumentCount > 0 - ifTrue: [ GRInvalidArgumentCount signal: 'Chip expect a niladic callback.' ]. + aNiladicValuable argumentCount > 0 ifTrue: [ GRInvalidArgumentCount signal: 'Chip expect a niladic callback.' ]. + self addDeleteWithAppendBlock: aBlock \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/ajaxDeleteCallback.successHook..st b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/ajaxDeleteCallback.successHook..st index 559c6409..4b199cd0 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/ajaxDeleteCallback.successHook..st +++ b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/ajaxDeleteCallback.successHook..st @@ -2,7 +2,7 @@ public api ajaxDeleteCallback: aNiladicValuable successHook: aString self addDeleteWithAppendBlock: [ :html | - html mdlIcon + html span onClick: (canvas jQuery ajax callback: aNiladicValuable; diff --git a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/with..st b/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/with..st deleted file mode 100644 index 89b3bc83..00000000 --- a/src/Material-Design-Lite-Components.package/MDLChipTag.class/instance/with..st +++ /dev/null @@ -1,4 +0,0 @@ -public -with: aBlock - self script: ((canvas jQuery this children: '.mdl-chip__contact') parent addClass: #'mdl-chip--contact'). - super with: aBlock \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLChipTag.class/properties.json b/src/Material-Design-Lite-Components.package/MDLChipTag.class/properties.json index 591a16b7..7ab50dbb 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipTag.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLChipTag.class/properties.json @@ -5,7 +5,9 @@ "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ ], + "instvars" : [ + "hasContactTag" + ], "name" : "MDLChipTag", "type" : "normal" } \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st index 98e16029..382c6e4f 100644 --- a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st +++ b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st @@ -1,3 +1,3 @@ list api chipIcon - self class: #'mdl-chip__contact' \ No newline at end of file + self beChipDecoration \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WATagBrush.extension/instance/beChipDecoration.st b/src/Material-Design-Lite-Components.package/WATagBrush.extension/instance/beChipDecoration.st new file mode 100644 index 00000000..13b5226d --- /dev/null +++ b/src/Material-Design-Lite-Components.package/WATagBrush.extension/instance/beChipDecoration.st @@ -0,0 +1,4 @@ +*Material-Design-Lite-Components +beChipDecoration + self class: #'mdl-chip__contact'. + self script: ((self canvas jQuery this parent: '.mdl-chip') addClass: #'mdl-chip--contact') \ No newline at end of file From 503623016e6c5d627e5235740911b344d36dd372 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Fri, 18 May 2018 02:13:46 +0200 Subject: [PATCH 020/103] Coverage should ignore demo and test packages --- .smalltalk.ston | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index 7fb7807e..0ee56b0f 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -8,7 +8,7 @@ SmalltalkCISpec { ], #testing : { #coverage : { - #packages : [ 'Material-Design-Lite.*' ] + #packages : [ 'Material-Design-Lite-Components', 'Material-Design-Lite-Core', 'Material-Design-Lite-Extensions', 'Material-Design-Lite-Widgets' ] } } } \ No newline at end of file From 85f4cbb3f0f0a7473a2c398b0019649869b041c7 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Fri, 18 May 2018 15:42:48 +0200 Subject: [PATCH 021/103] Lint --- .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLIconBadgeTest.class/instance/testBareBrush.st | 2 +- .../MDLIconBadgeTest.class/instance/testWithContent.st | 3 +++ .../monticello.meta/categories.st | 10 +++++----- 5 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testWithContent.st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..975f8b9d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self subclassResponsibility \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testWithContent.st new file mode 100644 index 00000000..074ea413 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self subclassResponsibility \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st index 249827ea..0ce25f34 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testBareBrush.st @@ -1,3 +1,3 @@ tests testBareBrush - self assert: [ :html | html mdlIconBadge: 'account_box' ] generates: '
account_box
' \ No newline at end of file + self assert: [ :html | html mdlIconBadge ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testWithContent.st new file mode 100644 index 00000000..f90c7ca9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconBadgeTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlIconBadge: 'account_box' ] generates: '
account_box
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 3f6e62af..5795038c 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -1,6 +1,6 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Abstract'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Manifest'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Tests'! -ystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Card'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Tests-Chips'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Abstract'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Badge'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Buttons'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! From e12cee7eabeabfa541cb27a39918007c0e73e492 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 01:30:22 +0200 Subject: [PATCH 022/103] Categorize --- .../properties.json | 2 +- .../monticello.meta/categories.st | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json index bf1992ce..9c79be3c 100644 --- a/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json +++ b/src/Material-Design-Lite-Components-Tests.package/ManifestMaterialDesignLiteComponentsTests.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "PackageManifest", - "category" : "Material-Design-Lite-Components-Tests", + "category" : "Material-Design-Lite-Components-Tests-Manifest", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 5795038c..5caeab84 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -4,3 +4,4 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Badge'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Buttons'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! From b63b32264b7111a69a43ad758f5c72f2979155da Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 01:36:50 +0200 Subject: [PATCH 023/103] Test on #for: method in buttons --- .../instance/testFor.st | 8 ++++++ .../MDLButtonTest.class/instance/testFor.st | 8 ++++++ .../instance/for..st | 0 .../TMDLButton.trait/properties.json | 6 ++-- .../monticello.meta/categories.st | 28 +++++++++---------- 5 files changed, 34 insertions(+), 16 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFor.st rename src/Material-Design-Lite-Components.package/{MDLButton.class => TMDLButton.trait}/instance/for..st (100%) diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFor.st new file mode 100644 index 00000000..7cf25fe7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAnchorButtonTest.class/instance/testFor.st @@ -0,0 +1,8 @@ +tests +testFor + self + assert: [ :html | + html mdlAnchorButton + for: html nextId; + with: 'Validate' ] + generates: 'Validate' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFor.st new file mode 100644 index 00000000..8a46c9b5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLButtonTest.class/instance/testFor.st @@ -0,0 +1,8 @@ +tests +testFor + self + assert: [ :html | + html mdlButton + for: html nextId; + with: 'Validate' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLButton.class/instance/for..st b/src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/for..st similarity index 100% rename from src/Material-Design-Lite-Components.package/MDLButton.class/instance/for..st rename to src/Material-Design-Lite-Components.package/TMDLButton.trait/instance/for..st diff --git a/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json b/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json index 6057cc0d..bef31c55 100644 --- a/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json +++ b/src/Material-Design-Lite-Components.package/TMDLButton.trait/properties.json @@ -1,5 +1,7 @@ { - "name" : "TMDLButton", "commentStamp" : "CyrilFerlicot 5/17/2018 13:35", - "category" : "Material-Design-Lite-Components-Buttons" + "classinstvars" : [ ], + "category" : "Material-Design-Lite-Components-Buttons", + "instvars" : [ ], + "name" : "TMDLButton" } \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components.package/monticello.meta/categories.st index e81ca92c..9de4fc25 100644 --- a/src/Material-Design-Lite-Components.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components.package/monticello.meta/categories.st @@ -1,15 +1,15 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Badge'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Buttons'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Cards'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Chips'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Dialog'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Footer'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Forms'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Layout'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-List'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Loading'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Nav'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Snackbar'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Tables'! -SystemOrganization addCategory: 'Material-Design-Lite-Components-Tooltips'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Badge'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Buttons'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Cards'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Chips'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Dialog'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Footer'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Forms'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Layout'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-List'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Loading'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Nav'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Snackbar'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tables'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tooltips'! From aabc92b5d644e683d718dbf929fa52689b6c3fc5 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 02:17:29 +0200 Subject: [PATCH 024/103] Add demo, documentation and tests on MDLCells. (Not finish) See https://github.com/DuneSt/MaterialDesignLite/issues/163 --- .../MDLCellTest.class/README.md | 0 .../MDLCellTest.class/instance/testBareBrush.st | 3 +++ .../MDLCellTest.class/instance/testDesktopSize.st | 3 +++ .../instance/testDesktopTabletPhone.st | 3 +++ .../instance/testDesktopTabletPhoneWith.st | 3 +++ .../MDLCellTest.class/instance/testHideDesktop.st | 3 +++ .../MDLCellTest.class/instance/testHidePhone.st | 3 +++ .../MDLCellTest.class/instance/testHideTablet.st | 3 +++ .../MDLCellTest.class/instance/testPhoneSize.st | 3 +++ .../MDLCellTest.class/instance/testSize.st | 3 +++ .../MDLCellTest.class/instance/testTabletSize.st | 3 +++ .../MDLCellTest.class/instance/testWithContent.st | 3 +++ .../MDLCellTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../MDLCell.class/instance/desktopSize..st | 2 ++ .../MDLCell.class/instance/hideDesktop.st | 2 ++ .../MDLCell.class/instance/hidePhone.st | 2 ++ .../MDLCell.class/instance/hideTablet.st | 2 ++ .../MDLCell.class/instance/phoneSize..st | 2 ++ .../MDLCell.class/instance/size..st | 2 ++ .../MDLCell.class/instance/tabletSize..st | 2 ++ .../instance/hideDesktopCells.st | 5 +++++ .../MDLLayoutScreen.class/instance/hidePhoneCells.st | 5 +++++ .../instance/hideTabletCells.st | 5 +++++ .../instance/renderHideDesktopDemoOn..st | 12 ++++++++++++ .../instance/renderHidePhoneDemoOn..st | 12 ++++++++++++ .../instance/renderHideTabletDemoOn..st | 12 ++++++++++++ .../instance/renderScreenContentOn..st | 6 +++++- .../properties.json | 2 +- .../monticello.meta/categories.st | 2 ++ 30 files changed, 118 insertions(+), 2 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopSize.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhone.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhoneWith.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneSize.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testSize.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletSize.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/properties.json create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideDesktopCells.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hidePhoneCells.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideTabletCells.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideDesktopDemoOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHidePhoneDemoOn..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideTabletDemoOn..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..cb5b282d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCell ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopSize.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopSize.st new file mode 100644 index 00000000..1f6aa7e5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopSize.st @@ -0,0 +1,3 @@ +tests +testDesktopSize + self assert: [ :html | html mdlCell: 'Test' desktopSize: 2 ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhone.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhone.st new file mode 100644 index 00000000..ff2e09b4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhone.st @@ -0,0 +1,3 @@ +tests +testDesktopTabletPhone + self assert: [ :html | html mdlCellDesktop: 4 tablet: 3 phone: 2 with: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhoneWith.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhoneWith.st new file mode 100644 index 00000000..fe0c50d5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopTabletPhoneWith.st @@ -0,0 +1,3 @@ +tests +testDesktopTabletPhoneWith + self assert: [ :html | html mdlCellDesktop: 4 tablet: 3 phone: 2 with: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st new file mode 100644 index 00000000..3b18df2c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st @@ -0,0 +1,3 @@ +tests +testHideDesktop + self assert: [ :html | html mdlCell hideDesktop with: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st new file mode 100644 index 00000000..4e5837b9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st @@ -0,0 +1,3 @@ +tests +testHidePhone + self assert: [ :html | html mdlCell hidePhone with: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st new file mode 100644 index 00000000..767ddd00 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st @@ -0,0 +1,3 @@ +tests +testHideTablet + self assert: [ :html | html mdlCell hideTablet with: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneSize.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneSize.st new file mode 100644 index 00000000..de246e8e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneSize.st @@ -0,0 +1,3 @@ +tests +testPhoneSize + self assert: [ :html | html mdlCell: 'Test' phoneSize: 2 ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testSize.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testSize.st new file mode 100644 index 00000000..47c0cee4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testSize.st @@ -0,0 +1,3 @@ +tests +testSize + self assert: [ :html | html mdlCell: 'Test' size: 2 ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletSize.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletSize.st new file mode 100644 index 00000000..4da71f79 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletSize.st @@ -0,0 +1,3 @@ +tests +testTabletSize + self assert: [ :html | html mdlCell: 'Test' tabletSize: 2 ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testWithContent.st new file mode 100644 index 00000000..cdc0d70c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCell: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/properties.json new file mode 100644 index 00000000..cbad694d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCellTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 5caeab84..9c7eee16 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -4,4 +4,5 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Badge'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Buttons'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st index 24f7dfa9..93a5fa23 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st @@ -1,3 +1,5 @@ sizes desktopSize: aNumber + "Sets the column size for the cell to N in desktop mode only" + self class: 'mdl-cell--', aNumber asString, '-col-desktop' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st index 6037508c..2e1392be 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st @@ -1,3 +1,5 @@ hiding hideDesktop + "When this option is enabled, the cell will not appear on desktop mode." + self class: 'mdl-cell--hide-desktop' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st index 766979db..41fa5568 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st @@ -1,3 +1,5 @@ hiding hidePhone + "When this option is enabled, the cell will not appear on phone mode." + self class: 'mdl-cell--hide-phone' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st index 9d5c6337..966c8889 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st @@ -1,3 +1,5 @@ hiding hideTablet + "When this option is enabled, the cell will not appear on tablet mode." + self class: 'mdl-cell--hide-tablet' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st index c6e78987..d992fc75 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st @@ -1,3 +1,5 @@ sizes phoneSize: aNumber + "Sets the column size for the cell to N in phone mode only" + self class: 'mdl-cell--', aNumber asString, '-col-phone' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st index 5d2c70b1..aed917d7 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st @@ -1,3 +1,5 @@ sizes size: aNumber + "Sets the column size for the cell to N for desktop, table and phone" + self class: 'mdl-cell--', aNumber asString, '-col' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st index 7a034471..02b27a7f 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st @@ -1,3 +1,5 @@ sizes tabletSize: aNumber + "tablet Sets the column size for the cell to N in tablet mode only" + self class: 'mdl-cell--', aNumber asString, '-col-tablet' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideDesktopCells.st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideDesktopCells.st new file mode 100644 index 00000000..37bb5f38 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideDesktopCells.st @@ -0,0 +1,5 @@ +sections +hideDesktopCells + ^ OrderedDictionary new + add: 'Hide Desktop' -> #renderHideDesktopDemoOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hidePhoneCells.st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hidePhoneCells.st new file mode 100644 index 00000000..315cd6d3 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hidePhoneCells.st @@ -0,0 +1,5 @@ +sections +hidePhoneCells + ^ OrderedDictionary new + add: 'Hide Phone' -> #renderHidePhoneDemoOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideTabletCells.st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideTabletCells.st new file mode 100644 index 00000000..61c9235e --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/hideTabletCells.st @@ -0,0 +1,5 @@ +sections +hideTabletCells + ^ OrderedDictionary new + add: 'Hide Tablet' -> #renderHideTabletDemoOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideDesktopDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideDesktopDemoOn..st new file mode 100644 index 00000000..a7869fc7 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideDesktopDemoOn..st @@ -0,0 +1,12 @@ +demos +renderHideDesktopDemoOn: html + html + mdlGrid: [ html mdlCell + class: 'grid-cell-demo'; + size: 6; + hideDesktop; + with: 'Hide on desktop size'. + html mdlCell + class: 'grid-cell-demo'; + size: 6; + with: 'Always show' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHidePhoneDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHidePhoneDemoOn..st new file mode 100644 index 00000000..15d8d160 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHidePhoneDemoOn..st @@ -0,0 +1,12 @@ +demos +renderHidePhoneDemoOn: html + html + mdlGrid: [ html mdlCell + class: 'grid-cell-demo'; + size: 6; + hidePhone; + with: 'Hide on phone size'. + html mdlCell + class: 'grid-cell-demo'; + size: 6; + with: 'Always show' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideTabletDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideTabletDemoOn..st new file mode 100644 index 00000000..a008e367 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderHideTabletDemoOn..st @@ -0,0 +1,12 @@ +demos +renderHideTabletDemoOn: html + html + mdlGrid: [ html mdlCell + class: 'grid-cell-demo'; + size: 6; + hideTablet; + with: 'Hide on tablet size'. + html mdlCell + class: 'grid-cell-demo'; + size: 6; + with: 'Always show' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st index 8ecf5b3b..4d5be805 100644 --- a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st @@ -18,7 +18,11 @@ renderScreenContentOn: html class: 'section-title'; id: 'grid-layout'; with: 'GRID'. - self render: self gridLayout fullWidth: true on: html. + self + render: self gridLayout fullWidth: true on: html; + render: self hideDesktopCells fullWidth: true on: html; + render: self hideTabletCells fullWidth: true on: html; + render: self hidePhoneCells fullWidth: true on: html. html heading level5 class: 'section-title'; id: 'tabs-layout'; diff --git a/src/Material-Design-Lite-Demo.package/ManifestMaterialDesignLiteDemo.class/properties.json b/src/Material-Design-Lite-Demo.package/ManifestMaterialDesignLiteDemo.class/properties.json index 57e58058..1255a5d2 100644 --- a/src/Material-Design-Lite-Demo.package/ManifestMaterialDesignLiteDemo.class/properties.json +++ b/src/Material-Design-Lite-Demo.package/ManifestMaterialDesignLiteDemo.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "PackageManifest", - "category" : "Material-Design-Lite-Demo", + "category" : "Material-Design-Lite-Demo-Manifest", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st index 84a41321..481c7044 100644 --- a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st @@ -4,3 +4,5 @@ SystemOrganization addCategory: 'Material-Design-Lite-Demo-Core'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Extensions'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Utils'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Widgets'! +ils'! +SystemOrganization addCategory: #'Material-Design-Lite-Demo-Widgets'! From 250a4b2d7d3a1eda522f5bb80bf15bf4d93c1a70 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 19:24:04 +0200 Subject: [PATCH 025/103] Add demo, comment and tests for MDLCell positions. See https://github.com/DuneSt/MaterialDesignLite/issues/164 --- .../MDLCellTest.class/instance/testBottom.st | 8 ++++++ .../instance/testHideDesktop.st | 7 +++++- .../instance/testHidePhone.st | 7 +++++- .../instance/testHideTablet.st | 7 +++++- .../MDLCellTest.class/instance/testMiddle.st | 8 ++++++ .../MDLCellTest.class/instance/testStretch.st | 8 ++++++ .../MDLCellTest.class/instance/testTop.st | 8 ++++++ .../MDLCell.class/instance/bottom.st | 4 ++- .../MDLCell.class/instance/desktopSize..st | 2 +- .../MDLCell.class/instance/hideDesktop.st | 2 +- .../MDLCell.class/instance/hidePhone.st | 2 +- .../MDLCell.class/instance/hideTablet.st | 2 +- .../MDLCell.class/instance/middle.st | 4 ++- .../MDLCell.class/instance/phoneSize..st | 2 +- .../MDLCell.class/instance/size..st | 2 +- .../MDLCell.class/instance/stretch.st | 4 ++- .../MDLCell.class/instance/tabletSize..st | 2 +- .../MDLCell.class/instance/top.st | 4 ++- .../instance/cellPositions.st | 5 ++++ .../instance/renderCellPositionsDemoOn..st | 25 +++++++++++++++++++ .../instance/renderScreenContentOn..st | 1 + .../monticello.meta/categories.st | 2 +- 22 files changed, 101 insertions(+), 15 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBottom.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testMiddle.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testStretch.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTop.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellPositions.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellPositionsDemoOn..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBottom.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBottom.st new file mode 100644 index 00000000..6b956ed1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testBottom.st @@ -0,0 +1,8 @@ +tests +testBottom + self + assert: [ :html | + html mdlCell + bottom; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st index 3b18df2c..d3e1e752 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideDesktop.st @@ -1,3 +1,8 @@ tests testHideDesktop - self assert: [ :html | html mdlCell hideDesktop with: 'Test' ] generates: '
Test
' \ No newline at end of file + self + assert: [ :html | + html mdlCell + hideDesktop; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st index 4e5837b9..2f74372d 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHidePhone.st @@ -1,3 +1,8 @@ tests testHidePhone - self assert: [ :html | html mdlCell hidePhone with: 'Test' ] generates: '
Test
' \ No newline at end of file + self + assert: [ :html | + html mdlCell + hidePhone; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st index 767ddd00..59a61935 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testHideTablet.st @@ -1,3 +1,8 @@ tests testHideTablet - self assert: [ :html | html mdlCell hideTablet with: 'Test' ] generates: '
Test
' \ No newline at end of file + self + assert: [ :html | + html mdlCell + hideTablet; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testMiddle.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testMiddle.st new file mode 100644 index 00000000..8fdc21e3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testMiddle.st @@ -0,0 +1,8 @@ +tests +testMiddle + self + assert: [ :html | + html mdlCell + middle; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testStretch.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testStretch.st new file mode 100644 index 00000000..195cb1af --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testStretch.st @@ -0,0 +1,8 @@ +tests +testStretch + self + assert: [ :html | + html mdlCell + stretch; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTop.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTop.st new file mode 100644 index 00000000..685d9d5e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTop.st @@ -0,0 +1,8 @@ +tests +testTop + self + assert: [ :html | + html mdlCell + top; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/bottom.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/bottom.st index 1cc0effe..5c9b5cd3 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/bottom.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/bottom.st @@ -1,3 +1,5 @@ -positionning +options - positionning bottom + "Aligns the cell to the bottom of the parent." + self class: 'mdl-cell--bottom' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st index 93a5fa23..2994c935 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopSize..st @@ -1,4 +1,4 @@ -sizes +options - sizes desktopSize: aNumber "Sets the column size for the cell to N in desktop mode only" diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st index 2e1392be..579aba9e 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideDesktop.st @@ -1,4 +1,4 @@ -hiding +options - hiding hideDesktop "When this option is enabled, the cell will not appear on desktop mode." diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st index 41fa5568..ce46398d 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hidePhone.st @@ -1,4 +1,4 @@ -hiding +options - hiding hidePhone "When this option is enabled, the cell will not appear on phone mode." diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st index 966c8889..ab08cf53 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/hideTablet.st @@ -1,4 +1,4 @@ -hiding +options - hiding hideTablet "When this option is enabled, the cell will not appear on tablet mode." diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/middle.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/middle.st index 50d9a50b..0b89124d 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/middle.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/middle.st @@ -1,3 +1,5 @@ -positionning +options - positionning middle + "Aligns the cell to the middle of the parent." + self class: 'mdl-cell--middle' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st index d992fc75..4d876941 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneSize..st @@ -1,4 +1,4 @@ -sizes +options - sizes phoneSize: aNumber "Sets the column size for the cell to N in phone mode only" diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st index aed917d7..90ff46e2 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/size..st @@ -1,4 +1,4 @@ -sizes +options - sizes size: aNumber "Sets the column size for the cell to N for desktop, table and phone" diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/stretch.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/stretch.st index 53948960..044220e5 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/stretch.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/stretch.st @@ -1,3 +1,5 @@ -positionning +options - positionning stretch + "Stretches the cell vertically to fill the parent. This is the default value." + self class: 'mdl-cell--stretch' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st index 02b27a7f..0f1fb6f7 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletSize..st @@ -1,4 +1,4 @@ -sizes +options - sizes tabletSize: aNumber "tablet Sets the column size for the cell to N in tablet mode only" diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/top.st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/top.st index 95db66da..62991bb9 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/top.st +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/top.st @@ -1,3 +1,5 @@ -positionning +options - positionning top + "Aligns the cell to the top of the parent." + self class: 'mdl-cell--top' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellPositions.st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellPositions.st new file mode 100644 index 00000000..72ef104f --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellPositions.st @@ -0,0 +1,5 @@ +sections +cellPositions + ^ OrderedDictionary new + add: 'Cell positions' -> #renderCellPositionsDemoOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellPositionsDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellPositionsDemoOn..st new file mode 100644 index 00000000..2a42fa11 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellPositionsDemoOn..st @@ -0,0 +1,25 @@ +demos +renderCellPositionsDemoOn: html + html mdlGrid + shadow: 2; + style: 'height: 500px;'; + with: [ html mdlCell + class: 'grid-cell-demo'; + top; + size: 3; + with: 'Top'. + html mdlCell + class: 'grid-cell-demo'; + middle; + size: 3; + with: 'Middle'. + html mdlCell + class: 'grid-cell-demo'; + bottom; + size: 3; + with: 'Bottom'. + html mdlCell + class: 'grid-cell-demo'; + stretch; + size: 3; + with: 'Stretch' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st index 4d5be805..01942b69 100644 --- a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st @@ -20,6 +20,7 @@ renderScreenContentOn: html with: 'GRID'. self render: self gridLayout fullWidth: true on: html; + render: self cellPositions fullWidth: true on: html; render: self hideDesktopCells fullWidth: true on: html; render: self hideTabletCells fullWidth: true on: html; render: self hidePhoneCells fullWidth: true on: html. diff --git a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st index 481c7044..fb102186 100644 --- a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st @@ -4,5 +4,5 @@ SystemOrganization addCategory: 'Material-Design-Lite-Demo-Core'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Extensions'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Utils'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Widgets'! -ils'! SystemOrganization addCategory: #'Material-Design-Lite-Demo-Widgets'! +ets'! From 0ae17ef7781c0891958ba6b26223ab55110a09cc Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 19:40:17 +0200 Subject: [PATCH 026/103] Add MDLCell offsets with comments, demo and tests. See https://github.com/DuneSt/MaterialDesignLite/issues/165 --- .../instance/testDesktopOffset.st | 8 ++++++++ .../MDLCellTest.class/instance/testOffset.st | 8 ++++++++ .../instance/testPhoneOffset.st | 8 ++++++++ .../instance/testTabletOffset.st | 8 ++++++++ .../MDLCell.class/instance/desktopOffset..st | 5 +++++ .../MDLCell.class/instance/offset..st | 5 +++++ .../MDLCell.class/instance/phoneOffset..st | 5 +++++ .../MDLCell.class/instance/tabletOffset..st | 5 +++++ .../instance/cellOffset.st | 5 +++++ .../instance/renderCellOffsetDemoOn..st | 18 ++++++++++++++++++ .../instance/renderScreenContentOn..st | 1 + .../monticello.meta/categories.st | 2 +- 12 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOffset.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOffset.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOffset.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOffset.st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOffset..st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/offset..st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOffset..st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOffset..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOffset.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOffsetDemoOn..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOffset.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOffset.st new file mode 100644 index 00000000..a6e169f8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOffset.st @@ -0,0 +1,8 @@ +tests +testDesktopOffset + self + assert: [ :html | + html mdlCell + desktopOffset: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOffset.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOffset.st new file mode 100644 index 00000000..7adbb021 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOffset.st @@ -0,0 +1,8 @@ +tests +testOffset + self + assert: [ :html | + html mdlCell + offset: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOffset.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOffset.st new file mode 100644 index 00000000..b6539db0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOffset.st @@ -0,0 +1,8 @@ +tests +testPhoneOffset + self + assert: [ :html | + html mdlCell + phoneOffset: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOffset.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOffset.st new file mode 100644 index 00000000..9892ce34 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOffset.st @@ -0,0 +1,8 @@ +tests +testTabletOffset + self + assert: [ :html | + html mdlCell + tabletOffset: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOffset..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOffset..st new file mode 100644 index 00000000..f903bb68 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOffset..st @@ -0,0 +1,5 @@ +options - offsets +desktopOffset: anInteger + "Adds N columns of whitespace before the cell in desktop mode." + + self class: 'mdl-cell--' , anInteger asString , '-offset-desktop' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/offset..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/offset..st new file mode 100644 index 00000000..9810e958 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/offset..st @@ -0,0 +1,5 @@ +options - offsets +offset: anInteger + "Adds N columns of whitespace before the cell." + + self class: 'mdl-cell--' , anInteger asString , '-offset' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOffset..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOffset..st new file mode 100644 index 00000000..28aef2b4 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOffset..st @@ -0,0 +1,5 @@ +options - offsets +phoneOffset: anInteger + "Adds N columns of whitespace before the cell in phone mode." + + self class: 'mdl-cell--' , anInteger asString , '-offset-phone' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOffset..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOffset..st new file mode 100644 index 00000000..d3f846cc --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOffset..st @@ -0,0 +1,5 @@ +options - offsets +tabletOffset: anInteger + "Adds N columns of whitespace before the cell in tablet mode." + + self class: 'mdl-cell--' , anInteger asString , '-offset-tablet' \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOffset.st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOffset.st new file mode 100644 index 00000000..2c9ac072 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOffset.st @@ -0,0 +1,5 @@ +sections +cellOffset + ^ OrderedDictionary new + add: 'Cell offset' -> #renderCellOffsetDemoOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOffsetDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOffsetDemoOn..st new file mode 100644 index 00000000..9a5c3ae7 --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOffsetDemoOn..st @@ -0,0 +1,18 @@ +demos +renderCellOffsetDemoOn: html + html mdlGrid + shadow: 2; + with: [ html mdlCell + class: 'grid-cell-demo'; + desktopOffset: 4; + tabletOffset: 3; + phoneOffset: 2; + desktopSize: 6; + tabletSize: 5; + phoneSize: 2; + with: 'Offset'. + html mdlCell + class: 'grid-cell-demo'; + offset: 2; + size: 2; + with: 'Offset' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st index 01942b69..67ecd504 100644 --- a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st @@ -20,6 +20,7 @@ renderScreenContentOn: html with: 'GRID'. self render: self gridLayout fullWidth: true on: html; + render: self cellOffset fullWidth: true on: html; render: self cellPositions fullWidth: true on: html; render: self hideDesktopCells fullWidth: true on: html; render: self hideTabletCells fullWidth: true on: html; diff --git a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st index fb102186..ba790f94 100644 --- a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st @@ -3,6 +3,6 @@ SystemOrganization addCategory: 'Material-Design-Lite-Demo-Components'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Core'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Extensions'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Utils'! -SystemOrganization addCategory: 'Material-Design-Lite-Demo-Widgets'! SystemOrganization addCategory: #'Material-Design-Lite-Demo-Widgets'! +SystemOrganization addCategory: 'Material-Design-Lite-Demo-Widgets'! ets'! From a8e77dd68e8f82e36a12b334fbd7a0a81d04924b Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 20:47:12 +0200 Subject: [PATCH 027/103] Add feature to reorder MDLCells depending on the screen kind. (With comments, demo, tests) See https://github.com/DuneSt/MaterialDesignLite/issues/166 --- .../instance/testDesktopOrder.st | 8 ++++ .../MDLCellTest.class/instance/testOrder.st | 8 ++++ .../instance/testPhoneOrder.st | 8 ++++ .../instance/testTabletOrder.st | 8 ++++ .../MDLCell.class/README.md | 7 ++++ .../MDLCell.class/instance/desktopOrder..st | 5 +++ .../MDLCell.class/instance/order..st | 5 +++ .../MDLCell.class/instance/phoneOrder..st | 5 +++ .../MDLCell.class/instance/tabletOrder..st | 5 +++ .../MDLCell.class/properties.json | 2 +- .../instance/cellOrder.st | 5 +++ .../instance/renderCellOrderDemoOn..st | 38 +++++++++++++++++++ .../instance/renderScreenContentOn..st | 1 + 13 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOrder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOrder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOrder.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOrder.st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOrder..st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/order..st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOrder..st create mode 100644 src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOrder..st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOrder.st create mode 100644 src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOrderDemoOn..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOrder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOrder.st new file mode 100644 index 00000000..a59fcab1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testDesktopOrder.st @@ -0,0 +1,8 @@ +tests +testDesktopOrder + self + assert: [ :html | + html mdlCell + desktopOrder: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOrder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOrder.st new file mode 100644 index 00000000..062ee3a0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testOrder.st @@ -0,0 +1,8 @@ +tests +testOrder + self + assert: [ :html | + html mdlCell + order: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOrder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOrder.st new file mode 100644 index 00000000..ebb97495 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testPhoneOrder.st @@ -0,0 +1,8 @@ +tests +testPhoneOrder + self + assert: [ :html | + html mdlCell + phoneOrder: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOrder.st b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOrder.st new file mode 100644 index 00000000..5a5929d7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCellTest.class/instance/testTabletOrder.st @@ -0,0 +1,8 @@ +tests +testTabletOrder + self + assert: [ :html | + html mdlCell + tabletOrder: 2; + with: 'Test' ] + generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/README.md b/src/Material-Design-Lite-Components.package/MDLCell.class/README.md index 371635b2..0de99586 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/README.md +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/README.md @@ -3,6 +3,13 @@ Description I am a brush to create a MDL cell. A cell should always be used inside a Grid. +Cells defines some options: +- Possibility to define the size depending on the screen kind (desktop, tablet, phone) +- Possibility to add an offset depending on the screen kind +- Possibility to reorder the cells depending on the screen kind +- Possibility to vertically align the cell at the top, middle or bottom (or stretch it) +- Hide the cell on some screen kinds + Example -------------------- diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOrder..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOrder..st new file mode 100644 index 00000000..23774ea6 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/desktopOrder..st @@ -0,0 +1,5 @@ +options - order +desktopOrder: anInteger + "Reorders cell to position N when in desktop mode. Be careful! This option should not be used to manage the content of your page but only its style depending on the screen kind (desktop/tablet/phone)" + + self class: 'mdl-cell--order-' , anInteger asString , '-desktop' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/order..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/order..st new file mode 100644 index 00000000..97601a6f --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/order..st @@ -0,0 +1,5 @@ +options - order +order: anInteger + "Reorders cell to position N. Be careful! This option should not be used to manage the content of your page but only its style depending on the screen kind (desktop/tablet/phone)" + + self class: 'mdl-cell--order-' , anInteger asString \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOrder..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOrder..st new file mode 100644 index 00000000..2bd20ce2 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/phoneOrder..st @@ -0,0 +1,5 @@ +options - order +phoneOrder: anInteger + "Reorders cell to position N when in phone mode. Be careful! This option should not be used to manage the content of your page but only its style depending on the screen kind (desktop/tablet/phone)" + + self class: 'mdl-cell--order-' , anInteger asString , '-phone' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOrder..st b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOrder..st new file mode 100644 index 00000000..14c3d7a3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/instance/tabletOrder..st @@ -0,0 +1,5 @@ +options - order +tabletOrder: anInteger + "Reorders cell to position N when in tablet mode. Be careful! This option should not be used to manage the content of your page but only its style depending on the screen kind (desktop/tablet/phone)" + + self class: 'mdl-cell--order-' , anInteger asString , '-tablet' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLCell.class/properties.json b/src/Material-Design-Lite-Components.package/MDLCell.class/properties.json index 239d88dd..07af6a78 100644 --- a/src/Material-Design-Lite-Components.package/MDLCell.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLCell.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "CyrilFerlicot 3/30/2018 17:08", + "commentStamp" : "CyrilFerlicot 5/20/2018 20:46", "super" : "MDLDivTag", "category" : "Material-Design-Lite-Components-Layout", "classinstvars" : [ ], diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOrder.st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOrder.st new file mode 100644 index 00000000..abb987cd --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/cellOrder.st @@ -0,0 +1,5 @@ +sections +cellOrder + ^ OrderedDictionary new + add: 'Cell order' -> #renderCellOrderDemoOn:; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOrderDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOrderDemoOn..st new file mode 100644 index 00000000..3fb9bfea --- /dev/null +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderCellOrderDemoOn..st @@ -0,0 +1,38 @@ +demos +renderCellOrderDemoOn: html + html mdlGrid + shadow: 2; + with: [ html mdlCell + class: 'grid-cell-demo'; + desktopSize: 3; + tabletSize: 2; + phoneSize: 1; + desktopOrder: 4; + tabletOrder: 3; + phoneOrder: 2; + with: 'A (D: 4|T: 3|P: 2)'. + html mdlCell + class: 'grid-cell-demo'; + desktopSize: 3; + tabletSize: 2; + phoneSize: 1; + desktopOrder: 3; + tabletOrder: 2; + phoneOrder: 4; + with: 'B (D: 3|T: 2|P: 4)'. + html mdlCell + class: 'grid-cell-demo'; + desktopSize: 3; + tabletSize: 2; + phoneSize: 1; + desktopOrder: 2; + tabletOrder: 4; + phoneOrder: 3; + with: 'C (D: 2|T: 4|P: 3)'. + html mdlCell + class: 'grid-cell-demo'; + desktopSize: 3; + tabletSize: 2; + phoneSize: 1; + order: 1; + with: 'D (D: 1|T: 1|P: 1)' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st index 67ecd504..08794cef 100644 --- a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderScreenContentOn..st @@ -22,6 +22,7 @@ renderScreenContentOn: html render: self gridLayout fullWidth: true on: html; render: self cellOffset fullWidth: true on: html; render: self cellPositions fullWidth: true on: html; + render: self cellOrder fullWidth: true on: html; render: self hideDesktopCells fullWidth: true on: html; render: self hideTabletCells fullWidth: true on: html; render: self hidePhoneCells fullWidth: true on: html. From 01ca1ccd41c00a84a39daaacd8c5f373579e34bd Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 22:20:13 +0200 Subject: [PATCH 028/103] Tests of Checkbox and Chips (fin). Also deprecate a method and recategorize --- .../instance/assert.generatedIncludes..st | 5 ++++- .../MDLCheckboxContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testFor.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLCheckboxContainerTest.class/properties.json | 11 +++++++++++ .../MDLCheckboxLabelTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLCheckboxLabelTest.class/properties.json | 11 +++++++++++ .../MDLCheckboxTest.class/README.md | 0 .../MDLCheckboxTest.class/instance/testBareBrush.st | 3 +++ .../MDLCheckboxTest.class/instance/testValue.st | 4 ++++ .../MDLCheckboxTest.class/instance/testWithContent.st | 3 +++ .../MDLCheckboxTest.class/properties.json | 11 +++++++++++ .../MDLChipImageTest.class/README.md | 0 .../MDLChipImageTest.class/instance/testAltText.st | 3 +++ .../MDLChipImageTest.class/instance/testBareBrush.st | 3 +++ .../MDLChipImageTest.class/instance/testUrl.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLChipImageTest.class/properties.json | 11 +++++++++++ .../MDLChipInitialTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../MDLChipInitialTest.class/instance/testColor.st | 5 +++++ .../MDLChipInitialTest.class/instance/testHexColor.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLChipInitialTest.class/properties.json | 11 +++++++++++ .../MDLChipTextTagTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLChipTextTagTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../MDLChipInitial.class/instance/color..st | 2 +- .../MDLChipInitial.class/instance/hexColor..st | 2 +- .../instance/mdlChipContact..st | 2 +- .../WAHtmlCanvas.extension/instance/mdlChipImage..st | 1 + 38 files changed, 139 insertions(+), 4 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testValue.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testAltText.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testUrl.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testHexColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/properties.json diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st index 1d32fa75..3797903a 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/assert.generatedIncludes..st @@ -1,3 +1,6 @@ asserting assert: aBlock generatedIncludes: aString - self executeWithMockContext: [ self assert: ((WAHtmlCanvas builder render: aBlock) includesSubstring: aString) ] \ No newline at end of file + self + executeWithMockContext: [ | actual | + actual := WAHtmlCanvas builder render: aBlock. + self assert: (actual includesSubstring: aString) description: actual , ' should includes ' , aString ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..a23a750c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCheckboxContainer ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testFor.st new file mode 100644 index 00000000..be5743ec --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testFor.st @@ -0,0 +1,3 @@ +tests +testFor + self assert: [ :html | html mdlCheckboxContainer for: html nextId ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..1945ca61 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlCheckboxContainer rippleEffect ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..564debaa --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlCheckboxContainer rippleEffectIf: true ] generates: ''. + self assert: [ :html | html mdlCheckboxContainer rippleEffectIf: false ] generates: ''. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..55cf6459 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCheckboxContainer with: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/properties.json new file mode 100644 index 00000000..196fcde6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCheckboxContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..ce5f0aa4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCheckboxLabel ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testWithContent.st new file mode 100644 index 00000000..8534ca98 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlCheckboxLabel: 'label' ] generates: 'label' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/properties.json new file mode 100644 index 00000000..8ceabb2b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxLabelTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCheckboxLabelTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..6a4ce87c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlCheckbox ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testValue.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testValue.st new file mode 100644 index 00000000..1794995d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testValue.st @@ -0,0 +1,4 @@ +tests +testValue + self assert: [ :html | html mdlCheckbox value: true ] generates: ''. + self assert: [ :html | html mdlCheckbox value: false ] generates: ''. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testWithContent.st new file mode 100644 index 00000000..8a85325a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "No content allowed in this one" \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/properties.json new file mode 100644 index 00000000..3504b623 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLCheckboxTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLCheckboxTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testAltText.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testAltText.st new file mode 100644 index 00000000..c1d658f5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testAltText.st @@ -0,0 +1,3 @@ +tests +testAltText + self assert: [ :html | html mdlChipImage altText: 'A message' ] generatedIncludes: 'A message' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..8338b326 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlChipImage ] generatedIncludes: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testUrl.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testUrl.st new file mode 100644 index 00000000..3fdb5f24 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testUrl.st @@ -0,0 +1,3 @@ +tests +testUrl + self assert: [ :html | html mdlChipImage url: 'https://test.com/image.png' ] generatedIncludes: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testWithContent.st new file mode 100644 index 00000000..9b43159a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Should not implement it." \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/properties.json new file mode 100644 index 00000000..85c6613f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipImageTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Chips", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLChipImageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..7e66e6da --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlChipContact ] generatedIncludes: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testColor.st new file mode 100644 index 00000000..39605859 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testColor.st @@ -0,0 +1,5 @@ +tests +testColor + "Teal in hex is currently #009587" + + self assert: [ :html | html mdlChipContact color: MDLColor teal ] generatedIncludes: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testHexColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testHexColor.st new file mode 100644 index 00000000..76e562fa --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testHexColor.st @@ -0,0 +1,3 @@ +tests +testHexColor + self assert: [ :html | html mdlChipContact hexColor: '009587' ] generatedIncludes: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testWithContent.st new file mode 100644 index 00000000..b131b27b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlChipContact: 'Test' ] generatedIncludes: 'Test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/properties.json new file mode 100644 index 00000000..393b05d9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipInitialTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Chips", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLChipInitialTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..f302d503 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlChipText ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testWithContent.st new file mode 100644 index 00000000..857f4785 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlChipText: 'Example' ] generates: 'Example' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/properties.json new file mode 100644 index 00000000..16688b8f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLChipTextTagTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Chips", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLChipTextTagTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 9c7eee16..ad8845c3 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -6,3 +6,4 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! +temOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! diff --git a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/color..st b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/color..st index 02e94704..d5f8c9b0 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/color..st +++ b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/color..st @@ -1,4 +1,4 @@ -accessing +options color: aColor | hexColor | self flag: #clean. "This is bad. Really really really bad :( but I don't have time :( In Pharo 4 we have Color>>printHTMLString. In Pharo 5 we have Color>>asHexString. When Pharo 4 will not be suported by MDL anymore we can use #asHexString. Or if someone fave the courage we can create a Material-Design-Lite-Pharo4 package that will have #asHexString as a Color extension and load this package only in Pharo 4. " diff --git a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/hexColor..st b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/hexColor..st index ccd2a259..37d41722 100644 --- a/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/hexColor..st +++ b/src/Material-Design-Lite-Components.package/MDLChipInitial.class/instance/hexColor..st @@ -1,4 +1,4 @@ -accessing +options hexColor: aString self style: diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipContact..st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipContact..st index 15a26c96..44601a66 100644 --- a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipContact..st +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipContact..st @@ -1,5 +1,5 @@ *Material-Design-Lite-Components -mdlChipContact: aBlock +mdlChipContact: aBlock. ^ self mdlChipContact with: aBlock; yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipImage..st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipImage..st index e745dc85..15c6eab1 100644 --- a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipImage..st +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlChipImage..st @@ -1,5 +1,6 @@ *Material-Design-Lite-Components mdlChipImage: aBlock + self deprecated: 'Chip image should not have a content but an URL instead. Remove it in the next majore version.'. ^ self mdlChipImage with: aBlock; yourself \ No newline at end of file From 5d5d3bfd0f6354acb438cf0578134db580995dcf Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sun, 20 May 2018 23:14:45 +0200 Subject: [PATCH 029/103] Categorization --- .../MDLDivTag.class/properties.json | 2 +- .../MDLIcon.class/properties.json | 2 +- .../MDLLogo.class/properties.json | 2 +- .../ManifestMaterialDesignLiteComponents.class/properties.json | 2 +- .../monticello.meta/categories.st | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Material-Design-Lite-Components.package/MDLDivTag.class/properties.json b/src/Material-Design-Lite-Components.package/MDLDivTag.class/properties.json index d6a4a1a8..107204be 100644 --- a/src/Material-Design-Lite-Components.package/MDLDivTag.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLDivTag.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:21", "super" : "WATagBrush", - "category" : "Material-Design-Lite-Components", + "category" : "Material-Design-Lite-Components-Core", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components.package/MDLIcon.class/properties.json b/src/Material-Design-Lite-Components.package/MDLIcon.class/properties.json index e5bb6bdb..1b7eec32 100644 --- a/src/Material-Design-Lite-Components.package/MDLIcon.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLIcon.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:23", "super" : "WATagBrush", - "category" : "Material-Design-Lite-Components", + "category" : "Material-Design-Lite-Components-Core", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json b/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json index 848b511b..dcedf886 100644 --- a/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:21", "super" : "MDLDivTag", - "category" : "Material-Design-Lite-Components", + "category" : "Material-Design-Lite-Components-Core", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components.package/ManifestMaterialDesignLiteComponents.class/properties.json b/src/Material-Design-Lite-Components.package/ManifestMaterialDesignLiteComponents.class/properties.json index 2d113276..46fc8aff 100644 --- a/src/Material-Design-Lite-Components.package/ManifestMaterialDesignLiteComponents.class/properties.json +++ b/src/Material-Design-Lite-Components.package/ManifestMaterialDesignLiteComponents.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "PackageManifest", - "category" : "Material-Design-Lite-Components", + "category" : "Material-Design-Lite-Components-Manifest", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components.package/monticello.meta/categories.st index 9de4fc25..2f5bded7 100644 --- a/src/Material-Design-Lite-Components.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components.package/monticello.meta/categories.st @@ -13,3 +13,5 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Nav'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Snackbar'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tables'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tooltips'! +stemOrganization addCategory: #'Material-Design-Lite-Components-Tables'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tooltips'! From fa7d7985269880ed5577c1efb25d783721d0d2e0 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Mon, 21 May 2018 00:12:05 +0200 Subject: [PATCH 030/103] Deprecate some useless classes, add doc and tests --- .../MDLDialogActionsTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testFullWidth.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLDialogActionsTest.class/properties.json | 11 +++++++++++ .../MDLDialogContentTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLDialogContentTest.class/properties.json | 11 +++++++++++ .../MDLDialogTest.class/README.md | 0 .../MDLDialogTest.class/instance/testBareBrush.st | 3 +++ .../MDLDialogTest.class/instance/testCloseButtonId.st | 3 +++ .../MDLDialogTest.class/instance/testOpenButtonId.st | 3 +++ .../MDLDialogTest.class/instance/testWithContent.st | 3 +++ .../MDLDialogTest.class/properties.json | 11 +++++++++++ .../MDLDialogTitleTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../MDLDialogTitleTest.class/instance/testLevel1.st | 8 ++++++++ .../MDLDialogTitleTest.class/instance/testLevel2.st | 8 ++++++++ .../MDLDialogTitleTest.class/instance/testLevel3.st | 8 ++++++++ .../MDLDialogTitleTest.class/instance/testLevel4.st | 8 ++++++++ .../MDLDialogTitleTest.class/instance/testLevel5.st | 8 ++++++++ .../MDLDialogTitleTest.class/instance/testLevel6.st | 8 ++++++++ .../instance/testWithContent.st | 3 +++ .../MDLDialogTitleTest.class/properties.json | 11 +++++++++++ .../MDLDivTagTest.class/README.md | 0 .../MDLDivTagTest.class/instance/testBareBrush.st | 3 +++ .../MDLDivTagTest.class/instance/testWithContent.st | 3 +++ .../MDLDivTagTest.class/properties.json | 11 +++++++++++ .../MDLIconTest.class/README.md | 0 .../MDLIconTest.class/instance/testBareBrush.st | 3 +++ .../MDLIconTest.class/instance/testChipIcon.st | 8 ++++++++ .../MDLIconTest.class/instance/testListItemAvatar.st | 8 ++++++++ .../MDLIconTest.class/instance/testListItemIcon.st | 8 ++++++++ .../MDLIconTest.class/instance/testToggle.st | 8 ++++++++ .../MDLIconTest.class/instance/testWithContent.st | 3 +++ .../MDLIconTest.class/properties.json | 11 +++++++++++ .../MDLMegaFooterBottomSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterDropdownSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterHeadingCheckBoxTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterHeadingTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testLevel1.st | 8 ++++++++ .../instance/testLevel2.st | 8 ++++++++ .../instance/testLevel3.st | 8 ++++++++ .../instance/testLevel4.st | 8 ++++++++ .../instance/testLevel5.st | 8 ++++++++ .../instance/testLevel6.st | 8 ++++++++ .../instance/testWithContent.st | 3 +++ .../MDLMegaFooterHeadingTest.class/properties.json | 11 +++++++++++ .../MDLMegaFooterLeftSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterLinkListTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLMegaFooterLinkListTest.class/properties.json | 11 +++++++++++ .../MDLMegaFooterMiddleSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterRightSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterSocialButtonTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMegaFooterTest.class/README.md | 0 .../MDLMegaFooterTest.class/instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLMegaFooterTest.class/properties.json | 11 +++++++++++ .../MDLMegaFooterTopSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLMegaFooterTopSectionTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 5 ++++- .../MDLDialogActions.class/instance/fullWidth.st | 2 ++ .../MDLFooterLogo.class/class/isDeprecated.st | 5 +++++ .../MDLIcon.class/instance/chipIcon.st | 2 +- .../MDLIcon.class/instance/listItemAvatar.st | 2 +- .../MDLIcon.class/instance/listItemIcon.st | 2 +- .../MDLIcon.class/instance/toggle.st | 2 +- .../MDLIconToggleLabel.class/class/isDeprecated.st | 5 +++++ .../MDLIconToggleLabel.class/instance/initialize.st | 2 +- .../MDLLogo.class/properties.json | 2 +- .../WAHtmlCanvas.extension/instance/mdlDiv..st | 5 +++++ .../WAHtmlCanvas.extension/instance/mdlFooterLogo..st | 3 +++ .../WAHtmlCanvas.extension/instance/mdlFooterLogo.st | 3 +++ .../instance/mdlIconToggleLabel..st | 2 +- .../instance/mdlIconToggleLabel.st | 5 +++++ .../monticello.meta/categories.st | 2 +- 103 files changed, 466 insertions(+), 9 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testFullWidth.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testCloseButtonId.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testOpenButtonId.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel1.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel2.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel3.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel4.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel5.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel6.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testChipIcon.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemAvatar.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemIcon.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testToggle.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel1.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel2.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel3.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel4.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel5.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel6.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components.package/MDLFooterLogo.class/class/isDeprecated.st create mode 100644 src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/class/isDeprecated.st create mode 100644 src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlDiv..st create mode 100644 src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo..st create mode 100644 src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo.st create mode 100644 src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel.st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..84785dd7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlDialogActions ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testFullWidth.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testFullWidth.st new file mode 100644 index 00000000..56508121 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testFullWidth.st @@ -0,0 +1,3 @@ +tests +testFullWidth + self assert: [ :html | html mdlDialogActions fullWidth ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testWithContent.st new file mode 100644 index 00000000..931c4b3f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlDialogActions: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/properties.json new file mode 100644 index 00000000..4bddb512 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogActionsTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Dialog", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLDialogActionsTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..5815df4e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlDialogContent ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testWithContent.st new file mode 100644 index 00000000..d98febb3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlDialogContent: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/properties.json new file mode 100644 index 00000000..859af856 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogContentTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Dialog", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLDialogContentTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..a208afd1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlDialog ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testCloseButtonId.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testCloseButtonId.st new file mode 100644 index 00000000..02cf4e9f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testCloseButtonId.st @@ -0,0 +1,3 @@ +tests +testCloseButtonId + self assert: [ :html | html mdlDialog closeButtonId: html nextId ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testOpenButtonId.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testOpenButtonId.st new file mode 100644 index 00000000..86797872 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testOpenButtonId.st @@ -0,0 +1,3 @@ +tests +testOpenButtonId + self assert: [ :html | html mdlDialog openButtonId: html nextId ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testWithContent.st new file mode 100644 index 00000000..7e0adc36 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlDialog with: 'Test' ] generates: 'Test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/properties.json new file mode 100644 index 00000000..3060e49e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Dialog", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLDialogTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c4b52678 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlDialogTitle ] generates: '

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel1.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel1.st new file mode 100644 index 00000000..3cf9783f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel1.st @@ -0,0 +1,8 @@ +tests +testLevel1 + self + assert: [ :html | + html mdlDialogTitle + level1; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel2.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel2.st new file mode 100644 index 00000000..35a8dabd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel2.st @@ -0,0 +1,8 @@ +tests +testLevel2 + self + assert: [ :html | + html mdlDialogTitle + level2; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel3.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel3.st new file mode 100644 index 00000000..3ca73464 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel3.st @@ -0,0 +1,8 @@ +tests +testLevel3 + self + assert: [ :html | + html mdlDialogTitle + level3; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel4.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel4.st new file mode 100644 index 00000000..b5d89a7a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel4.st @@ -0,0 +1,8 @@ +tests +testLevel4 + self + assert: [ :html | + html mdlDialogTitle + level4; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel5.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel5.st new file mode 100644 index 00000000..3482c0a1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel5.st @@ -0,0 +1,8 @@ +tests +testLevel5 + self + assert: [ :html | + html mdlDialogTitle + level5; + with: 'title' ] + generates: '
title
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel6.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel6.st new file mode 100644 index 00000000..32b70827 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testLevel6.st @@ -0,0 +1,8 @@ +tests +testLevel6 + self + assert: [ :html | + html mdlDialogTitle + level6; + with: 'title' ] + generates: '
title
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testWithContent.st new file mode 100644 index 00000000..a44ced3d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlDialogTitle: 'title' ] generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/properties.json new file mode 100644 index 00000000..5d9eb23e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDialogTitleTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Dialog", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLDialogTitleTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..d5a39ac6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlDiv ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testWithContent.st new file mode 100644 index 00000000..70edd876 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlDiv: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/properties.json new file mode 100644 index 00000000..2c1d1e83 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLDivTagTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLDivTagTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..8c4e1003 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlIcon ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testChipIcon.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testChipIcon.st new file mode 100644 index 00000000..5f30fea7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testChipIcon.st @@ -0,0 +1,8 @@ +tests +testChipIcon + self + assert: [ :html | + html mdlIcon + chipIcon; + with: 'mood' ] + generatedIncludes: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemAvatar.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemAvatar.st new file mode 100644 index 00000000..4a0d2344 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemAvatar.st @@ -0,0 +1,8 @@ +tests +testListItemAvatar + self + assert: [ :html | + html mdlIcon + listItemAvatar; + with: 'mood' ] + generates: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemIcon.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemIcon.st new file mode 100644 index 00000000..c90f4f19 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testListItemIcon.st @@ -0,0 +1,8 @@ +tests +testListItemIcon + self + assert: [ :html | + html mdlIcon + listItemIcon; + with: 'mood' ] + generates: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testToggle.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testToggle.st new file mode 100644 index 00000000..e60a86b1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testToggle.st @@ -0,0 +1,8 @@ +tests +testToggle + self + assert: [ :html | + html mdlIcon + toggle; + with: 'mood' ] + generates: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testWithContent.st new file mode 100644 index 00000000..ea6f2239 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlIcon: 'mood' ] generates: 'mood' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/properties.json new file mode 100644 index 00000000..3ee8fe6e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLIconTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c3dee4e3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterBottomSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..6b29c2ae --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterBottomSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/properties.json new file mode 100644 index 00000000..919b1330 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterBottomSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterBottomSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..f6e7a9d8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterDropdownSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..f647256e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterDropdownSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/properties.json new file mode 100644 index 00000000..fb2cedc8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterDropdownSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterDropdownSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..ae6a99a7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterHeadingCheckbox ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testWithContent.st new file mode 100644 index 00000000..dff1e0e5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Not possible to add a content" \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/properties.json new file mode 100644 index 00000000..f8aa59cf --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingCheckBoxTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterHeadingCheckBoxTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c5878be6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterHeading ] generates: '

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel1.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel1.st new file mode 100644 index 00000000..68202383 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel1.st @@ -0,0 +1,8 @@ +tests +testLevel1 + self + assert: [ :html | + html mdlFooterHeading + level1; + with: 'title' ] + generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel2.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel2.st new file mode 100644 index 00000000..f064df70 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel2.st @@ -0,0 +1,8 @@ +tests +testLevel2 + self + assert: [ :html | + html mdlFooterHeading + level2; + with: 'title' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel3.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel3.st new file mode 100644 index 00000000..5f662a43 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel3.st @@ -0,0 +1,8 @@ +tests +testLevel3 + self + assert: [ :html | + html mdlFooterHeading + level3; + with: 'title' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel4.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel4.st new file mode 100644 index 00000000..48e897ed --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel4.st @@ -0,0 +1,8 @@ +tests +testLevel4 + self + assert: [ :html | + html mdlFooterHeading + level4; + with: 'title' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel5.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel5.st new file mode 100644 index 00000000..a4c8c497 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel5.st @@ -0,0 +1,8 @@ +tests +testLevel5 + self + assert: [ :html | + html mdlFooterHeading + level5; + with: 'title' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel6.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel6.st new file mode 100644 index 00000000..84752440 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testLevel6.st @@ -0,0 +1,8 @@ +tests +testLevel6 + self + assert: [ :html | + html mdlFooterHeading + level6; + with: 'title' ] + generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testWithContent.st new file mode 100644 index 00000000..82bafe38 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterHeading: 'title' ] generates: '

title

' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/properties.json new file mode 100644 index 00000000..d3754dd1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterHeadingTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterHeadingTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..b2293153 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterLeftSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..dc113cab --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterLeftSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/properties.json new file mode 100644 index 00000000..de9b69f9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLeftSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterLeftSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c4cee766 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterLinkList ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testWithContent.st new file mode 100644 index 00000000..880b4851 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterLinkList: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/properties.json new file mode 100644 index 00000000..08bf2bfb --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterLinkListTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterLinkListTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..7dace3b8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterMiddleSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..25f2434b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterMiddleSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/properties.json new file mode 100644 index 00000000..f3dc51b6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterMiddleSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterMiddleSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..4e61af5c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterRightSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..4c641ac8 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterRightSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/properties.json new file mode 100644 index 00000000..d1f85856 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterRightSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterRightSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..3bcaeb69 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterSocialButton ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testWithContent.st new file mode 100644 index 00000000..a6347030 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterSocialButton: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/properties.json new file mode 100644 index 00000000..68c4c44e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterSocialButtonTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterSocialButtonTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..d25fac0b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooter ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testWithContent.st new file mode 100644 index 00000000..cdaee758 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooter: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/properties.json new file mode 100644 index 00000000..d2f98dd1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..20504f78 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlFooterTopSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..26879146 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlFooterTopSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/properties.json new file mode 100644 index 00000000..7782f99a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMegaFooterTopSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMegaFooterTopSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index ad8845c3..a87a57e4 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -6,4 +6,7 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! -temOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! +mOrganization addCategory: #'Material-Design-Lite-Components-Tests-Footer'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Forms'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! diff --git a/src/Material-Design-Lite-Components.package/MDLDialogActions.class/instance/fullWidth.st b/src/Material-Design-Lite-Components.package/MDLDialogActions.class/instance/fullWidth.st index e9db7053..a15c9710 100644 --- a/src/Material-Design-Lite-Components.package/MDLDialogActions.class/instance/fullWidth.st +++ b/src/Material-Design-Lite-Components.package/MDLDialogActions.class/instance/fullWidth.st @@ -1,3 +1,5 @@ options fullWidth + "This option makes all the buttons takes the full width of the dialog." + self class: 'mdl-dialog__actions--full-width' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLFooterLogo.class/class/isDeprecated.st b/src/Material-Design-Lite-Components.package/MDLFooterLogo.class/class/isDeprecated.st new file mode 100644 index 00000000..6c03d8f3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLFooterLogo.class/class/isDeprecated.st @@ -0,0 +1,5 @@ +deprecation +isDeprecated + "Use MDLLogo" + + ^ true \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st index 382c6e4f..cd338bc4 100644 --- a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st +++ b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/chipIcon.st @@ -1,3 +1,3 @@ -list api +options chipIcon self beChipDecoration \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemAvatar.st b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemAvatar.st index dd73b9fc..b0da87a2 100644 --- a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemAvatar.st +++ b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemAvatar.st @@ -1,3 +1,3 @@ -list api +options listItemAvatar self class: 'mdl-list__item-avatar' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemIcon.st b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemIcon.st index 56993685..884d6dad 100644 --- a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemIcon.st +++ b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/listItemIcon.st @@ -1,3 +1,3 @@ -list api +options listItemIcon self class: 'mdl-list__item-icon' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/toggle.st b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/toggle.st index 436ae16c..8a3ab42b 100644 --- a/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/toggle.st +++ b/src/Material-Design-Lite-Components.package/MDLIcon.class/instance/toggle.st @@ -1,3 +1,3 @@ -state changing +options toggle self class: 'mdl-icon-toggle__label' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/class/isDeprecated.st b/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/class/isDeprecated.st new file mode 100644 index 00000000..8bd501e6 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/class/isDeprecated.st @@ -0,0 +1,5 @@ +deprecation +isDeprecated + "Use MDLIcon with the #toggle option instead." + + ^ true \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/instance/initialize.st index 6da6003e..879feed2 100644 --- a/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/instance/initialize.st +++ b/src/Material-Design-Lite-Components.package/MDLIconToggleLabel.class/instance/initialize.st @@ -1,4 +1,4 @@ initialization initialize - super initialize. + super initialize. self class: 'mdl-icon-toggle__label material-icons' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json b/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json index dcedf886..1033893a 100644 --- a/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:21", "super" : "MDLDivTag", - "category" : "Material-Design-Lite-Components-Core", + "category" : "Material-Design-Lite-Components-Loading", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlDiv..st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlDiv..st new file mode 100644 index 00000000..365d0ff0 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlDiv..st @@ -0,0 +1,5 @@ +*Material-Design-Lite-Components +mdlDiv: aBlock + ^ self mdlDiv + with: aBlock; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo..st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo..st new file mode 100644 index 00000000..e7d7a08f --- /dev/null +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo..st @@ -0,0 +1,3 @@ +*Material-Design-Lite-Components +mdlFooterLogo: aBlock + ^ self mdlLogo: aBlock \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo.st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo.st new file mode 100644 index 00000000..50ab42dd --- /dev/null +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlFooterLogo.st @@ -0,0 +1,3 @@ +*Material-Design-Lite-Components +mdlFooterLogo + ^ self mdlLogo \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel..st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel..st index 181e70c1..8aad43dc 100644 --- a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel..st +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel..st @@ -1,5 +1,5 @@ *Material-Design-Lite-Components mdlIconToggleLabel: aText - ^ (self brush: MDLIconToggleLabel new) + ^ self mdlIconToggleLabel with: aText; yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel.st b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel.st new file mode 100644 index 00000000..0f918c62 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/WAHtmlCanvas.extension/instance/mdlIconToggleLabel.st @@ -0,0 +1,5 @@ +*Material-Design-Lite-Components +mdlIconToggleLabel + ^ self mdlIcon + toggle; + yourself \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components.package/monticello.meta/categories.st index 2f5bded7..c6d1a892 100644 --- a/src/Material-Design-Lite-Components.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components.package/monticello.meta/categories.st @@ -13,5 +13,5 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Nav'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Snackbar'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tables'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tooltips'! -stemOrganization addCategory: #'Material-Design-Lite-Components-Tables'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tooltips'! +emOrganization addCategory: #'Material-Design-Lite-Components-Tooltips'! From 605b40019f00fd94cf1a7d4e6630e2a674f31cc7 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Mon, 21 May 2018 21:27:08 +0200 Subject: [PATCH 031/103] More test, demo and conveniance methods. --- .../MDLGridTest.class/README.md | 0 .../MDLGridTest.class/instance/testBareBrush.st | 3 +++ .../MDLGridTest.class/instance/testNoSpacing.st | 8 ++++++++ .../instance/testWithContent.st | 3 +++ .../MDLGridTest.class/properties.json | 11 +++++++++++ .../MDLIconToggleContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testFor.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLIconToggleTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testValue.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLIconToggleTest.class/properties.json | 11 +++++++++++ .../MDLLayoutContentTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutContentTest.class/properties.json | 11 +++++++++++ .../MDLLayoutDrawerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutDrawerTest.class/properties.json | 11 +++++++++++ .../MDLLayoutHeaderRowTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutHeaderRowTest.class/properties.json | 11 +++++++++++ .../MDLLayoutHeaderTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testScroll.st | 3 +++ .../instance/testTransparent.st | 3 +++ .../instance/testWaterfall.st | 3 +++ .../instance/testWaterfallHideTop.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutHeaderTest.class/properties.json | 11 +++++++++++ .../MDLLayoutIconTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutIconTest.class/properties.json | 11 +++++++++++ .../MDLLayoutSpacerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutSpacerTest.class/properties.json | 11 +++++++++++ .../MDLLayoutTabBarTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutTabBarTest.class/properties.json | 11 +++++++++++ .../MDLLayoutTabPanelTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testIsActive.st | 3 +++ .../instance/testIsActiveIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutTabPanelTest.class/properties.json | 11 +++++++++++ .../MDLLayoutTabTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testIsActive.st | 3 +++ .../instance/testIsActiveIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutTabTest.class/properties.json | 11 +++++++++++ .../MDLLayoutTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testFixedDrawer.st | 3 +++ .../instance/testFixedHeader.st | 3 +++ .../instance/testFixedTabs.st | 3 +++ .../instance/testNoDesktopDrawerButton.st | 3 +++ .../instance/testNoDrawerButton.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutTest.class/properties.json | 11 +++++++++++ .../MDLLayoutTitleTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLLayoutTitleTest.class/properties.json | 11 +++++++++++ .../MDLMiniFooterLeftSectionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMiniFooterLinkListTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLMiniFooterTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLMiniFooterTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 6 +++--- .../instance/rippleEffectIf..st | 3 +++ .../MDLLayoutContent.class/instance/tag.st | 2 +- .../instance/rippleEffectIf..st | 3 +++ .../instance/renderGridDemoOn..st | 16 +++++++++++++--- .../monticello.meta/categories.st | 2 +- 102 files changed, 417 insertions(+), 8 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testNoSpacing.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testValue.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testTransparent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfall.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfallHideTop.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActive.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActiveIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActive.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActiveIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedDrawer.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedHeader.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedTabs.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDesktopDrawerButton.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDrawerButton.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components.package/MDLIconToggleContainer.class/instance/rippleEffectIf..st create mode 100644 src/Material-Design-Lite-Components.package/MDLLayoutTabBar.class/instance/rippleEffectIf..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c5edd9c1 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlGrid ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testNoSpacing.st b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testNoSpacing.st new file mode 100644 index 00000000..0b6a823f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testNoSpacing.st @@ -0,0 +1,8 @@ +tests +testNoSpacing + self + assert: [ :html | + html mdlGrid + noSpacing; + with: 'test' ] + generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testWithContent.st new file mode 100644 index 00000000..9a931e2e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlGrid: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/properties.json new file mode 100644 index 00000000..d42dc2c7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLGridTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLGridTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..8695773f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlIconToggleContainer ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testFor.st new file mode 100644 index 00000000..38c2f19b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testFor.st @@ -0,0 +1,3 @@ +tests +testFor + self assert: [ :html | html mdlIconToggleContainer for: html nextId ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..8350fe2e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlIconToggleContainer rippleEffect ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..057ba639 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlIconToggleContainer rippleEffectIf: true ] generates: ''. + self assert: [ :html | html mdlIconToggleContainer rippleEffectIf: false ] generates: ''. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..30fc8383 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlIconToggleContainer with: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/properties.json new file mode 100644 index 00000000..9ab5478b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLIconToggleContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..2f8a9d4d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlIconToggle ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testValue.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testValue.st new file mode 100644 index 00000000..5d781a33 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testValue.st @@ -0,0 +1,4 @@ +tests +testValue + self assert: [ :html | html mdlIconToggle value: true ] generates: ''. + self assert: [ :html | html mdlIconToggle value: false ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testWithContent.st new file mode 100644 index 00000000..43e6d738 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Not on checkboxes" \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/properties.json new file mode 100644 index 00000000..110cdc74 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLIconToggleTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLIconToggleTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..0feb5f90 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutContent ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testWithContent.st new file mode 100644 index 00000000..b22a8444 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutContent: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/properties.json new file mode 100644 index 00000000..aeded5f4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutContentTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutContentTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..3dd4ddc3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutDrawer ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..40ca9781 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutDrawer: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/properties.json new file mode 100644 index 00000000..ab89a40b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutDrawerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutDrawerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..db361a56 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutHeaderRow ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testWithContent.st new file mode 100644 index 00000000..391913dc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutHeaderRow: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/properties.json new file mode 100644 index 00000000..623e2c5c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderRowTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutHeaderRowTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..c37fbb96 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutHeader ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st new file mode 100644 index 00000000..4e176323 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st @@ -0,0 +1,3 @@ +tests +testScroll + self assert: [ :html | html mdlLayoutHeader seamed ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testTransparent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testTransparent.st new file mode 100644 index 00000000..6a252dec --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testTransparent.st @@ -0,0 +1,3 @@ +tests +testTransparent + self assert: [ :html | html mdlLayoutHeader transparent ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfall.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfall.st new file mode 100644 index 00000000..baf9d685 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfall.st @@ -0,0 +1,3 @@ +tests +testWaterfall + self assert: [ :html | html mdlLayoutHeader waterfall ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfallHideTop.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfallHideTop.st new file mode 100644 index 00000000..642639d9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWaterfallHideTop.st @@ -0,0 +1,3 @@ +tests +testWaterfallHideTop + self assert: [ :html | html mdlLayoutHeader waterfallHideTop ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWithContent.st new file mode 100644 index 00000000..e5cf3be6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutHeader: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/properties.json new file mode 100644 index 00000000..5c632d52 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutHeaderTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..df35b0b0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutIcon ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testWithContent.st new file mode 100644 index 00000000..dbbe0cfe --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutIcon: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/properties.json new file mode 100644 index 00000000..b63d2a9f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutIconTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutIconTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..7ec250f6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutSpacer ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..e899e202 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutSpacer: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/properties.json new file mode 100644 index 00000000..4aeb81d9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutSpacerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutSpacerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..fbd16e68 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutTabBar ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..54b0e019 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlLayoutTabBar rippleEffect ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..64e2d7f0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlLayoutTabBar rippleEffectIf: true ] generates: '
'. + self assert: [ :html | html mdlLayoutTabBar rippleEffectIf: false ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testWithContent.st new file mode 100644 index 00000000..8dd8c9b4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutTabBar: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/properties.json new file mode 100644 index 00000000..4ec6dcd2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabBarTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutTabBarTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..1e457df2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutTabPanel ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActive.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActive.st new file mode 100644 index 00000000..5deb99ba --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActive.st @@ -0,0 +1,3 @@ +tests +testIsActive + self assert: [ :html | html mdlLayoutTabPanel isActive ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActiveIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActiveIf.st new file mode 100644 index 00000000..488dfb0d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testIsActiveIf.st @@ -0,0 +1,4 @@ +tests +testIsActiveIf + self assert: [ :html | html mdlLayoutTabPanel isActiveIf: true ] generates: '
'. + self assert: [ :html | html mdlLayoutTabPanel isActiveIf: false ] generates: '
'. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testWithContent.st new file mode 100644 index 00000000..9c3d7a47 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutTabPanel: 'test' ] generates: '
test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/properties.json new file mode 100644 index 00000000..a2125a83 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabPanelTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutTabPanelTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..0fa52388 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutTab ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActive.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActive.st new file mode 100644 index 00000000..3c50f0ce --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActive.st @@ -0,0 +1,3 @@ +tests +testIsActive + self assert: [ :html | html mdlLayoutTab isActive ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActiveIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActiveIf.st new file mode 100644 index 00000000..75ec1d0d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testIsActiveIf.st @@ -0,0 +1,4 @@ +tests +testIsActiveIf + self assert: [ :html | html mdlLayoutTab isActiveIf: true ] generates: ''. + self assert: [ :html | html mdlLayoutTab isActiveIf: false ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testWithContent.st new file mode 100644 index 00000000..4e165dc9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutTab: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/properties.json new file mode 100644 index 00000000..bbed27db --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTabTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutTabTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..067a5170 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayout ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedDrawer.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedDrawer.st new file mode 100644 index 00000000..be849446 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedDrawer.st @@ -0,0 +1,3 @@ +tests +testFixedDrawer + self assert: [ :html | html mdlLayout fixedDrawer ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedHeader.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedHeader.st new file mode 100644 index 00000000..f5e1b7a3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedHeader.st @@ -0,0 +1,3 @@ +tests +testFixedHeader + self assert: [ :html | html mdlLayout fixedHeader ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedTabs.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedTabs.st new file mode 100644 index 00000000..1f509606 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testFixedTabs.st @@ -0,0 +1,3 @@ +tests +testFixedTabs + self assert: [ :html | html mdlLayout fixedTabs ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDesktopDrawerButton.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDesktopDrawerButton.st new file mode 100644 index 00000000..867e2897 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDesktopDrawerButton.st @@ -0,0 +1,3 @@ +tests +testNoDesktopDrawerButton + self assert: [ :html | html mdlLayout noDesktopDrawerButton ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDrawerButton.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDrawerButton.st new file mode 100644 index 00000000..b5c5c3f6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testNoDrawerButton.st @@ -0,0 +1,3 @@ +tests +testNoDrawerButton + self assert: [ :html | html mdlLayout noDrawerButton ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testWithContent.st new file mode 100644 index 00000000..09bde63e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayout: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/properties.json new file mode 100644 index 00000000..1ce632b3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..f36a1317 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLayoutTitle ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testWithContent.st new file mode 100644 index 00000000..80672b00 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLayoutTitle: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/properties.json new file mode 100644 index 00000000..5882e0f0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutTitleTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Layouts", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLayoutTitleTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..1637d2c3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMiniFooterLeftSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..f25ae798 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMiniFooterLeftSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/properties.json new file mode 100644 index 00000000..191c8560 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLeftSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMiniFooterLeftSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..72b4eb10 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMiniFooterLinkList ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testWithContent.st new file mode 100644 index 00000000..d6e7e681 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMiniFooterLinkList: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/properties.json new file mode 100644 index 00000000..df042613 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterLinkListTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMiniFooterLinkListTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..07129e85 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMiniFooterRightSection ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..291d583a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMiniFooterRightSection: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/properties.json new file mode 100644 index 00000000..cf480c27 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterRightSectionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMiniFooterRightSectionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..978df5f2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMiniFooterSocialButton ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testWithContent.st new file mode 100644 index 00000000..793fb0ef --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMiniFooterSocialButton: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/properties.json new file mode 100644 index 00000000..d6893769 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterSocialButtonTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMiniFooterSocialButtonTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..9ee47de7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMiniFooter ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testWithContent.st new file mode 100644 index 00000000..8a76c3b0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMiniFooter: 'Test' ] generates: '
Test
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/properties.json new file mode 100644 index 00000000..bdfb725c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMiniFooterTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMiniFooterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index a87a57e4..40192c5b 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -4,9 +4,9 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Badge'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Buttons'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! -SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! -SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! -mOrganization addCategory: #'Material-Design-Lite-Components-Tests-Footer'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Forms'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! +rganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! diff --git a/src/Material-Design-Lite-Components.package/MDLIconToggleContainer.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLIconToggleContainer.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..4f7557e4 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLIconToggleContainer.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self class: 'mdl-js-ripple-effect' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLLayoutContent.class/instance/tag.st b/src/Material-Design-Lite-Components.package/MDLLayoutContent.class/instance/tag.st index 05cf63a0..f214e900 100644 --- a/src/Material-Design-Lite-Components.package/MDLLayoutContent.class/instance/tag.st +++ b/src/Material-Design-Lite-Components.package/MDLLayoutContent.class/instance/tag.st @@ -1,3 +1,3 @@ -initialization +accessing tag ^ 'main' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLLayoutTabBar.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLLayoutTabBar.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..4f7557e4 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLLayoutTabBar.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self class: 'mdl-js-ripple-effect' ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderGridDemoOn..st b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderGridDemoOn..st index d0d4d8ca..2fcef258 100644 --- a/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderGridDemoOn..st +++ b/src/Material-Design-Lite-Demo.package/MDLLayoutScreen.class/instance/renderGridDemoOn..st @@ -1,7 +1,8 @@ demos renderGridDemoOn: html - html - mdlGrid: [ 1 to: 12 do: [ :i | + html mdlGrid + shadow: 2; + with: [ 1 to: 12 do: [ :i | html mdlCell class: 'grid-cell-demo'; size: 1; @@ -31,4 +32,13 @@ renderGridDemoOn: html class: 'grid-cell-demo'; size: 2; phoneSize: 4; - with: '2 (4 phone)' ] \ No newline at end of file + with: '2 (4 phone)' ]. + html break. + html mdlGrid + noSpacing; + shadow: 2; + with: [ 1 to: 12 do: [ :i | + html mdlCell + class: 'grid-cell-demo'; + size: 1; + with: 1 ] ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st index ba790f94..fb102186 100644 --- a/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Demo.package/monticello.meta/categories.st @@ -3,6 +3,6 @@ SystemOrganization addCategory: 'Material-Design-Lite-Demo-Components'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Core'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Extensions'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Utils'! -SystemOrganization addCategory: #'Material-Design-Lite-Demo-Widgets'! SystemOrganization addCategory: 'Material-Design-Lite-Demo-Widgets'! +SystemOrganization addCategory: #'Material-Design-Lite-Demo-Widgets'! ets'! From d5a57c3583de8bede9814445221f486f0a48feb1 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Mon, 21 May 2018 23:20:19 +0200 Subject: [PATCH 032/103] Correct one test --- .../MDLLayoutHeaderTest.class/instance/testScroll.st | 2 +- .../MDLLayoutHeaderTest.class/instance/testSeamed.st | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testSeamed.st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st index 4e176323..0b56dd76 100644 --- a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testScroll.st @@ -1,3 +1,3 @@ tests testScroll - self assert: [ :html | html mdlLayoutHeader seamed ] generates: '
' \ No newline at end of file + self assert: [ :html | html mdlLayoutHeader scroll ] generates: '
' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testSeamed.st b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testSeamed.st new file mode 100644 index 00000000..5b4bbb4f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLayoutHeaderTest.class/instance/testSeamed.st @@ -0,0 +1,3 @@ +tests +testSeamed + self assert: [ :html | html mdlLayoutHeader seamed ] generates: '
' \ No newline at end of file From 058a3d8cb6dde619a8752515afbfd60088122150 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Tue, 22 May 2018 14:29:20 +0200 Subject: [PATCH 033/103] Lists tests --- .../MDLListItemSecondaryActionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLListItemSecondaryInfoTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 +++++++++++ .../MDLListItemSubtitleTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLListItemSubtitleTest.class/properties.json | 11 +++++++++++ .../MDLListItemTest.class/README.md | 0 .../MDLListItemTest.class/instance/testBareBrush.st | 3 +++ .../MDLListItemTest.class/instance/testThreeLine.st | 3 +++ .../MDLListItemTest.class/instance/testTwoLine.st | 3 +++ .../MDLListItemTest.class/instance/testWithContent.st | 3 +++ .../MDLListItemTest.class/properties.json | 11 +++++++++++ .../MDLListItemTextBodyTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLListItemTextBodyTest.class/properties.json | 11 +++++++++++ .../MDLListPrimaryContentTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLListPrimaryContentTest.class/properties.json | 11 +++++++++++ .../MDLListSecondaryContentTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLListSecondaryContentTest.class/properties.json | 11 +++++++++++ .../MDLListTest.class/README.md | 0 .../MDLListTest.class/instance/testBareBrush.st | 3 +++ .../MDLListTest.class/instance/testWithContent.st | 3 +++ .../MDLListTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 7 ++++--- .../MDLListItem.class/instance/threeLine.st | 2 +- .../MDLListItem.class/instance/twoLine.st | 2 +- 37 files changed, 148 insertions(+), 5 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testThreeLine.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testTwoLine.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/properties.json diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..f36146a3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListItemSecondaryAction ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..61a085fe --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListItemSecondaryAction: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/properties.json new file mode 100644 index 00000000..a764f234 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryActionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListItemSecondaryActionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..a75ddf7d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListItemSecondaryInfo ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testWithContent.st new file mode 100644 index 00000000..4adcc766 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListItemSecondaryInfo: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/properties.json new file mode 100644 index 00000000..30dba0bd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSecondaryInfoTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListItemSecondaryInfoTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..613e8f10 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListItemSubTitle ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testWithContent.st new file mode 100644 index 00000000..f1f96e6b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListItemSubTitle: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/properties.json new file mode 100644 index 00000000..74088a92 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemSubtitleTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListItemSubtitleTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..90f386ed --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListItem ] generates: '
  • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testThreeLine.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testThreeLine.st new file mode 100644 index 00000000..6f24e127 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testThreeLine.st @@ -0,0 +1,3 @@ +tests +testThreeLine + self assert: [ :html | html mdlListItem threeLine ] generates: '
  • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testTwoLine.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testTwoLine.st new file mode 100644 index 00000000..ef12fe8a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testTwoLine.st @@ -0,0 +1,3 @@ +tests +testTwoLine + self assert: [ :html | html mdlListItem twoLine ] generates: '
  • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testWithContent.st new file mode 100644 index 00000000..6e8c3fe4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListItem: 'test' ] generates: '
  • test
  • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/properties.json new file mode 100644 index 00000000..e7286e55 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListItemTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..75ca3eda --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListItemTextBody ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testWithContent.st new file mode 100644 index 00000000..07bb5a90 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListItemTextBody: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/properties.json new file mode 100644 index 00000000..1f4080a3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListItemTextBodyTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListItemTextBodyTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..dd40bf2d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListPrimaryContent ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testWithContent.st new file mode 100644 index 00000000..5e1f9b39 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListPrimaryContent: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/properties.json new file mode 100644 index 00000000..5db5c048 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListPrimaryContentTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListPrimaryContentTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..83f73448 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlListSecondaryContent ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testWithContent.st new file mode 100644 index 00000000..e086a910 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlListSecondaryContent: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/properties.json new file mode 100644 index 00000000..121e8fca --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListSecondaryContentTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListSecondaryContentTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..656674c2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlList ] generates: '
      ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testWithContent.st new file mode 100644 index 00000000..450ccc89 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlList: 'test' ] generates: '
        test
      ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/properties.json new file mode 100644 index 00000000..0f8bad11 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLListTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-List", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLListTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 40192c5b..04e9260a 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -4,9 +4,10 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Badge'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Buttons'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Card'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Chips'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Core'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Dialog'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Footer'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Forms'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! -SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! -SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-List'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! -rganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! diff --git a/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/threeLine.st b/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/threeLine.st index 05471651..8a070d32 100644 --- a/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/threeLine.st +++ b/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/threeLine.st @@ -1,3 +1,3 @@ -accessing +options threeLine self class: 'mdl-list__item--three-line' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/twoLine.st b/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/twoLine.st index 6815d938..f2341372 100644 --- a/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/twoLine.st +++ b/src/Material-Design-Lite-Components.package/MDLListItem.class/instance/twoLine.st @@ -1,3 +1,3 @@ -accessing +options twoLine self class: 'mdl-list__item--two-line' \ No newline at end of file From b739e70bd3e90a7bdbaaea37444cd6ec7f7fdf7d Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Tue, 22 May 2018 15:01:58 +0200 Subject: [PATCH 034/103] Test navigation --- .../MDLLogoTest.class/README.md | 0 .../MDLLogoTest.class/instance/testBareBrush.st | 3 +++ .../MDLLogoTest.class/instance/testWithContent.st | 3 +++ .../MDLLogoTest.class/properties.json | 11 +++++++++++ .../MDLMenuItemTest.class/README.md | 0 .../MDLMenuItemTest.class/instance/testBareBrush.st | 3 +++ .../MDLMenuItemTest.class/instance/testDisable.st | 3 +++ .../MDLMenuItemTest.class/instance/testDisabled.st | 3 +++ .../instance/testFullBleedDivider.st | 3 +++ .../MDLMenuItemTest.class/instance/testWithContent.st | 3 +++ .../MDLMenuItemTest.class/properties.json | 11 +++++++++++ .../MDLMenuTest.class/README.md | 0 .../MDLMenuTest.class/instance/testBareBrush.st | 3 +++ .../MDLMenuTest.class/instance/testBottomLeft.st | 3 +++ .../MDLMenuTest.class/instance/testBottomRight.st | 3 +++ .../MDLMenuTest.class/instance/testFor.st | 3 +++ .../MDLMenuTest.class/instance/testRippleEffect.st | 3 +++ .../MDLMenuTest.class/instance/testRippleEffectIf.st | 4 ++++ .../MDLMenuTest.class/instance/testTopLeft.st | 3 +++ .../MDLMenuTest.class/instance/testTopRight.st | 3 +++ .../MDLMenuTest.class/instance/testWithContent.st | 3 +++ .../MDLMenuTest.class/properties.json | 11 +++++++++++ .../MDLNavigationLinkTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testBeCurrent.st | 3 +++ .../instance/testBeCurrentIf.st | 6 ++++++ .../instance/testWithContent.st | 3 +++ .../MDLNavigationLinkTest.class/properties.json | 11 +++++++++++ .../MDLNavigationTest.class/README.md | 0 .../MDLNavigationTest.class/instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLNavigationTest.class/properties.json | 11 +++++++++++ .../MDLTabsContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLTabsContainerTest.class/properties.json | 11 +++++++++++ .../MDLTabsPanelTest.class/README.md | 0 .../MDLTabsPanelTest.class/instance/testBareBrush.st | 3 +++ .../MDLTabsPanelTest.class/instance/testIsActive.st | 3 +++ .../MDLTabsPanelTest.class/instance/testIsActiveIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLTabsPanelTest.class/properties.json | 11 +++++++++++ .../MDLTabsTabBarTest.class/README.md | 0 .../MDLTabsTabBarTest.class/instance/testBareBrush.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLTabsTabBarTest.class/properties.json | 11 +++++++++++ .../MDLTabsTabTest.class/README.md | 0 .../MDLTabsTabTest.class/instance/testBareBrush.st | 3 +++ .../MDLTabsTabTest.class/instance/testIsActive.st | 3 +++ .../MDLTabsTabTest.class/instance/testIsActiveIf.st | 4 ++++ .../MDLTabsTabTest.class/instance/testWithContent.st | 3 +++ .../MDLTabsTabTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../MDLLogo.class/properties.json | 2 +- .../MDLMenu.class/instance/rippleEffectIf..st | 3 +++ .../MDLMenuItem.class/instance/disable.st | 2 +- .../instance/rippleEffectIf..st | 3 +++ .../MDLTabsPanel.class/instance/isActiveIf..st | 2 +- .../MDLTabsTab.class/instance/isActiveIf..st | 2 +- .../MDLTabsTabBar.class/instance/rippleEffectIf..st | 3 +++ 64 files changed, 235 insertions(+), 4 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisable.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisabled.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testFullBleedDivider.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomLeft.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomRight.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopLeft.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopRight.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrentIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActive.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActiveIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActive.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActiveIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components.package/MDLMenu.class/instance/rippleEffectIf..st create mode 100644 src/Material-Design-Lite-Components.package/MDLTabsContainer.class/instance/rippleEffectIf..st create mode 100644 src/Material-Design-Lite-Components.package/MDLTabsTabBar.class/instance/rippleEffectIf..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..a22cded4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlLogo ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testWithContent.st new file mode 100644 index 00000000..67661b83 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlLogo: 'Logo' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/properties.json new file mode 100644 index 00000000..efa548b7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLLogoTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Footer", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLLogoTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..0e20be61 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMenuItem ] generates: '
    • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisable.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisable.st new file mode 100644 index 00000000..31ddf97b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisable.st @@ -0,0 +1,3 @@ +tests +testDisable + self assert: [ :html | html mdlMenuItem disable ] generates: '
    • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisabled.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisabled.st new file mode 100644 index 00000000..be3372d4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testDisabled.st @@ -0,0 +1,3 @@ +tests +testDisabled + self assert: [ :html | html mdlMenuItem disabled ] generates: '
    • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testFullBleedDivider.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testFullBleedDivider.st new file mode 100644 index 00000000..3dd90bb2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testFullBleedDivider.st @@ -0,0 +1,3 @@ +tests +testFullBleedDivider + self assert: [ :html | html mdlMenuItem fullBleedDivider ] generates: '
    • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testWithContent.st new file mode 100644 index 00000000..ad1610af --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMenuItem: 'test' ] generates: '
    • test
    • ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/properties.json new file mode 100644 index 00000000..59956ba3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuItemTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMenuItemTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..a6a5abbc --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMenu ] generates: '
        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomLeft.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomLeft.st new file mode 100644 index 00000000..6b771425 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomLeft.st @@ -0,0 +1,3 @@ +tests +testBottomLeft + self assert: [ :html | html mdlMenu bottomLeft ] generates: '
          ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomRight.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomRight.st new file mode 100644 index 00000000..852542f7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testBottomRight.st @@ -0,0 +1,3 @@ +tests +testBottomRight + self assert: [ :html | html mdlMenu bottomRight ] generates: '
            ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testFor.st new file mode 100644 index 00000000..ffb2b011 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testFor.st @@ -0,0 +1,3 @@ +tests +testFor + self assert: [ :html | html mdlMenu for: html nextId ] generates: '
              ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..9d0b174d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlMenu rippleEffect ] generates: '
                ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..4b336045 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlMenu rippleEffectIf: true ] generates: '
                  '. + self assert: [ :html | html mdlMenu rippleEffectIf: false ] generates: '
                    ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopLeft.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopLeft.st new file mode 100644 index 00000000..cf793ea5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopLeft.st @@ -0,0 +1,3 @@ +tests +testTopLeft + self assert: [ :html | html mdlMenu topLeft ] generates: '
                      ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopRight.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopRight.st new file mode 100644 index 00000000..3cbd9faa --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testTopRight.st @@ -0,0 +1,3 @@ +tests +testTopRight + self assert: [ :html | html mdlMenu topRight ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testWithContent.st new file mode 100644 index 00000000..77406771 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMenu with: 'Test' ] generates: '
                          Test
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/properties.json new file mode 100644 index 00000000..5f429b4b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMenuTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMenuTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..ef5d0e69 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlNavigationLink ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrent.st b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrent.st new file mode 100644 index 00000000..bcedefff --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrent.st @@ -0,0 +1,3 @@ +tests +testBeCurrent + self assert: [ :html | html mdlNavigationLink beCurrent ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrentIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrentIf.st new file mode 100644 index 00000000..f274ec29 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testBeCurrentIf.st @@ -0,0 +1,6 @@ +tests +testBeCurrentIf + self assert: [ :html | html mdlNavigationLink beCurrentIf: true ] generates: ''. + self assert: [ :html | html mdlNavigationLink beCurrentIf: false ] generates: ''. + self assert: [ :html | html mdlNavigationLink beCurrentIf: [ true ] ] generates: ''. + self assert: [ :html | html mdlNavigationLink beCurrentIf: [ false ] ] generates: ''. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testWithContent.st new file mode 100644 index 00000000..356b2646 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlNavigationLink: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/properties.json new file mode 100644 index 00000000..ab1ba192 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationLinkTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLNavigationLinkTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..8c039b27 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlNavigation ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testWithContent.st new file mode 100644 index 00000000..fca7cd73 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlNavigation: 'test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/properties.json new file mode 100644 index 00000000..11d85025 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLNavigationTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLNavigationTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..4a79ff31 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlTabs ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..3d0082ce --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlTabs rippleEffect ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..df2a44a7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlTabs rippleEffectIf: true ] generates: '
                        '. + self assert: [ :html | html mdlTabs rippleEffectIf: false ] generates: '
                        '. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..52e6f257 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlTabs: 'test' ] generates: '
                        test
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/properties.json new file mode 100644 index 00000000..b002293d --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLTabsContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..ad69f8c3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlTabsPanel ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActive.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActive.st new file mode 100644 index 00000000..ee9329d2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActive.st @@ -0,0 +1,3 @@ +tests +testIsActive + self assert: [ :html | html mdlTabsPanel isActive ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActiveIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActiveIf.st new file mode 100644 index 00000000..406fc9d2 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testIsActiveIf.st @@ -0,0 +1,4 @@ +tests +testIsActiveIf + self assert: [ :html | html mdlTabsPanel isActiveIf: true ] generates: '
                        '. + self assert: [ :html | html mdlTabsPanel isActiveIf: false ] generates: '
                        '. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testWithContent.st new file mode 100644 index 00000000..90bfc672 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlTabsPanel: 'test' ] generates: '
                        test
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/properties.json new file mode 100644 index 00000000..ed736efd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsPanelTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLTabsPanelTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..dc5bce6e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlTabBar ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..09e65385 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlTabBar rippleEffect ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..cf0c52c9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlTabBar rippleEffectIf: true ] generates: '
                        '. + self assert: [ :html | html mdlTabBar rippleEffectIf: false ] generates: '
                        '. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testWithContent.st new file mode 100644 index 00000000..2029505a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlTabBar: 'test' ] generates: '
                        test
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/properties.json new file mode 100644 index 00000000..76ff27cd --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabBarTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLTabsTabBarTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..1e5b2df7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlTab ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActive.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActive.st new file mode 100644 index 00000000..afea4e5e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActive.st @@ -0,0 +1,3 @@ +tests +testIsActive + self assert: [ :html | html mdlTab isActive ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActiveIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActiveIf.st new file mode 100644 index 00000000..290c2c07 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testIsActiveIf.st @@ -0,0 +1,4 @@ +tests +testIsActiveIf + self assert: [ :html | html mdlTab isActiveIf: true ] generates: ''. + self assert: [ :html | html mdlTab isActiveIf: false ] generates: ''. \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testWithContent.st new file mode 100644 index 00000000..0ba731de --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlTab: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/properties.json new file mode 100644 index 00000000..e68e70da --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLTabsTabTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Nav", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLTabsTabTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index 04e9260a..e44bae91 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -11,3 +11,4 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Forms'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-List'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Nav'! diff --git a/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json b/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json index 1033893a..25b7c095 100644 --- a/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json +++ b/src/Material-Design-Lite-Components.package/MDLLogo.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "CyrilFerlicot 3/30/2018 17:21", "super" : "MDLDivTag", - "category" : "Material-Design-Lite-Components-Loading", + "category" : "Material-Design-Lite-Components-Footer", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/src/Material-Design-Lite-Components.package/MDLMenu.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLMenu.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..fad3a5d3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLMenu.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self rippleEffect ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLMenuItem.class/instance/disable.st b/src/Material-Design-Lite-Components.package/MDLMenuItem.class/instance/disable.st index 316e66cc..63fb4834 100644 --- a/src/Material-Design-Lite-Components.package/MDLMenuItem.class/instance/disable.st +++ b/src/Material-Design-Lite-Components.package/MDLMenuItem.class/instance/disable.st @@ -1,3 +1,3 @@ options disable - self attributeAt: 'disabled' put: 'true' \ No newline at end of file + self disabled \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLTabsContainer.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLTabsContainer.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..fad3a5d3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLTabsContainer.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self rippleEffect ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLTabsPanel.class/instance/isActiveIf..st b/src/Material-Design-Lite-Components.package/MDLTabsPanel.class/instance/isActiveIf..st index 5e37e692..52c11f25 100644 --- a/src/Material-Design-Lite-Components.package/MDLTabsPanel.class/instance/isActiveIf..st +++ b/src/Material-Design-Lite-Components.package/MDLTabsPanel.class/instance/isActiveIf..st @@ -1,3 +1,3 @@ options isActiveIf: aBoolean - self class: 'is-active' if: aBoolean \ No newline at end of file + aBoolean ifTrue: [ self isActive ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLTabsTab.class/instance/isActiveIf..st b/src/Material-Design-Lite-Components.package/MDLTabsTab.class/instance/isActiveIf..st index 5e37e692..52c11f25 100644 --- a/src/Material-Design-Lite-Components.package/MDLTabsTab.class/instance/isActiveIf..st +++ b/src/Material-Design-Lite-Components.package/MDLTabsTab.class/instance/isActiveIf..st @@ -1,3 +1,3 @@ options isActiveIf: aBoolean - self class: 'is-active' if: aBoolean \ No newline at end of file + aBoolean ifTrue: [ self isActive ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLTabsTabBar.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLTabsTabBar.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..fad3a5d3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLTabsTabBar.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self rippleEffect ] \ No newline at end of file From c591a5c07fb9f628044606b9eb4c3e2005032cb2 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Wed, 23 May 2018 01:40:56 +0200 Subject: [PATCH 035/103] Test loading and some forms. --- .../MDLMultilineTextFieldTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLMultilineTextFieldTest.class/properties.json | 11 +++++++++++ .../MDLProgressBarTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testIndeterminate.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLProgressBarTest.class/properties.json | 11 +++++++++++ .../MDLRadioButtonTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLRadioButtonTest.class/properties.json | 11 +++++++++++ .../MDLRadioContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../MDLRadioContainerTest.class/instance/testFor.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLRadioContainerTest.class/properties.json | 11 +++++++++++ .../MDLRadioLabelTest.class/README.md | 0 .../MDLRadioLabelTest.class/instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLRadioLabelTest.class/properties.json | 11 +++++++++++ .../MDLSliderContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLSliderContainerTest.class/properties.json | 11 +++++++++++ .../MDLSliderTest.class/README.md | 0 .../MDLSliderTest.class/instance/testBareBrush.st | 3 +++ .../MDLSliderTest.class/instance/testShowBounds.st | 3 +++ .../MDLSliderTest.class/instance/testWithContent.st | 3 +++ .../MDLSliderTest.class/properties.json | 11 +++++++++++ .../MDLSpinnerTest.class/README.md | 0 .../MDLSpinnerTest.class/instance/testBareBrush.st | 3 +++ .../MDLSpinnerTest.class/instance/testIsActive.st | 3 +++ .../MDLSpinnerTest.class/instance/testSingleColor.st | 3 +++ .../MDLSpinnerTest.class/instance/testWithContent.st | 3 +++ .../MDLSpinnerTest.class/properties.json | 11 +++++++++++ .../MDLSwitchContainerTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../MDLSwitchContainerTest.class/instance/testFor.st | 3 +++ .../instance/testRippleEffect.st | 3 +++ .../instance/testRippleEffectIf.st | 4 ++++ .../instance/testWithContent.st | 3 +++ .../MDLSwitchContainerTest.class/properties.json | 11 +++++++++++ .../MDLSwitchTest.class/README.md | 0 .../MDLSwitchTest.class/instance/testBareBrush.st | 3 +++ .../MDLSwitchTest.class/instance/testWithContent.st | 3 +++ .../MDLSwitchTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../MDLProgressBar.class/instance/initialize.st | 2 +- .../instance/rippleEffectIf..st | 3 +++ .../MDLSlider.class/instance/showBounds.st | 4 +++- .../MDLSpinner.class/instance/initialize.st | 2 +- .../instance/rippleEffectIf..st | 3 +++ 56 files changed, 214 insertions(+), 3 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testIndeterminate.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testShowBounds.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testIsActive.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testSingleColor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffect.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffectIf.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components.package/MDLRadioContainer.class/instance/rippleEffectIf..st create mode 100644 src/Material-Design-Lite-Components.package/MDLSwitchContainer.class/instance/rippleEffectIf..st diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..9cfb04cf --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlMultilineTextField ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testWithContent.st new file mode 100644 index 00000000..e01d48f5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlMultilineTextField: 'Test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/properties.json new file mode 100644 index 00000000..a7a3d933 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLMultilineTextFieldTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLMultilineTextFieldTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..6f1a7ca4 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlProgressBar ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testIndeterminate.st b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testIndeterminate.st new file mode 100644 index 00000000..4d815cd9 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testIndeterminate.st @@ -0,0 +1,3 @@ +tests +testIndeterminate + self assert: [ :html | html mdlProgressBar indeterminate ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testWithContent.st new file mode 100644 index 00000000..941ac32e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Should not have content inside." \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/properties.json new file mode 100644 index 00000000..eb69568e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLProgressBarTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-loading", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLProgressBarTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..1402e063 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlRadioButton ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testWithContent.st new file mode 100644 index 00000000..39e11d9b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Not with this tag" \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/properties.json new file mode 100644 index 00000000..02080887 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioButtonTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLRadioButtonTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..eece924c --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlRadioContainer ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testFor.st new file mode 100644 index 00000000..0b8b5aea --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testFor.st @@ -0,0 +1,3 @@ +tests +testFor + self assert: [ :html | html mdlRadioContainer for: html nextId ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..aa42c422 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlRadioContainer rippleEffect ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..efa4543e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlRadioContainer rippleEffectIf: true ] generates: ''. + self assert: [ :html | html mdlRadioContainer rippleEffectIf: false ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..aec1429b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlRadioContainer with: 'test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/properties.json new file mode 100644 index 00000000..10c77fc7 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLRadioContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..592d9e23 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html brush: MDLRadioLabel new ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testWithContent.st new file mode 100644 index 00000000..b194e9ee --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlRadioLabel: 'test' ] generates: 'test' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/properties.json new file mode 100644 index 00000000..c2fc0288 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLRadioLabelTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLRadioLabelTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..866e7aca --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlSliderContainer ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..6a530e16 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlSliderContainer: 'test' ] generates: '
                        test
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/properties.json new file mode 100644 index 00000000..9720fba6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLSliderContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..649ce6aa --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlSlider ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testShowBounds.st b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testShowBounds.st new file mode 100644 index 00000000..f8161808 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testShowBounds.st @@ -0,0 +1,3 @@ +tests +testShowBounds + self assert: [ :html | html mdlSlider showBounds ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testWithContent.st new file mode 100644 index 00000000..2b1e1d4a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Not with this brush" \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/properties.json new file mode 100644 index 00000000..ed142bc5 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSliderTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLSliderTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..dd9dd47e --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlSpinner ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testIsActive.st b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testIsActive.st new file mode 100644 index 00000000..7d1b5a0f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testIsActive.st @@ -0,0 +1,3 @@ +tests +testIsActive + self assert: [ :html | html mdlSpinner active ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testSingleColor.st b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testSingleColor.st new file mode 100644 index 00000000..c719cdd3 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testSingleColor.st @@ -0,0 +1,3 @@ +tests +testSingleColor + self assert: [ :html | html mdlSpinner singleColor ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..bdec527a --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Not for spinners." \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/properties.json new file mode 100644 index 00000000..d9e4c628 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSpinnerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-loading", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLSpinnerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..035b36f6 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlSwitchContainer ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testFor.st new file mode 100644 index 00000000..2c3e1849 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testFor.st @@ -0,0 +1,3 @@ +tests +testFor + self assert: [ :html | html mdlSwitchContainer for: html nextId ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffect.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffect.st new file mode 100644 index 00000000..7e02ff38 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffect.st @@ -0,0 +1,3 @@ +tests +testRippleEffect + self assert: [ :html | html mdlSwitchContainer rippleEffect ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffectIf.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffectIf.st new file mode 100644 index 00000000..daa49648 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testRippleEffectIf.st @@ -0,0 +1,4 @@ +tests +testRippleEffectIf + self assert: [ :html | html mdlSwitchContainer rippleEffectIf: true ] generates: ''. + self assert: [ :html | html mdlSwitchContainer rippleEffectIf: false ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testWithContent.st new file mode 100644 index 00000000..be7be11f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + self assert: [ :html | html mdlSwitchContainer with: 'test' ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/properties.json new file mode 100644 index 00000000..26ae7655 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchContainerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLSwitchContainerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..e55b0087 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlSwitch ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testWithContent.st new file mode 100644 index 00000000..4ff46c74 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Not for this brush" \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/properties.json new file mode 100644 index 00000000..2c102a88 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSwitchTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Forms", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLSwitchTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st index e44bae91..57f37754 100644 --- a/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st +++ b/src/Material-Design-Lite-Components-Tests.package/monticello.meta/categories.st @@ -12,3 +12,4 @@ SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Layouts' SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-List'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Manifest'! SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-Nav'! +SystemOrganization addCategory: #'Material-Design-Lite-Components-Tests-loading'! diff --git a/src/Material-Design-Lite-Components.package/MDLProgressBar.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLProgressBar.class/instance/initialize.st index 3579c28b..6c197262 100644 --- a/src/Material-Design-Lite-Components.package/MDLProgressBar.class/instance/initialize.st +++ b/src/Material-Design-Lite-Components.package/MDLProgressBar.class/instance/initialize.st @@ -1,4 +1,4 @@ -initialize-release +initialization initialize super initialize. self class: 'mdl-progress'. diff --git a/src/Material-Design-Lite-Components.package/MDLRadioContainer.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLRadioContainer.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..fad3a5d3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLRadioContainer.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self rippleEffect ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLSlider.class/instance/showBounds.st b/src/Material-Design-Lite-Components.package/MDLSlider.class/instance/showBounds.st index 02daead1..a5565f13 100644 --- a/src/Material-Design-Lite-Components.package/MDLSlider.class/instance/showBounds.st +++ b/src/Material-Design-Lite-Components.package/MDLSlider.class/instance/showBounds.st @@ -1,3 +1,5 @@ options showBounds - self class: #'mdl-slider-bounds' \ No newline at end of file + "This option currently does not work on some browsers" + + self class: 'mdl-slider-bounds' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components.package/MDLSpinner.class/instance/initialize.st b/src/Material-Design-Lite-Components.package/MDLSpinner.class/instance/initialize.st index 10deb255..3bf7b3ce 100644 --- a/src/Material-Design-Lite-Components.package/MDLSpinner.class/instance/initialize.st +++ b/src/Material-Design-Lite-Components.package/MDLSpinner.class/instance/initialize.st @@ -1,4 +1,4 @@ -initialize-release +initialization initialize super initialize. self class: 'mdl-spinner'. diff --git a/src/Material-Design-Lite-Components.package/MDLSwitchContainer.class/instance/rippleEffectIf..st b/src/Material-Design-Lite-Components.package/MDLSwitchContainer.class/instance/rippleEffectIf..st new file mode 100644 index 00000000..fad3a5d3 --- /dev/null +++ b/src/Material-Design-Lite-Components.package/MDLSwitchContainer.class/instance/rippleEffectIf..st @@ -0,0 +1,3 @@ +options +rippleEffectIf: aBoolean + aBoolean ifTrue: [ self rippleEffect ] \ No newline at end of file From 9497c65bf111cff63d45ebb2bbd399f50be7c4c2 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 24 May 2018 02:08:18 +0200 Subject: [PATCH 036/103] Correct snackbar demo, clean code and add tests. See https://github.com/DuneSt/MaterialDesignLite/issues/172 --- .../instance/deny.generatedIncludes..st | 6 +++++ .../MDLSnackbarActionTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../properties.json | 11 ++++++++ .../MDLSnackbarTest.class/README.md | 0 .../instance/testAction.st | 10 +++++++ .../instance/testActionText.st | 11 ++++++++ .../testActionTextNotDisplayedIfNoAction.st | 12 +++++++++ .../instance/testBareBrush.st | 3 +++ .../instance/testMessage.st | 10 +++++++ .../instance/testSnackbarButtonFor.st | 6 +++++ .../instance/testTimeout.st | 10 +++++++ .../instance/testWithContent.st | 3 +++ .../MDLSnackbarTest.class/properties.json | 11 ++++++++ .../MDLSnackbarTextTest.class/README.md | 0 .../instance/testBareBrush.st | 3 +++ .../instance/testWithContent.st | 3 +++ .../MDLSnackbarTextTest.class/properties.json | 11 ++++++++ .../monticello.meta/categories.st | 2 ++ .../MDLSnackbar.class/instance/action..st | 4 +-- .../MDLSnackbar.class/instance/actionText..st | 4 +-- .../instance/defaultTimeout.st | 2 +- .../instance/getJsShowingSnackbar.st | 26 +++++++++---------- .../MDLSnackbar.class/instance/initialize.st | 1 - .../MDLSnackbar.class/instance/message..st | 4 +-- .../MDLSnackbar.class/instance/timeout..st | 4 +-- .../instance/renderSnackbarOn..st | 10 +++---- 28 files changed, 144 insertions(+), 29 deletions(-) create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/deny.generatedIncludes..st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testAction.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionText.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionTextNotDisplayedIfNoAction.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testMessage.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testSnackbarButtonFor.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testTimeout.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/properties.json create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTextTest.class/README.md create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTextTest.class/instance/testBareBrush.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTextTest.class/instance/testWithContent.st create mode 100644 src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTextTest.class/properties.json diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/deny.generatedIncludes..st b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/deny.generatedIncludes..st new file mode 100644 index 00000000..2327e88f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLAbstractBrushTest.class/instance/deny.generatedIncludes..st @@ -0,0 +1,6 @@ +asserting +deny: aBlock generatedIncludes: aString + self + executeWithMockContext: [ | actual | + actual := WAHtmlCanvas builder render: aBlock. + self deny: (actual includesSubstring: aString) description: actual , ' should includes ' , aString ] \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..089bd5bb --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html brush: MDLSnackbarAction new ] generates: '' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testWithContent.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testWithContent.st new file mode 100644 index 00000000..583b740f --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/instance/testWithContent.st @@ -0,0 +1,3 @@ +tests +testWithContent + "Nothing for this one." \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/properties.json b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/properties.json new file mode 100644 index 00000000..b2686d64 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarActionTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "MDLAbstractBrushTest", + "category" : "Material-Design-Lite-Components-Tests-Snackbar", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "MDLSnackbarActionTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/README.md b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testAction.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testAction.st new file mode 100644 index 00000000..064c9794 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testAction.st @@ -0,0 +1,10 @@ +tests +testAction + self + assert: [ :html | + html + mdlSnackbarButtonFor: + (html mdlSnackbar + action: 'console.log(''test'')'; + yourself) ] + generatedIncludes: 'function(event){console.log(''test'')};' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionText.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionText.st new file mode 100644 index 00000000..969363f0 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionText.st @@ -0,0 +1,11 @@ +tests +testActionText + self + assert: [ :html | + html + mdlSnackbarButtonFor: + (html mdlSnackbar + action: 'console.log("test")'; + actionText: 'Button name'; + yourself) ] + generatedIncludes: 'Button name' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionTextNotDisplayedIfNoAction.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionTextNotDisplayedIfNoAction.st new file mode 100644 index 00000000..f4134d80 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testActionTextNotDisplayedIfNoAction.st @@ -0,0 +1,12 @@ +tests +testActionTextNotDisplayedIfNoAction + "If there is no action, we should not have a the action name in the result." + + self + deny: [ :html | + html + mdlSnackbarButtonFor: + (html mdlSnackbar + actionText: 'Button name'; + yourself) ] + generatedIncludes: 'Button name' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testBareBrush.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testBareBrush.st new file mode 100644 index 00000000..1032b00b --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testBareBrush.st @@ -0,0 +1,3 @@ +tests +testBareBrush + self assert: [ :html | html mdlSnackbar ] generates: '
                        ' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testMessage.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testMessage.st new file mode 100644 index 00000000..d5a85f75 --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testMessage.st @@ -0,0 +1,10 @@ +tests +testMessage + self + assert: [ :html | + html + mdlSnackbarButtonFor: + (html mdlSnackbar + message: 'Message for the user'; + yourself) ] + generatedIncludes: 'Message for the user' \ No newline at end of file diff --git a/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testSnackbarButtonFor.st b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testSnackbarButtonFor.st new file mode 100644 index 00000000..08b31ead --- /dev/null +++ b/src/Material-Design-Lite-Components-Tests.package/MDLSnackbarTest.class/instance/testSnackbarButtonFor.st @@ -0,0 +1,6 @@ +tests +testSnackbarButtonFor + self + assert: [ :html | html mdlSnackbarButtonFor: html mdlSnackbar ] + generatedIncludesAll: + #('
                        ' '