Commit Graph

90 Commits

Author SHA1 Message Date
Loredana Crusoveanu cd873618a6
Merge pull request #5771 from denis-zhdanov/BAEL-2373-kotlin-contracts
BAEL-2373 Kotlin Contracts
2018-12-20 22:46:08 +02:00
Hai Nguyen 4a55426727 BAEL-2230 Equivalent of Java static final in Kotlin (#5848)
* constant unit test

* kotlin const
2018-12-17 09:39:41 -07:00
Laurentiu Delcea d8e34dc9f2 BAEL-2376 Inline classes in kotlin (#5842)
* BAEL-2376 Inline classes in kotlin

* BAEL-2376 Move classes
2018-12-16 13:22:22 -03:00
Graham Cox 6ede1b7440 Kovert examples (#5831) 2018-12-16 08:21:41 +01:00
Ali Dehghani 7f5789c274 Added a simple function for bytecode inspection. 2018-12-06 13:30:59 +03:30
Ali Dehghani ef74a2538e Added a few unit tests for kotlin operator examples. 2018-11-29 16:06:43 +03:30
Ali Dehghani ad8ae556a8 Added a few unit tests for kotlin operator examples. 2018-11-29 16:06:42 +03:30
Ali Dehghani 1250605e19 Added a new shape class instead of UI. 2018-11-29 16:06:42 +03:30
Ali Dehghani a8d9eb084a Added two missing import statements 2018-11-29 16:06:42 +03:30
Ali Dehghani 2ee5e03b88 Added the codes used for operator overloading article 2018-11-29 16:06:42 +03:30
Denis Zhdanov 0d5d3039cf BAEL-2373 Kotlin Contracts
* upgraded kotlin version to 1.3.10
* added contract examples
2018-11-25 13:53:48 +08:00
nnhai1991@gmail.com d2d77c56f8 BAEL-1913 fix possible index out of bound 2018-11-18 00:16:35 +08:00
Hai Nguyen a0a80af9d0 Generate a random alphanumeric string in Kotlin
Issue: BAEL-1913
2018-11-16 08:39:40 -07:00
Ali Dehghani 927a8851ae BAEL-2374: Added a simple reified generic example. 2018-11-15 21:27:02 +03:30
Graham Cox d7bbfb353d Examples of using Injekt (#5519) 2018-10-29 14:04:07 -07:00
Kevin Wittek 018e00c804 Fix indentation of Kotlin datamapping examples (#5563)
* Add Kotlin data mapping examples (BAEL-2247)

* Fix indentation in Kotlin datamapping examples
2018-10-29 16:02:38 +01:00
José Carlos Valero Sánchez 67b02d7277
Merge pull request #5559 from laurentiud/master
BAEL-2218 Example of sorting in Kotlin
2018-10-28 20:40:50 +00:00
Kevin Wittek c10101a9ac Add Kotlin data mapping examples (BAEL-2247) (#5560) 2018-10-28 18:22:24 +01:00
Laurentiu 49b42d75df BAEL-2218 Example of sorting in Kotlin 2018-10-28 18:16:59 +02:00
Vizsoro 901b733ca4 bael-2022 initialize array in kotlin (#5529)
* bael-2022 initialize array in kotlin

* bael-2022 formatting with eclipse

* bael-2022 formatting fix
2018-10-27 18:34:49 -07:00
José Carlos Valero Sánchez 55ccc6b433
Merge pull request #5395 from freddyaott/master
[BAEL-2264] Creating a Thread in Kotlin
2018-10-25 20:57:17 +01:00
Alfonso Lentini a828ae2137 Added comments 2018-10-23 23:40:46 +02:00
José Carlos Valero Sánchez 4afec1b4f4
Merge pull request #5449 from kcacademic/kotlin-interfaces
Adding files for the article BAEL-2206
2018-10-16 09:03:41 +01:00
Alfonso Lentini e3b1152c5e CommonPool deprecated 2018-10-14 10:50:00 +02:00
Alfonso Lentini c315ce5975 new coroutone API Koltin version 1.3-RC 2018-10-13 18:36:01 +02:00
Kumar Chandrakant bae7a74acd Adding files for the article BAEL-2206 2018-10-12 10:54:04 +01:00
Andrey Shcherbakov 44a3d36bd9 Implement a binary tree (#5431)
* Add code for the article 'Java Primitives versus Objects'

* Use JMH for benchmarking the primitive and wrapper classes

* Uncomment the benchmarks and remove unused class

* Add a binary search tree implementation

* Add an example of how to use the binary tree class

* Adjust the print statements
2018-10-11 22:16:54 -07:00
Alfonso Lentini 2d3accedcc Thread and Coroutines in Kotlin 2018-10-07 13:08:12 +02:00
Loredana Crusoveanu 0b792c58f2
Update and rename StructuralJumpTest.kt to StructuralJumpUnitTest.kt 2018-10-03 21:29:42 +03:00
Hai Nguyen 9eb81e7059 change example 2018-10-02 10:45:31 +08:00
Hai Nguyen 2c6a3a69b0 change example 2018-10-02 10:43:04 +08:00
nnhai1991@gmail.com 3b4e23cedf refactor some code 2018-09-30 23:40:19 +08:00
Hai Nguyen 6c0c94449d StructuralJumpTest 2018-09-28 10:01:45 +08:00
Hai Nguyen df99b29fb3 test cases 2018-09-28 10:00:44 +08:00
nnhai1991@gmail.com af993076f1 LoopTest class 2018-09-26 23:24:26 +08:00
Grzegorz Piwowarek 8455646125
Rename CoroutinesTest.kt to CoroutinesUnitTest.kt (#5281) 2018-09-17 22:15:58 +02:00
Hai Nguyen 9108183846 BAEL-2147 Kotlin Data Class from Json using GSON (#5220)
* BAEL-1846: Java Image to Base64 String

* Move from using main method to Junit test

* Update to use environment variables for testing

* reformat and add test file

* spring boot jsp security taglibs

* add more test

* add more test

* refactor spring config

* refactor spring config

* Update README.md

* fi alignment

* fix requested comments

* additional tests and content

* additional tests and content

* update examples

* Delete Readme file

* edit form example

* adding example for spring boot security tag libs

* Remove old tag libs module

* BAEL-2147 Add GsonTest

* BAEL-2147 Remove unused import
2018-09-16 09:02:36 -07:00
Krzysztof Majewski 2e0edf12b1 Bael 2145 concatenate strings in kotlin (#5208)
* BAEL-2145

* BAEL-2145

* BAEL-2145
2018-09-15 15:57:25 +02:00
Graham Cox 57b6480e73 Examples for article on Kovenant (#5011)
* Examples of Reflection in Kotlin

* Some article updates to make better use of Assert

* Replaced printlines with log statements

* Added @Ignore to so tests with no assertions

* Examples for Kovenant

* Fixed an issue where tests fail depending on the order they are run

* Test for timeouts on promises
2018-09-11 05:43:35 +02:00
amit2103 3ce0294470 [BAEL-8472] - Removed unused dependencies, moved spek and exposed framework codes to kollin libraries 2018-09-09 15:53:48 +05:30
amit2103 9e2a18a6d5 [BAEL-8472] - Resolved conflict 2018-09-09 11:01:53 +05:30
freddyaott a2f77a2783 [BAEL-1401] Fuel HTTP Library with Kotlin (#5142)
* builder pattern in kotlin

* builder pattern in kotlin new-line

* deleted Sandbox, added unit test

* add other tests

* named and default parameters builder

* Make FoodOrderNamed a data class

* idiomatic Kotlin version

* Fuel HTTP library

* fuel pom property

* BAEL-1401 Removed extra pom.xml properties
2018-09-06 03:45:42 +02:00
Alessio Stalla 64ba651582 #BAEL-693 tests and code examples. (#5091) 2018-08-27 22:32:15 +02:00
Tom Hombergs 3d3dfd7970
Merge pull request #4760 from MajewskiKrzysztof/master
BAEL-1912
2018-08-19 16:41:59 +02:00
Grzegorz Piwowarek cb86a05efd
Kotlin Builder example refactor (#4895)
* encoding

* Refactor builder

* Usage

* Builder as data class
2018-08-18 14:01:01 +02:00
Patryk 061d1191f1 Bael 1704 (#4973)
* BAEL-1704: Non-Trivial Work in Kotlin vs Java

* BAEL-1704: Non-Trivial Work in Kotlin vs Java

Renaming one test class

* BAEL-1704: Kotlin vs Java

* BAEL-1704: Kotlin vs Java

The files moved to the guest branch.
2018-08-17 08:00:08 -05:00
Loredana Crusoveanu fad21ead40
Merge pull request #4979 from dkapil/task/BAEL-8231
BAEL-8231 Disabled "is working" statement in a test case in Coroutine…
2018-08-16 22:47:39 +03:00
Dhawal Kapil cecb8f2c2c BAEL-8231 Disabled "is working" statement in a test case in CoroutinesTest.kt 2018-08-17 00:19:06 +05:30
Juan Moreno 74e3e7ff95 Kotlin Nested and Inner Classes Code SampleCode
Issue: BAEL-1759
2018-08-13 17:33:36 -06:00
Kacper 4cd349f533 Kotlin constructors (#4933) 2018-08-10 21:10:15 +02:00