Ahmed Ashour
94409e2221
Remove unused imports (#10330)
6 years ago
Ahmed Ashour
ccad305464
Use static import of Assert in tests (#10126)
Also removes dependency on junit.framework.TestCase .
6 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
6e0f2efe99
Move FieldGroup and Vaadin 7 Grid to compatibility package
Change-Id: I9aaef478e0b67462641239802b924b8461cb9225
7 years ago
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 years ago
Teemu Suo-Anttila
11a2b5263f
Add @Test annotations, rename test classes
Change-Id: Iac29db81c0c7ff425da73e7ae3d69eadabf5de77
8 years ago
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 years ago
Artur Signell
4154ef5bf6
Make GeneratedPropertyItem equals self (#19426)
Change-Id: Ieccb53a402dd6669fb684b0ef8e18e4c8778c58e
8 years ago
Artur Signell
393b71266c
Make GeneratedPropertyContainer.getItem(nonExistant) return null (#19425)
Change-Id: I41e40b87b64aec046428c1294aa1d488b6daf693
8 years ago
Sauli Tähkäpää
0c9625d05c
Unify test class naming.
Unit tests are now run for *Test.java and *Tests.java.
Change-Id: Iffff1d9a79c7c9b9317ffd19b5a46715b1442909
9 years ago
Leif Åstrand
d8c47250a2
Add Grid.addRow (#13334)
Change-Id: I2c317b920d29ca8a74658ef3b980c6bc2a7622ac
9 years ago
Leif Åstrand
9f19979ed8
Don't use deprecated Assert class
Change-Id: I0dbef06d0fa319628f6fa528f5ab3adfd5752c11
10 years ago
Jarno Rantala
2d946f5251
Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)
The events inherits the ItemSetChangedEvent and they contain more information about the added/removed items. These events are fired
from AbstractInMemoryContainer.
Change-Id: I0a7ddfd38fd01fa385479efc953ab444d1ecdf4c
10 years ago
Jonatan Kronqvist
51c2e93172
Revert "Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)"
This reverts commit 85251833de
.
Conflicts:
server/src/com/vaadin/data/util/AbstractInMemoryContainer.java
server/tests/src/com/vaadin/data/util/TestIndexedContainer.java
Change-Id: I49dfdc58ae5841892c6d8e205c520437da9a05e5
10 years ago
Johannes Dahlström
8e2085c346
Remove dead code
Change-Id: I1ac813afa47e38fb508e676d25d103a29bfada6a
10 years ago
Jarno Rantala
85251833de
Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)
The events inherits the ItemSetChangedEvent and they contain more information about the added/removed items. These events are fired
from AbstractInMemoryContainer.
Change-Id: I0a7ddfd38fd01fa385479efc953ab444d1ecdf4c
10 years ago
Artur Signell
af82e142c3
Do not throw NPE when asking for a null propertyId (#10445)
Change-Id: If788d84c66d640368989e443394505600ad12439
11 years ago
Henri Sara
84099ee2b8
Return null as non-existing property for IndexedContainer (#10445)
Change-Id: I9829173dda84d5f496114b7d08204648bf86fc77
11 years ago
Henri Sara
c74a3d6d7b
Return short list instead of exception if less items available (#8028)
Container.Indexed.getItemIds(int, int) does not throw an exception if
too few items are available in the container.
11 years ago
Henri Sara
01646b14df
Add Container.Indexed.getItemIds(int, int) for a range of items (#8028)
This permits optimization of data fetches from various containers
where getting single items by index in a loop might be costly.
Also add a helper method in ContainerHelpers to make it easier to
implement the new method where performance of fetching an id by index is
not an issue. SQLContainer still uses this helper instead of an
optimized implementation.
11 years ago
Artur Signell
876182aaa3
Moved server tests from tests/server-side to server/tests/src (#9299)
11 years ago
Artur Signell
c2722bfeb2
#8311 Converted CRLF to LF in all source files
svn changeset:22797/svn branch:6.7
12 years ago
Jonatan Kronqvist
c4b62e478a
Restructure test source directories and packages #7385
svn changeset:21440/svn branch:6.7
12 years ago
Henri Sara
4f9c900ae5
Unit tests for containers: filtered IndexedContainer item set change listener tests, removed some ambiguity from BeanItemContainer tests
svn changeset:17572/svn branch:6.6
13 years ago
Henri Sara
9735a16ce6
Cleanup and improvements for unfiltered IndexedContainer item set change listener unit tests
svn changeset:17565/svn branch:6.6
13 years ago
Henri Sara
248b9642ec
Container unit tests: introduce (for now empty) class in test hierarchy
svn changeset:17562/svn branch:6.6
13 years ago
Henri Sara
e6afda5136
Many new subtests for IndexedContainer - notifications for modifications etc.
svn changeset:17556/svn branch:6.6
13 years ago
Henri Sara
32a84eb54b
More JUnit tests for BeanItemContainer and IndexedContainer
svn changeset:16129/svn branch:6.5
13 years ago
Artur Signell
3863c0c269
Added test for Container.Ordered
Extended TestIndexedContainer to test Container.Ordered features
svn changeset:11564/svn branch:6.3
14 years ago
Artur Signell
7ed3dada20
Test cases for IndexedContainer and HierarchicalContainer
svn changeset:11465/svn branch:6.3
14 years ago