aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/serialization
Commit message (Collapse)AuthorAgeFilesLines
* Reformat with Luna SR2Artur Signell2015-06-261-1/+2
| | | | Change-Id: I8a666061496022ef16ed44812b5728e1360b9c4d
* Allow arbitrary serializable types as Renderer data type (#15410)Johannes Dahlström2015-06-031-0/+1
| | | | Change-Id: If535c5603116be204e11936f9186ce3856b74b03
* Encode numeric values as JSON numbers (#18039)Leif Åstrand2015-06-032-0/+97
| | | | Change-Id: Ibb0422ed00de498957e9baf995bb7835b60aafef
* Converted javascript tests to TB4 and added date tests (#16797, #16786)Artur Signell2015-05-042-2/+29
| | | | Change-Id: Idde67d2e841cb7ee23f78b741b3ae45235bfbdcb
* Remove broken custom String[] serialization (#17146)Leif Åstrand2015-04-232-5/+9
| | | | Change-Id: If40b6c4e979e4258a22a7d2d1af0532d3e8f11bc
* Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2015-01-122-5/+32
|\ | | | | | | Change-Id: Ic6b667ea6ceff43a609ce2037f656c6274871fb7
| * Use sorted list instead of set in serialized log string (#15534).Denis Anisimov2015-01-081-3/+28
| | | | | | | | Change-Id: I9a4904fc433e06443a2a68480361df8b2c1f68c9
| * Reformat project using Eclipse Luna SR1Artur Signell2014-12-291-2/+4
| | | | | | | | Change-Id: I58748499c87d470e70304d882d3227cda5803481
* | Support JsonValue types as declared types in state and RPC (#15560)Leif Åstrand2015-01-122-2/+25
| | | | | | Change-Id: I2779a533811bb1b60c4e74789f6378574bc6ac61
* | Merge remote-tracking branch 'origin/master' into gridLeif Åstrand2014-12-184-115/+0
|\| | | | | | | Change-Id: Ic7629f9cedb3c948edf4f63c678ca499e3d52805
| * Move TB2 files to separate folderArtur Signell2014-12-184-115/+0
| | | | | | | | | | | | This avoids running other HTML files as TB2 tests Change-Id: I32445aeaeaf77f3a34771db6fa0d2eb40fc60ff7
* | Add @NoLayout annotation (#12936)Leif Åstrand2014-11-252-0/+185
|/ | | | | | | This commit adds support for @NoLayout and updates most framework components to use the annotation where it makes sense Change-Id: I99320a6aa6de717da5f2463dd8acfcd412165767
* replaced all org.json.* usages with elemental.json.* (#8942)Taras Hupalo2014-08-261-3/+2
| | | | Change-Id: I4809fbbdb48f3e36c8e1da8552ff3fa734714105
* Box and unbox long values in state fields (#14176)Leif Åstrand2014-07-092-4/+35
| | | | | | | | | | | | | We actually want to pass around the primitive long values emulated by GWT even though JavaScript code can't do anything with the values. Skipping the unboxing caused long fields to always be 0 since that's how JavaScript converts an object into a number. This patch also makes the test assert that the expected state values are received and updates those values to actually make sense in some situations. Change-Id: Id9c3696d699593bd9e59e249c5daf077873b85fc
* Support long in state again (#13692)Jonatan Kronqvist2014-05-121-0/+122
| | | | | | | | | | The fix to #9379 broke the support for long type fields in state classes. This patch bypasses the unboxing of long values and adds the @UnsafeNativeLong annotation to the methods which may fetch and return (without modifying) long values. SerializerTest is extended to test the different data types in States. Change-Id: I29fd2c6af13cd9a0d29ecb1444ed9eb8a2b013e3
* Update remaining copyright years to 2014Artur Signell2014-04-232-2/+2
| | | | Change-Id: I1fc2bd735b538ebac6d4f41fc8536f26795cc85f
* Merge changes from origin/7.1Artur Signell2014-04-235-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e77e73c Update copyright year to 2014 Conflicts: client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ConnectorBundle.java client/src/com/vaadin/client/ApplicationConnection.java server/src/com/vaadin/data/util/converter/StringToNumberConverter.java shared/src/com/vaadin/shared/ui/ui/PageState.java shared/src/com/vaadin/shared/ui/window/WindowState.java theme-compiler/src/com/vaadin/sass/SassCompiler.java theme-compiler/src/com/vaadin/sass/internal/ScssStylesheet.java theme-compiler/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluator.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryExpression.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryOperator.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/ArithmeticException.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/IncompatibleUnitsException.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandler.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandlerImpl.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSErrorHandler.java theme-compiler/src/com/vaadin/sass/internal/parser/CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/Generic_CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/LexicalUnitImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/LocatorImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/MediaListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/ParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSLexicalUnit.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/SelectorListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/Selectors.java theme-compiler/src/com/vaadin/sass/internal/parser/ThrowedParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Token.java theme-compiler/src/com/vaadin/sass/internal/parser/TokenMgrError.java theme-compiler/src/com/vaadin/sass/internal/resolver/ClassloaderResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/FilesystemResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/ScssStylesheetResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/VaadinResolver.java theme-compiler/src/com/vaadin/sass/internal/selector/SelectorUtil.java theme-compiler/src/com/vaadin/sass/internal/tree/BlockNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ExtendNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ForNode.java theme-compiler/src/com/vaadin/sass/internal/tree/FunctionNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ImportNode.java theme-compiler/src/com/vaadin/sass/internal/tree/KeyframesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListContainsNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListModifyNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListRemoveNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MediaNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MicrosoftRuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinNode.java theme-compiler/src/com/vaadin/sass/internal/tree/NestPropertiesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/Node.java theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/SimpleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/VariableNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/EachDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfElseDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfNode.java theme-compiler/src/com/vaadin/sass/internal/util/ColorUtil.java theme-compiler/src/com/vaadin/sass/internal/util/DeepCopy.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayInputStream.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayOutputStream.java theme-compiler/src/com/vaadin/sass/internal/util/StringUtil.java theme-compiler/src/com/vaadin/sass/internal/visitor/BlockNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/EachNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ExtendNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/IfElseNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/NestedNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/VariableNodeHandler.java theme-compiler/tests/src/com/vaadin/sass/AbstractTestBase.java theme-compiler/tests/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluatorTest.java theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java theme-compiler/tests/src/com/vaadin/sass/resolvers/VaadinResolverTest.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Interpolation.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Selectors.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AbstractDirectoryScanningSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AutomaticSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ControlDirectives.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Extends.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Functions.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Imports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Mixins.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/NestedProperties.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Nesting.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentImports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentSelector.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTestsBroken.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassTestRunner.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Variables.java theme-compiler/tests/src/com/vaadin/sass/tree/ImportNodeTest.java uitest/src/com/vaadin/tests/push/BasicPushTest.java uitest/src/com/vaadin/tests/push/PushConfigurationTest.java uitest/src/com/vaadin/tests/push/PushReconnectTest.java Change-Id: Ic08c4f9aecd4c684ce74408de4e0b0d0ff617273
| * Update copyright year to 2014Artur Signell2014-04-164-4/+4
| | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
* | Ignore type parameters when looking for metadata (#12873, #12900)Leif Åstrand2014-03-112-0/+81
| | | | | | | | | | | | | | | | All code populating the TypeDataStore is generated using writeClassLiteral which strips away all type parameters, so the code doing lookups should also do the same to maintain compatibility. Change-Id: I01654f4cc15188a12c735ffed55d30a34c77a064
* | Use consistent date output in serializer test (#13073)Leif Åstrand2014-02-102-3/+10
| | | | | | | | Change-Id: I32e9377d5ef8a8e88a8126ece78f0b8750cfa2ea
* | Add support for using java.util.Date in communications (#13073)Artur Signell2014-01-153-116/+89
|/ | | | | | | | | This adds support for using separate serializer classes on the server side, similarly to on the client side. Still it is not public API yet as you do not have the possibility to add your own serializers to the map used by JsonCodec. Change-Id: I2cc4f628c5a8eba90abbd57c128c6359cbe1b4d7
* Updated copyright notices and added missing license headersArtur Signell2013-01-044-4/+4
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Encode all values based on declared type (#10549)Leif Åstrand2012-12-182-23/+44
| | | | | | | | | * ServerRpc encoding uses type data from the interface * Beans encoded on the server use reflection based on declared type * Remove row numbers to enable adding test without changing old indices * Update test to send non-primitive map values Change-Id: I0462b547cb7de252564b3569420b0b24cee4515f
* Don't remove diffstate data before cleanup (#10532)Leif Åstrand2012-12-142-0/+83
| | | | | | | | * Avoid returning unregistered but not cleaned connectors from e.g. getDirtyConnectors() and getConnector() * Add some sanity checks to ensure unregistered connectors are not used Change-Id: I1103586863d2f299d50af5058233a7b4c967d4c6
* Enum is HTML, not XHTML nowadaysArtur Signell2012-10-261-1/+1
| | | | Change-Id: I4c6ae2896f53813074bb8179bde30897797d453c
* Rename WrappedXYZ -> VaadinXYZ but retain WrappedSession (#9633)Leif Åstrand2012-09-204-8/+8
|
* Include getWidget return type even if createWidget is defined (#9561)Leif Åstrand2012-09-172-0/+71
|
* Removed deprecated ContenMode.XHTMLJohn Ahlroos2012-09-071-1/+1
|
* Renamed tests -> uitest and tests/testbench -> uitest/src (#9299)Artur Signell2012-08-306-0/+571