Skip to content

Commit

Permalink
Merge pull request #130 from ba-st/issue_129
Browse files Browse the repository at this point in the history
Make Date and Number fields more polymorphic with text fields.
  • Loading branch information
gcotelli authored Sep 9, 2018
2 parents 80647f5 + af60903 commit b4e190f
Show file tree
Hide file tree
Showing 101 changed files with 252 additions and 210 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #AddTimestampToSourceCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/AjaxAwareErrorHandlerTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An AjaxAwareErrorHandlerTest is a test class for testing the behavior of AjaxAwa
Class {
#name : #AjaxAwareErrorHandlerTest,
#superclass : #WAErrorHandlerTest,
#category : 'Willow-Tests-Applications'
#category : #'Willow-Tests-Applications'
}

{ #category : #accessing }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/AlertingCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/AsynchronicButtonWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An AsynchronicButtonWebViewTest is a test class for testing the behavior of Asyn
Class {
#name : #AsynchronicButtonWebViewTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #'tests-rendering' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/AutoFocusComponentCommandTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #AutoFocusComponentCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/BinaryChoiceWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'notificationWasReceived'
],
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #testing }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/CheckboxWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A CheckboxWebViewTest is a test class for testing the behavior of CheckboxWebVie
Class {
#name : #CheckboxWebViewTest,
#superclass : #BinaryChoiceWebViewTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #'instance creation' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentAccessibilityEnrichmentCommandTest is a test class for testing the be
Class {
#name : #ComponentAccessibilityEnrichmentCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentAttributeCommandTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #ComponentAttributeCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentBoundaryCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentBoundaryCommandTest is a test class for testing the behavior of Compo
Class {
#name : #ComponentBoundaryCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentCallbackSettingCommandTest is a test class for testing the behavior o
Class {
#name : #ComponentCallbackSettingCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentClassificationCommandTest is a test class for testing the behavior of
Class {
#name : #ComponentClassificationCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentFocusingCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentMetadataCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentMetadataCommandTest is a test class for testing the behavior of Compo
Class {
#name : #ComponentMetadataCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentNamingCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentNamingCommandTest is a test class for testing the behavior of Compone
Class {
#name : #ComponentNamingCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentPlaceholderCommandTest is a test class for testing the behavior of Co
Class {
#name : #ComponentPlaceholderCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentReadOnlyCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentReadOnlyCommandTest is a test class for testing the behavior of Compo
Class {
#name : #ComponentReadOnlyCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentRemovingCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentRequiredCommandTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #ComponentRequiredCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentScriptCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentScriptCommandTest is a test class for testing the behavior of Compone
Class {
#name : #ComponentScriptCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-applying' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ComponentTitleCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ComponentTitleCommandTest is a test class for testing the behavior of Componen
Class {
#name : #ComponentTitleCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/CompositeComponentCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A CompositeComponentCommandTest is a test class for testing the behavior of Comp
Class {
#name : #CompositeComponentCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/CompositeTableRowCommandTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #CompositeTableRowCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #tests }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ConditionalComponentCommandTest is a test class for testing the behavior of Co
Class {
#name : #ConditionalComponentCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ConfirmationCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
4 changes: 2 additions & 2 deletions source/Willow-Tests/DateFieldWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'notificationWasReceived'
],
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #support }
Expand Down Expand Up @@ -46,7 +46,7 @@ DateFieldWebViewTest >> testIdentifyIn [
dateField identifyIn: canvas.
canvas render: dateField ].

self assert: html equals: '<input value="" name="2" id="text-id1" type="date"/>'
self assert: html equals: '<input value="" name="2" id="date-field-id1" type="date"/>'
]

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/DelayedCommandTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #DelayedCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #'test support' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/DeselectAllOptionsCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A DeselectAllOptionsCommandTest is a test class for testing the behavior of Dese
Class {
#name : #DeselectAllOptionsCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/DialogClosingCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #private }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/DialogOpeningCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
#instVars : [
'command'
],
#category : 'Willow-Tests-WebInteraction'
#category : #'Willow-Tests-WebInteraction'
}

{ #category : #initialization }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/DisableComponentCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A DisableComponentCommandTest is a test class for testing the behavior of Disabl
Class {
#name : #DisableComponentCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A DisableComponentTabCycleCommandTest is a test class for testing the behavior o
Class {
#name : #DisableComponentTabCycleCommandTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #'tests-processing' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/DropDownListWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A DropDownListWebViewTest is a test class for testing the behavior of DropDownLi
Class {
#name : #DropDownListWebViewTest,
#superclass : #SingleSelectionWebViewTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #support }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/FieldSetWebViewTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #FieldSetWebViewTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/FileDownloadAnchorWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A FileDownloadAnchorWebViewTest is a test class for testing the behavior of File
Class {
#name : #FileDownloadAnchorWebViewTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #'tests-rendering' }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/FloatCodecTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A FloatCodecTest is a test class for testing the behavior of FloatCodec
Class {
#name : #FloatCodecTest,
#superclass : #TestCase,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/GenericContainerWebViewTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A GenericContainerWebViewTest is a test class for testing the behavior of Generi
Class {
#name : #GenericContainerWebViewTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/HeadingWebViewTest.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #HeadingWebViewTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-WebViews'
#category : #'Willow-Tests-WebViews'
}

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/Html5ComponentSupplierTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A Html5ComponentSupplierTest is a test class for testing the behavior of Html5Co
Class {
#name : #Html5ComponentSupplierTest,
#superclass : #WARenderingTest,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #private }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Tests/ISODateCodecTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A ISODateCodecTest is a test class for testing the behavior of ISODateCodec
Class {
#name : #ISODateCodecTest,
#superclass : #TestCase,
#category : 'Willow-Tests-Frontend'
#category : #'Willow-Tests-Frontend'
}

{ #category : #tests }
Expand Down
Loading

0 comments on commit b4e190f

Please sign in to comment.