Commit Graph

33 Commits

Author SHA1 Message Date
Alessio Stalla 416a88eae5 BAEL-1838 (#4692)
* #BAEL-1838 code samples. Renamed LambdaKotlinTest to have the build succeed.

* #BAEL-1838 code samples w/inheritance.

* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.

* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.
2018-07-20 07:16:13 +02:00
Dhawal Kapil 5a5ac7bca0 BAEL-1987 Fix Tests and Compilation In All Projects (#4699)
* BAEL-1987 Fix Tests and Compilation In All Projects

-Fixed test failure in core-kotlin project, include core-kotlin back in parent pom

* Update pom.xml

* BAEL-1987 Fix tests and libraries

-Commented out failing assertion
2018-07-13 17:49:11 +02:00
Dhawal Kapil 8270c6d61a BAEL-1987 Fix Tests and Compilation In All Projects (#4693)
* BAEL-1987 Fix Tests and Compilation In All Projects

-Fixed various compilation issues, test assertions throughout the project.

* Update pom.xml
2018-07-13 00:07:27 +02:00
Loredana Crusoveanu 7ab2a2c181 moven kotlin-maven project 2018-07-11 22:28:11 +03:00
Syed Mansoor 396df6fdca [BAEL-1753] Moved Kotlin-ktor in core-kotlin module 2018-07-03 21:16:12 +10:00
Andrey Shcherbakov 0e97b9d21b Add the code snippets of the Kotlin String Template article (#4541) 2018-06-26 13:37:43 -07:00
Graham Cox d1e092b850 Examples of Reflection in Kotlin (#4483)
* 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
2018-06-26 07:30:55 +01:00
Grzegorz Piwowarek 6dad233602 BAEL-1758 Idiomatic Kotlin usage in enum (#4434) 2018-06-09 11:29:35 +02:00
Devesh Chanchlani 8080f07c6c BAEL-1758: removing helper class and adding static functions to the Kotlin Enum example (#4419) 2018-06-07 08:18:48 +02:00
Devesh Chanchlani be608ae4fb BAEL-1758: Working with Enums in Kotlin (#4413) 2018-06-06 01:20:26 +02:00
Juan Moreno 4308468c60 Sample code for BAEL-1399 (#4165)
* Squashed commit of the following:

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Squashed commit of the following:

commit 4e6e27c914a401ee6bc599c7ffe913384137646a
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 23:26:20 2018 -0300

    Fix package names

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Added sample with null fields

* Removed unused dependency

* BAEL-1159 - Simplified example

* Code sample to BAEL-1399

* Code sample to BAEL-1399

* Sample code for BAEL-1399

* Sample code for BAEL-1399

* Sample code for BAEL-1399

* Upgrade to Klaxon 3.0.2, polish test

* Added sample with annotations

* Upgrade dependencies

* Ugrade library version, added JSON Path sample

* Reverted changes
2018-05-26 11:19:25 -05:00
Graham Cox b677208899 Examples for Spek article (#4106)
* Examples for BAEL-1169

* Examples for Spek
2018-05-11 14:35:04 +02:00
José Carlos Valero Sánchez 2a61d6473b
Merge pull request #4029 from theawesomenayak/BAEL-1675
[BAEL-1675] Write to a File in Kotlin
2018-05-05 14:13:49 +01:00
Siben Nayak c2d89c8679 Fixed unit test cases and formatting 2018-05-05 18:24:13 +05:30
pauljervis c5af483a8d Kotlin Lambda Article Code (#4100)
* Add Kotlin lambdas and tests from Java and Kotlin

* Add the actual code under test

* Add different types of lambdas performing the same action.
2018-05-01 12:56:40 +02:00
pauljervis ce5113c48c Bael 1404 kotlin (#4033)
* add article files

* update kotlin version in pom

* IntelliJ added binary folder to all the .gitignores

* IntelliJ added binary folder to all the .gitignores

* update test function names

* Expand tests and add more code for more meaningful content within the article.
Remove core-kotlin from parent pom again for eclipse to work.

* adjust for issues with custom-pmd

* rename test

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 0850a2acd5162499540231146c795cfda9ffcfc5.

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 2b17cf2ff3624ecbe37f07bb9985ecfd3a977e01.

* renamed test to match article
2018-04-17 17:37:14 +02:00
pauljervis d7eaa00804 Bael 1601 kotlin (#4016)
* add article files

* update kotlin version in pom

* IntelliJ added binary folder to all the .gitignores

* IntelliJ added binary folder to all the .gitignores

* update test function names

* Expand tests and add more code for more meaningful content within the article.
Remove core-kotlin from parent pom again for eclipse to work.

* adjust for issues with custom-pmd

* rename test

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 0850a2acd5162499540231146c795cfda9ffcfc5.

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 2b17cf2ff3624ecbe37f07bb9985ecfd3a977e01.
2018-04-17 14:09:34 +02:00
Grzegorz Piwowarek b284c29a43
Fix FileReaderTest (#3996) 2018-04-14 10:00:24 +02:00
Grzegorz Piwowarek 64e9b41aef
FileReader idiomatic refactor (#3936) 2018-04-11 12:20:33 +02:00
Siben Nayak 5db1c3d8f3 [BAEL-1675] Write to a File in Kotlin 2018-04-09 09:59:24 +05:30
Graham Cox 1b454b7267 Examples for BAEL-1169 (#3934) 2018-04-06 06:08:33 -05:00
Siben Nayak 6fadb8bdef Change StandardCharsets to Charsets 2018-04-02 16:34:35 +05:30
Siben Nayak b3064e448e Kotlin Read from File 2018-04-01 00:47:42 +05:30
Denis ef1b033b78 BAEL-1462 Kotlin DI with Kodein (#3544)
* BAEL-1462 Kotlin DI with Kodein

* BAEL-1462 Kotlin DI with Kodein

* applied editor's suggestions
* removed unnecessary curly braces

* Moved kodein files into core-kotlin as per editor's review

* Using assertj instead of junit assertions as per editor's instruction
2018-02-26 19:51:55 -06:00
Graham Cox 65267041c3 Examples for Infix Functions article (#3606) 2018-02-09 06:11:19 -06:00
Alessio Stalla 8b279673c4 Code for BAEL-894 - regular expressions in Kotlin (#3618) 2018-02-08 14:05:13 -08:00
Alessio Stalla 7000fca197 BAEL-1398 Code for the article: HTTP Requests with Kotlin and khttp 2018-01-22 15:12:11 +01:00
Alessio Stalla a758fd9cef BAEL-1402 code for the article: Try-with-resources in Kotlin 2018-01-14 22:50:55 +01:00
Graham Cox f00c95f4fc Examples of writing Extension Methods 2017-12-01 14:05:24 +00:00
Shubham 5f795ca5e5 Added Kotlin datetime package and test cases for BAEL-896 2017-10-29 08:32:29 +05:30
Graham Cox 6ac536861e Updated test names (#2856) 2017-10-25 21:30:53 -05:00
Graham Cox f8db7b02c5 Kotlin junit5 (#2672)
* Fixed the core-kotlin module to build, and set it up to run JUnit 5 tests using Failsafe

* Example JUnit5 tests in Kotlin
2017-10-10 20:44:50 -05:00
Doha2012 1852438f6a rename kotlin to core-kotlin (#2651)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup

* fix conflict

* java 8

* clean up

* add core-java-8 to main pom

* rename kotlin to core-kotlin
2017-09-20 16:15:22 +02:00