Ahmed Ashour
7065740d6d
Use interface instead of implementation (#10073)
6 years ago
Pekka Hyvönen
48c249a13e
Replace setRequired & HasRequired with setRequiredIndicator
Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy).
Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect.
Internally it is still handled on AbstractComponent & -Connector level.
Changes the declarative syntax, required -> required-indicator-visible.
Fixes vaadin/framework8-issue#419
Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
7 years ago
Pekka Hyvönen
fb4248119d
Remove AbstractComponent.immediate
All components are now in immediate mode by default.
V7 compatibility components will use AbstractLegacyComponent that has immediate.
V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window,
which is not in V7 compatibility packages.
Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests,
since those tested UI in not immediate mode, which is invalid now.
Removed WindowResizeListener, LazyWindowResize, test UIs,
since both used immediate and there were no test run for either.
Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
7 years ago
Artur Signell
e77421b443
Fix AbstractTextFieldConnector super class
This makes field level features work correctly with
TextField/PasswordField/TextArea
Change-Id: I10c9fff10fdcf300e1e3a1940c97260ace849a81
7 years ago
Johannes Dahlström
c4a38e2502
Refactor AbstractComponentTest to extend AbstractTestUI
Change-Id: Ie614e7a7bf069ab4035cfcd35c3bc98007adfd4b
7 years ago
Artur Signell
504b3c4c65
Use diamond operator where it can be used
Does not modify compatibility packages to keep to closer to Vaadin 7.7
Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
7 years ago
Artur Signell
c6b44ac8ad
Move and rename server classes which go into the compatibility package
* Use com.vaadin.v7
* Use the same class name as in Vaadin 7
* Use a "vaadin7-" declarative prefix for Vaadin 7 components
Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
7 years ago
Artur Signell
be6a0cfd84
Organize imports
Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
7 years ago
Artur Signell
f3c880194b
Rename legacy packages to v7
Change-Id: I53f3bd49c234a8d126887f6effa83a3c5c92b4e0
7 years ago
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 years ago
Henri Sara
5c852b41ff
Convert CheckBox from legacy to AbstractField
Add LegacyCheckBox for old field factories, Grid editor etc.
Change-Id: Ic40790049421268c6de3d26730d1955d56aa86c4
8 years ago
Johannes Dahlström
f6f111b88f
Rename Field, AbstractField to legacy names
Change-Id: I46ce708e0f10e4c9fa3d11a2aef5be0248c2999f
8 years ago
Teemu Suo-Anttila
6b8412033e
Build uitest war with maven
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
8 years ago
Artur Signell
7b25b3886e
Renamed tests -> uitest and tests/testbench -> uitest/src (#9299)
12 years ago
Pekka Hyvönen
05964e7ada
Renamed Component.debugId to id (#3700)
Applied patch from Pekka with minor changes
(@deprecation javadoc, call the real methods from deprecated methods in AbstractComponent)
12 years ago
Leif Åstrand
3604bf01de
Add Java 6 @Override annotations to all methods from interfaces
12 years ago
Leif Åstrand
bc93f0e241
Remove java 1.6 @Override annotations methods from interfaces
12 years ago
Artur Signell
3572b48d33
Removed interface @Overrides
12 years ago
Artur Signell
423d95a6e1
#7963 Button now extends AbstractComponent instead of AbstractField
Focus related methods previously used from AbstractField are now
implemented in Button directly.
Fixed tests related to this change.
12 years ago
Artur Signell
9a36668a93
#7964 CheckBox now extends AbstractField directly.
ClickListener is no longer available for a CheckBox.
Fixed tests accordingly
12 years ago
Jonatan Kronqvist
c4b62e478a
Restructure test source directories and packages #7385
svn changeset:21440/svn branch:6.7
12 years ago
Artur Signell
cce8df71d5
Merged test updates from 6.4
svn changeset:15547/svn branch:6.5
13 years ago
Artur Signell
a14876b352
Merged multiple bug fixes and test updates from 6.4
svn changeset:15546/svn branch:6.5
13 years ago
Artur Signell
3c02d73b33
Split part of ComponentTestCase to AbstractComponentTestCase and added a MenuBasedComponentTestCase.
Updated Tables test case to use MenuBasedComponentTestCase.
Should be backwards compatible for existing tests
svn changeset:15540/svn branch:6.4
13 years ago
Artur Signell
32a56a8cb8
Ensure valuechangelistener is called for Selects for the default value
svn changeset:15496/svn branch:6.4
13 years ago
Artur Signell
fb44e288a9
Added support for a Log component
svn changeset:15495/svn branch:6.4
13 years ago
Artur Signell
a5d39f052a
Moved CAPTION to super class so it can be shared between tests
svn changeset:15155/svn branch:6.4
13 years ago
Artur Signell
cb1bb002a6
Get testClass when necessary to avoid problems with getDescription executed before setup
svn changeset:15031/svn branch:6.4
13 years ago
Artur Signell
277e74b24c
Automatically add custom actions
svn changeset:15023/svn branch:6.4
13 years ago
Artur Signell
a64c508172
DebugId for all actions
svn changeset:15020/svn branch:6.4
13 years ago
Artur Signell
f76f0f9475
Action layout was added after the test components and not before..
svn changeset:15005/svn branch:6.4
13 years ago
Artur Signell
b82ee65e68
Moved common code to ComponentTestCase and removed duplicate code from extending classes. This change will produce minor test failures because of text/checkbox order changes and similar issues.
svn changeset:15002/svn branch:6.4
13 years ago
Artur Signell
a62b5d25e6
Align action components bottom left to look more sensible if one of them has a caption
svn changeset:14881/svn branch:6.4
13 years ago
Artur Signell
8bf7cdbbb5
Force test cases to implement getDescription()
svn changeset:14646/svn branch:6.4
14 years ago
Artur Signell
50140129c5
Added generics to ComponentTestCase
svn changeset:13342/svn branch:6.3
14 years ago
Artur Signell
34a1a6f8ca
Merged (partly manually) test updates from [9345],[9346],[9357]
svn changeset:9556/svn branch:6.2
14 years ago