WAAllTests


Seaside-Examples-Test

Comment:

If you want to see these examples:

/seaside/config app:
- add a new application named "tests"
- choose WAAllTests as the root component

Hierarchy:

ProtoObject
Object
WAPresenter
WAComponent
WAFrameComponent
WAAllTests

Summary:

methods:

instance class
as yet unclassified initialize testing

Detail:

instance methods:

as yet unclassified
initialize

	self contents:
	 (WASimpleNavigation new
		add: WAInputTest new label: 'Input';
		add: WAHtmlTest new label: 'Html';
		add: WAEncodingTest new label: 'Encoding';
		add: WAErrorTest new label: 'Error';
		add: WAExceptionTest new label: 'Exception';
		add: WAClosureTest new label: 'Closure';
		add: WATransactionTest new label: 'Transaction';
		add: WAUploadTest new label: 'Upload';
		add: (WAParentTest new parent: self) label: 'Parent';
		add:  WAPathTest new label: 'Path';
		add: WATaskTest new label: 'Task';
		add: WACookieTest new label: 'Cookies';
		add: WACallbackTest new label: 'Callbacks';
		add: WACanvasTest new label: 'Canvas';
		add: WALiveRequestTest new label: 'Live';
		add: WAImageTest new label: 'Images';
		add: WAHomeTest new label: 'Home';
		add: WACacheTest new label: 'Cache';
		yourself)
renderContentOn: html

	html heading: 'Test Components'.
	html render: contents
updateRoot: anHtmlRoot

	super updateRoot: anHtmlRoot.
	anHtmlRoot title: 'Seaside Tests: ', contents selection asString

class methods:

initialize
initialize

	self registerAsApplication: 'alltests'.

testing
canBeRoot

	^ true

^top


- made by Dandelion -