diff --git a/go/robot-simulator/robot.go b/go/robot-simulator/robot.go new file mode 100644 index 0000000..3210255 --- /dev/null +++ b/go/robot-simulator/robot.go @@ -0,0 +1,148 @@ +package robot + +import "fmt" + +const testVersion = 3 + +// Stuff added for step 1 +const ( + N = iota + E + S + W + ErrDir +) + +func Advance() { + switch Step1Robot.Dir { + case N: + Step1Robot.Y++ + case E: + Step1Robot.X++ + case S: + Step1Robot.Y-- + case W: + Step1Robot.X-- + } +} + +func Left() { + switch Step1Robot.Dir { + case N: + Step1Robot.Dir = W + case E: + Step1Robot.Dir = N + case S: + Step1Robot.Dir = E + case W: + Step1Robot.Dir = S + } +} + +func Right() { + switch Step1Robot.Dir { + case N: + Step1Robot.Dir = E + case E: + Step1Robot.Dir = S + case S: + Step1Robot.Dir = W + case W: + Step1Robot.Dir = N + } +} + +func (d Dir) String() string { + switch d { + case N: + return "N" + case E: + return "E" + case S: + return "S" + default: + return "W" + } +} + +// Stuff added for step 2 +type Action byte + +func StartRobot(cmd chan Command, act chan Action) { + fmt.Println("Starting Robot") + for { + fmt.Println("Waiting for command") + j, more := <-cmd + fmt.Println("Received a Command:", j) + if more { + // Received a command, try to act in the room + act <- Action(j) + } + } + fmt.Println("Robot Done") +} + +func Room(extent Rect, robot Step2Robot, act chan Action, rep chan Step2Robot) { + fmt.Println("Starting Room") + for { + j, more := <-act + if more { + // Received an action, try to perform it + if j == 'R' { // Turn Right + switch robot.Dir { + case N: + robot.Dir = E + case E: + robot.Dir = S + case S: + robot.Dir = W + case W: + robot.Dir = N + } + } else if j == 'L' { // Turn Left + switch robot.Dir { + case N: + robot.Dir = W + case E: + robot.Dir = N + case S: + robot.Dir = E + case W: + robot.Dir = S + } + } else if j == 'A' { // Advance + switch robot.Dir { + case N: + if robot.Pos.Northing < extent.Max.Northing { + robot.Pos.Northing++ + } else { + fmt.Println("Hit North Wall") + } + case E: + if robot.Pos.Easting < extent.Max.Easting { + robot.Pos.Easting++ + } else { + fmt.Println("Hit East Wall") + } + case S: + if robot.Pos.Northing > extent.Min.Northing { + robot.Pos.Northing-- + } else { + fmt.Println("Hit South Wall") + } + case W: + if robot.Pos.Easting > extent.Min.Easting { + robot.Pos.Easting-- + } else { + fmt.Println("Hit West Wall") + } + } + } + } else { + // Done, report back + rep <- robot + } + } + close(rep) + fmt.Println("Room Done") +} diff --git a/go/robot-simulator/robot_simulator_step2_test.go b/go/robot-simulator/robot_simulator_step2_test.go index 539da87..1014f89 100644 --- a/go/robot-simulator/robot_simulator_step2_test.go +++ b/go/robot-simulator/robot_simulator_step2_test.go @@ -2,7 +2,10 @@ package robot -import "testing" +import ( + "fmt" + "testing" +) // For step 1 you implement robot movements, but it's not much of a simulation. // For example where in the source code is "the robot"? Where is "the grid"? @@ -72,7 +75,9 @@ func TestStep2(t *testing.T) { rep := make(chan Step2Robot) go StartRobot(cmd, act) go Room(Rect{Pos{1, 1}, Pos{2, 2}}, test2[0].Step2Robot, act, rep) + fmt.Println("Starting Tests") for j := 1; j < i; j++ { + fmt.Println("Channeling: ", test2[j]) cmd <- test2[j].Command } close(cmd) diff --git a/go/space-age/README.md b/go/space-age/README.md new file mode 100644 index 0000000..ab30bd3 --- /dev/null +++ b/go/space-age/README.md @@ -0,0 +1,54 @@ +# Space Age + +Given an age in seconds, calculate how old someone would be on: + + - Earth: orbital period 365.25 Earth days, or 31557600 seconds + - Mercury: orbital period 0.2408467 Earth years + - Venus: orbital period 0.61519726 Earth years + - Mars: orbital period 1.8808158 Earth years + - Jupiter: orbital period 11.862615 Earth years + - Saturn: orbital period 29.447498 Earth years + - Uranus: orbital period 84.016846 Earth years + - Neptune: orbital period 164.79132 Earth years + +So if you were told someone were 1,000,000,000 seconds old, you should +be able to say that they're 31.69 Earth-years old. + +If you're wondering why Pluto didn't make the cut, go watch [this +youtube video](http://www.youtube.com/watch?v=Z_2gbGXzFbs). + +## No Stub + +This may be the first Go track exercise you encounter without a stub: a +pre-existing `space_age.go` file for your solution. You may not see stubs in +the future and should begin to get comfortable with creating your own Go files +for your solutions. + +One way to figure out what the function signature(s) you would need is to look +at the corresponding \*\_test.go file. It will show you what the package level +functions(s) should be that the test will use to verify the solution. + + +## Running the tests + +To run the tests run the command `go test` from within the exercise directory. + +If the test suite contains benchmarks, you can run these with the `-bench` +flag: + + go test -bench . + +Keep in mind that each reviewer will run benchmarks on a different machine, with +different specs, so the results from these benchmark tests may vary. + +## Further information + +For more detailed information about the Go track, including how to get help if +you're having trouble, please visit the exercism.io [Go language page](http://exercism.io/languages/go/about). + +## Source + +Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=01](http://pine.fm/LearnToProgram/?Chapter=01) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/go/space-age/cases_test.go b/go/space-age/cases_test.go new file mode 100644 index 0000000..bf8bed8 --- /dev/null +++ b/go/space-age/cases_test.go @@ -0,0 +1,61 @@ +package space + +// Source: exercism/problem-specifications +// Commit: 8d4df79 space-age: Apply new "input" policy +// Problem Specifications Version: 1.1.0 + +var testCases = []struct { + description string + planet Planet + seconds float64 + expected float64 +}{ + { + description: "age on Earth", + planet: "Earth", + seconds: 1000000000, + expected: 31.69, + }, + { + description: "age on Mercury", + planet: "Mercury", + seconds: 2134835688, + expected: 280.88, + }, + { + description: "age on Venus", + planet: "Venus", + seconds: 189839836, + expected: 9.78, + }, + { + description: "age on Mars", + planet: "Mars", + seconds: 2329871239, + expected: 39.25, + }, + { + description: "age on Jupiter", + planet: "Jupiter", + seconds: 901876382, + expected: 2.41, + }, + { + description: "age on Saturn", + planet: "Saturn", + seconds: 3000000000, + expected: 3.23, + }, + { + description: "age on Uranus", + planet: "Uranus", + seconds: 3210123456, + expected: 1.21, + }, + { + description: "age on Neptune", + planet: "Neptune", + seconds: 8210123456, + expected: 1.58, + }, +} diff --git a/go/space-age/space_age_test.go b/go/space-age/space_age_test.go new file mode 100644 index 0000000..71f7359 --- /dev/null +++ b/go/space-age/space_age_test.go @@ -0,0 +1,25 @@ +package space + +import ( + "math" + "testing" +) + +func TestAge(t *testing.T) { + const precision = 0.01 + for _, tc := range testCases { + actual := Age(tc.seconds, tc.planet) + if math.IsNaN(actual) || math.Abs(actual-tc.expected) > precision { + t.Fatalf("FAIL: %s\nExpected: %#v\nActual: %#v", tc.description, tc.expected, actual) + } + t.Logf("PASS: %s", tc.description) + } +} + +func BenchmarkAge(b *testing.B) { + for i := 0; i < b.N; i++ { + for _, tc := range testCases { + Age(tc.seconds, tc.planet) + } + } +} diff --git a/kotlin/hello-world/.gradle/4.8/fileChanges/last-build.bin b/kotlin/hello-world/.gradle/4.8/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/fileChanges/last-build.bin differ diff --git a/kotlin/hello-world/.gradle/4.8/fileContent/fileContent.lock b/kotlin/hello-world/.gradle/4.8/fileContent/fileContent.lock new file mode 100644 index 0000000..fd490d7 Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/fileContent/fileContent.lock differ diff --git a/kotlin/hello-world/.gradle/4.8/fileHashes/fileHashes.bin b/kotlin/hello-world/.gradle/4.8/fileHashes/fileHashes.bin new file mode 100644 index 0000000..7bd3433 Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/fileHashes/fileHashes.bin differ diff --git a/kotlin/hello-world/.gradle/4.8/fileHashes/fileHashes.lock b/kotlin/hello-world/.gradle/4.8/fileHashes/fileHashes.lock new file mode 100644 index 0000000..0669427 Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/fileHashes/fileHashes.lock differ diff --git a/kotlin/hello-world/.gradle/4.8/fileHashes/resourceHashesCache.bin b/kotlin/hello-world/.gradle/4.8/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..7a9be8d Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/fileHashes/resourceHashesCache.bin differ diff --git a/kotlin/hello-world/.gradle/4.8/taskHistory/taskHistory.bin b/kotlin/hello-world/.gradle/4.8/taskHistory/taskHistory.bin new file mode 100644 index 0000000..bc6fc58 Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/taskHistory/taskHistory.bin differ diff --git a/kotlin/hello-world/.gradle/4.8/taskHistory/taskHistory.lock b/kotlin/hello-world/.gradle/4.8/taskHistory/taskHistory.lock new file mode 100644 index 0000000..1b83c19 Binary files /dev/null and b/kotlin/hello-world/.gradle/4.8/taskHistory/taskHistory.lock differ diff --git a/kotlin/hello-world/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/kotlin/hello-world/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..6e44707 Binary files /dev/null and b/kotlin/hello-world/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/kotlin/hello-world/.gradle/buildOutputCleanup/cache.properties b/kotlin/hello-world/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..f4b5f8a --- /dev/null +++ b/kotlin/hello-world/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Jun 21 08:10:45 CDT 2018 +gradle.version=4.8 diff --git a/kotlin/hello-world/.gradle/buildOutputCleanup/outputFiles.bin b/kotlin/hello-world/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..f3b2e16 Binary files /dev/null and b/kotlin/hello-world/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/kotlin/hello-world/.gradle/vcsWorkingDirs/gc.properties b/kotlin/hello-world/.gradle/vcsWorkingDirs/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/hello-world/GETTING_STARTED.md b/kotlin/hello-world/GETTING_STARTED.md deleted file mode 100644 index 06b4f55..0000000 --- a/kotlin/hello-world/GETTING_STARTED.md +++ /dev/null @@ -1,50 +0,0 @@ ----- -# Quick Start Guide - -This guide picks-up where [Running the Tests (in Kotlin)](http://exercism.io/languages/kotlin/tests) -left off. If you haven't reviewed those instructions, do so now. - -Need more information? A **step-by-step tutorial** is available in this directory at TUTORIAL.md or you can read -the [HTML version](https://github.com/exercism/kotlin/blob/master/exercises/hello-world/TUTORIAL.md). - -The following instructions work equally well on Windows, Mac OS X and Linux. - -## Solve "Hello World" - -Try writing a solution that passes one test at a time, running Gradle each time: - - -``` -$ gradle test -``` - -## Iterate through the tests - -After your first test passes, remove the `@Ignore` from the next test, and iterate on your solution, -testing after each change. - -## All the tests pass? Submit your solution! - -With a working solution that we've reviewed, we're ready to submit it to -exercism.io. - -``` -$ exercism submit src/main/kotlin/HelloWorld.kt -``` - -## Next Steps - -From here, there are a number of paths you can take. - -1. Move on to the next exercise -2. Review (and comment on) others' submissions to this exercise -3. Submit another iteration -4. Contribute to Exercism - - -We sincerely hope you learn and enjoy being part of this community. If at any time you need assistance -do not hesitate to ask for help: - -http://exercism.io/languages/kotlin/help - -Cheers! diff --git a/kotlin/hello-world/README.md b/kotlin/hello-world/README.md index 9f4e110..dfcd0fb 100644 --- a/kotlin/hello-world/README.md +++ b/kotlin/hello-world/README.md @@ -1,48 +1,30 @@ # Hello World -Write a function that greets the user by name, or by saying "Hello, World!" if no name is given. +The classical introductory exercise. Just say "Hello, World!". -["Hello, World!"](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) is the traditional first program for beginning programming in a new language. +["Hello, World!"](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) is +the traditional first program for beginning programming in a new language +or environment. -**Note:** You can skip this exercise by running: +The objectives are simple: - exercism skip $LANGUAGE hello-world +- Write a function that returns the string "Hello, World!". +- Run the test suite and make sure that it succeeds. +- Submit your solution and check it at the website. -## Specification +If everything goes well, you will be ready to fetch your first real exercise. -Write a `Hello World!` function that can greet someone given their name. -The function should return the appropriate greeting. +Since this is your first Kotlin exercise, we've included a detailed TUTORIAL.md +file that guides you through your solution. Check it out for tips and +assistance! -For an input of "Alice", the response should be "Hello, Alice!". -If a name is not given, the response should be "Hello, World!" -## Test-Driven Development - -As programmers mature, they eventually want to test their code. - -Here at Exercism we simulate [Test-Driven Development](http://en.wikipedia.org/wiki/Test-driven_development) (TDD), where you write your tests before writing any functionality. The simulation comes in the form of a pre-written test suite, which will signal that you have solved the problem. - -It will also provide you with a safety net to explore other solutions without breaking the functionality. - -### A typical TDD workflow on Exercism: - -1. Run the test file and pick one test that's failing. -2. Write some code to fix the test you picked. -3. Re-run the tests to confirm the test is now passing. -4. Repeat from step 1. -5. Submit your solution (`exercism submit /path/to/file`) - -## Instructions - -Submissions are encouraged to be general, within reason. Having said that, it's also important not to over-engineer a solution. - -It's important to remember that the goal is to make code as expressive and readable as we can. However, solutions to the hello-world exercise will not be reviewed by a person, but by rikki- the robot, who will offer an encouraging word. + ## Source This is an exercise to introduce users to using Exercism [http://en.wikipedia.org/wiki/%22Hello,_world!%22_program](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) -## Submitting Incomplete Problems +## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. - diff --git a/kotlin/hello-world/TUTORIAL.md b/kotlin/hello-world/TUTORIAL.md index c3ea818..432cf79 100644 --- a/kotlin/hello-world/TUTORIAL.md +++ b/kotlin/hello-world/TUTORIAL.md @@ -1,22 +1,15 @@ NOTE: You can also view the HTML version of this file here: https://github.com/exercism/kotlin/blob/master/exercises/hello-world/TUTORIAL.md +* [Introduction](#introduction) +* [Exercise Structure](#exercise-structure) * [Solving "Hello, World!"](#solving-hello-world) - * [Reading Gradle output](#reading-gradle-output) - * [Fixing the first failing test](#fixing-the-first-failing-test) - * [Enabling and fixing the second test](#enabling-and-fixing-the-second-test) - * [Enabling and fixing the third test](#enabling-and-fixing-the-third-test) - * [Enabling the last test](#enabling-the-last-test) - * [Refactoring](#refactoring) * [Submitting your first iteration](#submitting-your-first-iteration) * [Next Steps](#next-steps) - * [Review (and comment on) others' submissions to this exercise](#review-and-comment-on-others-submissions-to-this-exercise) - * [Extend an exercise](#extend-an-exercise) - * [Contribute to Exercism](#contribute-to-exercism) ---- -# Solving "Hello, World!" +# Introduction Welcome to the first exercise on the Kotlin track! @@ -26,7 +19,7 @@ Each exercise comes with a set of tests. The first pass through the exercise is about getting all of the tests to pass, one at a time. If you have not installed the Java Development Kit and Gradle, you must do -so now. For help with this, see: http://exercism.io/languages/kotlin/installing +so now. For help with this, see: http://exercism.io/languages/kotlin/installation ---- @@ -35,7 +28,22 @@ left off. If you haven't reviewed those instructions, do so now. The following instructions work equally well on Windows, Mac OS X and Linux. -## Reading Gradle output +# Exercise Structure + +When you fetch a new Kotlin exercise, you will receive: + +* __one or more test files__ (always). These live in the `src/test/kotlin` +directory and define a set of tests that our solution must satisfy before we +can safely declare that it is working. +* __one or more starter files__ (initially). If provided, these live in the +`src/main/kotlin` directory and define shells of the classes you will need +in order to solve the current problem. + + + +# Solving "Hello World!" + +## Step 1: Run the tests against the starter solution Use Gradle to run the tests: @@ -84,19 +92,14 @@ running the task you asked it to: executing the tests against the solution. ``` :test -HelloWorldTest > helloSampleName SKIPPED -HelloWorldTest > helloBlankName SKIPPED - -HelloWorldTest > helloNoName FAILED +HelloWorldTest > helloWorldTest FAILED org.junit.ComparisonFailure: expected:<[Hello, World!]> but was:<[]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at HelloWorldTest.helloNoName(HelloWorldTest.kt:10) -HelloWorldTest > helloAnotherSampleName SKIPPED - -4 tests completed, 1 failed, 3 skipped +1 test completed, 1 failed :test FAILED FAILURE: Build failed with an exception. @@ -113,19 +116,19 @@ BUILD FAILED Total time: 7.473 secs ``` -Seeing the word "fail" NINE TIMES might give you the impression you've done +Seeing the word "fail" might give you the impression you've done something horribly wrong! You haven't. It's a whole lot of noise over a single test not passing. Let's focus in on the important bits: ``` -HelloWorldTest > helloNoName FAILED +HelloWorldTest > helloWorldTest FAILED org.junit.ComparisonFailure: expected:<[Hello, World!]> but was:<[]> ``` ...is read: "Within the test class named `HelloWorldTest`, the test method -`helloNoName` did not pass because the solution did not satisfy an +`helloWorldTest` did not pass because the solution did not satisfy an assertion. Apparently, we expected to see the string 'Hello, World!' but a blank string was returned instead. @@ -133,7 +136,7 @@ The last line of the stack trace tells us exactly where this unsatisfied assertion lives: ``` - at HelloWorldTest.helloNoName(HelloWorldTest.kt:10) + at HelloWorldTest.helloWorldTest(HelloWorldTest.kt:10) ``` Looks like the scene of the crime is on line 10 in the test file. @@ -145,25 +148,22 @@ Knowing these two facts, we can turn this failure into success. - - -## Fixing the first failing test +## Step 2: Fix the Test! In your favorite text editor, open `src/test/kotlin/HelloWorldTest.kt` and go to line 10. ```kotlin -assertEquals("Hello, World!", hello("")) +assertEquals("Hello, World!", hello()) ``` -The test is expecting that `hello()`, when given an empty string (`""`), -returns "Hello, World!". Instead, `hello()` is returning `""`. +The test is expecting that `hello()`, returns "Hello, World!". Instead, `hello()` is returning `""`. Let's fix that. Open `src/main/kotlin/HelloWorld.kt`. ```kotlin -fun hello(name: String = ""): String { +fun hello(): String { return "" } ``` @@ -171,7 +171,7 @@ fun hello(name: String = ""): String { Let's change that to return the expected string: ```kotlin -fun hello(name: String = ""): String { +fun hello(): String { return "Hello, World!" } ``` @@ -181,7 +181,6 @@ Save the file and run the tests again: ``` $ gradle test :compileKotlin -w: /Users/jtigger/exercism/exercises/kotlin/hello-world/src/main/kotlin/HelloWorld.kt: (1, 11): Parameter 'name' is never used :compileJava UP-TO-DATE :copyMainKotlinClasses :processResources UP-TO-DATE @@ -193,419 +192,18 @@ w: /Users/jtigger/exercism/exercises/kotlin/hello-world/src/main/kotlin/HelloWor :testClasses UP-TO-DATE :test -HelloWorldTest > helloSampleName SKIPPED - -HelloWorldTest > helloBlankName SKIPPED - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName SKIPPED +HelloWorldTest > helloWorldTest PASSED BUILD SUCCESSFUL Total time: 7.318 secs ``` -"BUILD SUCCESSFUL"! Woohoo! :) You can see that `helloNoName()` test is +"BUILD SUCCESSFUL"! Woohoo! :) You can see that `helloWorldTest()` test is now passing. -We still see the warning about `name` not being used; we'll get to that -next. - -With one win under our belt, we can turn our focus to some other messages -that we've been ignoring: the lines ending in "`SKIPPED`". - -Each test suite contains a series of tests, all of which have been marked -to be skipped/ignored except the first one. We did this to help you focus -on getting one test running at a time. - -Let's tackle the next test... - - - -## Enabling and fixing the second test - -Right now, that second test is being skipped/ignored. Let's enable it. - -(Re)open `src/test/kotlin/HelloWorldTest.kt` and find the second test: - -```kotlin -@Test -@Ignore -fun helloSampleName() { - assertEquals("Hello, Alice!", hello("Alice")) -} -``` - -When the JUnit test runner sees that `@Ignore` annotation on the test -method, it knows to skip over that test. Remove that line: - -```kotlin -@Test -fun helloSampleName() { - assertEquals("Hello, Alice!", hello("Alice")) -} -``` - -Now, when you run the tests, both tests run: - -``` -$ gradle test -:test - -HelloWorldTest > helloSampleName FAILED - org.junit.ComparisonFailure: expected: but was: - at org.junit.Assert.assertEquals(Assert.java:115) - at org.junit.Assert.assertEquals(Assert.java:144) - at HelloWorldTest.helloSampleName(HelloWorldTest.kt:15) - -HelloWorldTest > helloBlankName SKIPPED - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName SKIPPED - -4 tests completed, 1 failed, 2 skipped -``` - -The first test, `helloNoName()` continues to pass. We see that -`helloSampleName` -- the test we just un-`@Ignore`'d -- is now running and -failing. Yay, failing test! In fact, the "failure" message is just -describing the difference between what the program does now and what it -should do for us to call it "done." - -Right now, we've hardcoded the greeting. Enabling this second test has -unleashed a new expectation: that our program incorporate a name given -into that greeting. When given the name "`Alice`", that's who should be -greeted instead of "`World`". - -(Re)open `src/main/kotlin/HelloWorld.kt`. - -```kotlin -fun hello(name: String = ""): String { - return "Hello, World!" -} -``` - -While `hello()` does accept a reference to a string named `name`, it is not -using it in the output. Let's change that: - - -```kotlin -fun hello(name: String = ""): String { - return "Hello, $name!" -} -``` - -_(Kotlin allows you to embed expressions within strings, a feature known as -string interpolation. For more about this feature, see -https://kotlinlang.org/docs/reference/basic-types.html#string-templates )_ - -... and rerun the tests ... - -``` -$ gradle test -:test - -HelloWorldTest > helloSampleName PASSED - -HelloWorldTest > helloBlankName SKIPPED - -HelloWorldTest > helloNoName FAILED - org.junit.ComparisonFailure: expected: but was: - at org.junit.Assert.assertEquals(Assert.java:115) - at org.junit.Assert.assertEquals(Assert.java:144) - at HelloWorldTest.helloNoName(HelloWorldTest.kt:10) - -HelloWorldTest > helloAnotherSampleName SKIPPED - -4 tests completed, 1 failed, 2 skipped -``` - -Wait... didn't we just fix the test? Why is it failing? Take a closer look... - -In fact, `helloSampleName()` *is* passing. It's just that at the same time, -we just inadvertently broke that first test: `helloNoName()`. - -This is one tiny example of the benefit of maintaining a test suite: if we -use them to drive out our code, the second we break the program the tests -say so. Since we saw them passing just *before* our latest change, -whatever we *just* did most likely cause that regression. - -Our latest change was making the greeting dependent on the name given. If -no name is given, our function defaults to an empty string. The intent is -that when `hello()` is called on no one in particular, our function greets -the whole world. Sound like a job for a default value! - -`src/main/kotlin/HelloWorld.kt`: -```kotlin -fun hello(name: String = "World"): String { - return "Hello, $name!" -} -``` - -... and re-run the tests ... - -``` -$ gradle test -:compileKotlin -:compileJava UP-TO-DATE -:copyMainKotlinClasses -:processResources UP-TO-DATE -:classes UP-TO-DATE -:compileTestKotlin -:compileTestJava UP-TO-DATE -:copyTestKotlinClasses -:processTestResources UP-TO-DATE -:testClasses UP-TO-DATE -:test - -HelloWorldTest > helloSampleName PASSED - -HelloWorldTest > helloBlankName SKIPPED - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName SKIPPED - -BUILD SUCCESSFUL -``` - -Excellent! Not only are both our tests passing, but that pesky warning -about not using `name` has faded into the distant past. We're now -(at least) three-fourth the way done. Just two more tests to go... - - - -## Enabling and fixing the third test - -(Re)open `src/test/kotlin/HelloWorldTest.kt` and find the penultimate test: - -```kotlin -@Test -@Ignore -fun helloBlankName() { - assertEquals("Hello, World!", hello(" ")) -} -``` - -In this test, we're trying to be tricky. It's one thing to omit a -parameter completely; it's a whole other situation when we provide a blank -string for a name. This test is telling us that we'd like to treat these -cases the same way. - -... and remove it's `@Ignore` to enable it ... - -```kotlin -@Test -fun helloBlankName() { - assertEquals("Hello, World!", hello(" ")) -} -``` - -... and re-run the tests ... - -``` -$ gradle test -:test - -HelloWorldTest > helloSampleName PASSED - -HelloWorldTest > helloBlankName FAILED - org.junit.ComparisonFailure: expected: but was: - at org.junit.Assert.assertEquals(Assert.java:115) - at org.junit.Assert.assertEquals(Assert.java:144) - at HelloWorldTest.helloBlankName(HelloWorldTest.kt:20) - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName SKIPPED - -4 tests completed, 1 failed, 1 skipped -``` - -Since `" "` is an actual value, Kotlin does _not_ substitute in the -default value. - -(Re)open `src/main/kotlin/HelloWorld.kt`. - -```kotlin -fun hello(name: String = "World"): String { - return "Hello, $name!" -} -``` - -One way to handle this case is to check to see if `name` is blank. Let's -do that: - - -```kotlin -fun hello(name: String = "World"): String { - return "Hello, ${if (name.isBlank()) "World" else name}!" -} -``` - -As you can see, string templates can contain not just references to -variables, but entire expressions! This is appropriate in a case like this -where we want to apply a simple condition to a value. - -... and rerun the tests ... - -``` -$ gradle test -:test - -HelloWorldTest > helloSampleName PASSED - -HelloWorldTest > helloBlankName PASSED - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName SKIPPED - -BUILD SUCCESSFUL -``` - -We're almost there (perhaps closer than you think)! Just _one_ more test -to pass before we have a solution we can have real confidence in. - - - -## Enabling the last test - -(Re)open `src/test/kotlin/HelloWorldTest.kt` and find the last test: - -```kotlin -@Test -@Ignore -fun helloAnotherSampleName() { - assertEquals("Hello, Bob!", hello("Bob")) -} -``` - -... and pop-off that `@Ignore` ... - -```kotlin -@Test -fun helloAnotherSampleName() { - assertEquals("Hello, Bob!", hello("Bob")) -} -``` - -... then rerun the tests ... - -``` -:test - -HelloWorldTest > helloSampleName PASSED - -HelloWorldTest > helloBlankName PASSED - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName PASSED - -BUILD SUCCESSFUL -``` - -Oh, hello! Turns out, the solution we put into place didn't just apply for -"`Alice`" but for "`Bob`" equally well. In this case, the test succeeded -with no additional code on our part. - Congratulations! - - -## Refactoring - -Now that you've got all the tests passing, you might consider whether -the code is in the most readable/maintainable/efficient shape. What makes -for "good" design of software is a big topic. The pursuit of it underlies -much of what makes up the more valuable conversations on Exercism. - -Kotlin is such a concise language and this exercise is so small, there is -not much room for us to make adjustments. Most would leave this code, as -is. - -That said, we've taken such pains to illustrate two core parts of the -Test-Driven Development approach (i.e. "red", "green"), we'd be remiss if -we skipped the all important final part: "refactor". - -More on TDD at http://www.jamesshore.com/Blog/Red-Green-Refactor.html. - -The core responsibility of `hello()` is to produce a personalized greeting. -_How_ we determine whether or not a name is given (i.e. `name` is -effectively an empty string) is a lower-level detail. - -```kotlin -fun hello(name: String = "World"): String { - return "Hello, ${if (name.isBlank()) "World" else name}!" -} -``` - -How would things read if we extracted that detail into a separate method? - -```kotlin -fun hello(name: String = ""): String { - return "Hello, ${whom(name)}!" -} - -private fun whom(name: String):String { - return if(name.isBlank()) "World" else name -} -``` - -By extracting that logic into the `whom()` method, we've added a little -abstraction to our program — it's not as literal as it was before. Yet, -it allows us to defer _needing_ to understand _how_ the recipient of the -greeting is determined. - -If we can assume that `whom()` just works, we don't have to -downshift in our head to those details. Instead, we can remain at the same -level of thinking: what's the greeting? - -_(Yes, this is considerable more lines of code; again, not a move we'd likely -make typically. The takeaway is this: when you are "done" with an exercise -ask yourself, "can I adjust the shape of this code to better tell the -story of what's going on through its shape?")_ - -We made a bunch of changes, let's make sure we didn't break the program! - -``` -$ gradle test -:compileKotlin -:compileJava UP-TO-DATE -:copyMainKotlinClasses -:processResources UP-TO-DATE -:classes UP-TO-DATE -:compileTestKotlin -:compileTestJava UP-TO-DATE -:copyTestKotlinClasses UP-TO-DATE -:processTestResources UP-TO-DATE -:testClasses UP-TO-DATE -:test - -HelloWorldTest > helloSampleName PASSED - -HelloWorldTest > helloBlankName PASSED - -HelloWorldTest > helloNoName PASSED - -HelloWorldTest > helloAnotherSampleName PASSED - -BUILD SUCCESSFUL -``` - -This illustrates another benefit of writing tests: you can make significant -changes to the structure of the program and very quickly restore your -confidence that the program still works. These tests are a far cry from a -"proof" of correctness, but well-written tests do a much better job of -(very quickly) giving us evidence that it is. Without them, we manually -run the program with different inputs and/or inspecting the code -line-by-line — time-consuming and error prone. - - - # Submitting your first iteration With a working solution that we've reviewed, we're ready to submit it to @@ -662,7 +260,7 @@ use the capitalized form on the person's name, regardless of the case they used. In that situation, you'd: - + 1. add a new test setting up that new expectation, 2. implement that in the code (the same process we just went through together, above). diff --git a/kotlin/hello-world/build.gradle b/kotlin/hello-world/build.gradle index 3ed2722..e528a7b 100644 --- a/kotlin/hello-world/build.gradle +++ b/kotlin/hello-world/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.0.2' + ext.kotlin_version = '1.2.40' repositories { mavenCentral() } @@ -20,3 +20,9 @@ dependencies { testCompile 'junit:junit:4.12' testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" } +test { + testLogging { + exceptionFormat = 'full' + events = ["passed", "failed", "skipped"] + } +} diff --git a/kotlin/hello-world/build/classes/kotlin/main/HelloWorldKt.class b/kotlin/hello-world/build/classes/kotlin/main/HelloWorldKt.class new file mode 100644 index 0000000..7ac2209 Binary files /dev/null and b/kotlin/hello-world/build/classes/kotlin/main/HelloWorldKt.class differ diff --git a/kotlin/hello-world/build/classes/kotlin/main/META-INF/hello-world.kotlin_module b/kotlin/hello-world/build/classes/kotlin/main/META-INF/hello-world.kotlin_module new file mode 100644 index 0000000..95c1f24 Binary files /dev/null and b/kotlin/hello-world/build/classes/kotlin/main/META-INF/hello-world.kotlin_module differ diff --git a/kotlin/hello-world/build/classes/kotlin/test/HelloWorldTest.class b/kotlin/hello-world/build/classes/kotlin/test/HelloWorldTest.class new file mode 100644 index 0000000..3317d81 Binary files /dev/null and b/kotlin/hello-world/build/classes/kotlin/test/HelloWorldTest.class differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab new file mode 100644 index 0000000..b608b1a Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.keystream b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.keystream new file mode 100644 index 0000000..7cb664c Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.keystream.len b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.keystream.len new file mode 100644 index 0000000..75ae93b Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.len b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.len differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.values.at b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.values.at new file mode 100644 index 0000000..e532f55 Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab_i b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab_i new file mode 100644 index 0000000..4a63a21 Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab_i differ diff --git a/kotlin/hello-world/build/kotlin-build/artifact-difference.tab_i.len b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin-build/artifact-difference.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin-build/version.txt b/kotlin/hello-world/build/kotlin-build/version.txt new file mode 100644 index 0000000..01aabac --- /dev/null +++ b/kotlin/hello-world/build/kotlin-build/version.txt @@ -0,0 +1 @@ +11001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/build-history.bin b/kotlin/hello-world/build/kotlin/compileKotlin/build-history.bin new file mode 100644 index 0000000..a8c3370 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/build-history.bin differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/data-container-format-version.txt b/kotlin/hello-world/build/kotlin/compileKotlin/data-container-format-version.txt new file mode 100644 index 0000000..b01b80f --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileKotlin/data-container-format-version.txt @@ -0,0 +1 @@ +2011001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/format-version.txt b/kotlin/hello-world/build/kotlin/compileKotlin/format-version.txt new file mode 100644 index 0000000..2408adb --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileKotlin/format-version.txt @@ -0,0 +1 @@ +8011001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/gradle-format-version.txt b/kotlin/hello-world/build/kotlin/compileKotlin/gradle-format-version.txt new file mode 100644 index 0000000..7289c6b --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileKotlin/gradle-format-version.txt @@ -0,0 +1 @@ +4011001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileKotlin/last-build.bin b/kotlin/hello-world/build/kotlin/compileKotlin/last-build.bin new file mode 100644 index 0000000..07e1dba Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileKotlin/last-build.bin differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/build-history.bin b/kotlin/hello-world/build/kotlin/compileTestKotlin/build-history.bin new file mode 100644 index 0000000..80dee99 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/build-history.bin differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab new file mode 100644 index 0000000..dec6903 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream new file mode 100644 index 0000000..638c5ce Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len new file mode 100644 index 0000000..2537434 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.values.at new file mode 100644 index 0000000..4a72f70 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i new file mode 100644 index 0000000..c05f084 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab new file mode 100644 index 0000000..dec6903 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream new file mode 100644 index 0000000..ab1a198 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len new file mode 100644 index 0000000..933d553 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at new file mode 100644 index 0000000..f77a550 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i new file mode 100644 index 0000000..48ba7b0 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab new file mode 100644 index 0000000..dec6903 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream new file mode 100644 index 0000000..ab1a198 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len new file mode 100644 index 0000000..933d553 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at new file mode 100644 index 0000000..f77a550 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i new file mode 100644 index 0000000..48ba7b0 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab new file mode 100644 index 0000000..dec6903 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream new file mode 100644 index 0000000..ab1a198 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len new file mode 100644 index 0000000..933d553 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at new file mode 100644 index 0000000..e0cab2b Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i new file mode 100644 index 0000000..48ba7b0 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab new file mode 100644 index 0000000..dec6903 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream new file mode 100644 index 0000000..638c5ce Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len new file mode 100644 index 0000000..2537434 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at new file mode 100644 index 0000000..30a65d7 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i new file mode 100644 index 0000000..c05f084 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/counters.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/counters.tab new file mode 100644 index 0000000..166c057 --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/counters.tab @@ -0,0 +1,2 @@ +1 +0 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab new file mode 100644 index 0000000..dec6903 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream new file mode 100644 index 0000000..0090a32 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len new file mode 100644 index 0000000..36189d3 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.values.at new file mode 100644 index 0000000..5875372 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i new file mode 100644 index 0000000..0709591 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab new file mode 100644 index 0000000..273a1f1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len new file mode 100644 index 0000000..b7da01d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.values.at new file mode 100644 index 0000000..9a482f4 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 0000000..d8b2b4f Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab new file mode 100644 index 0000000..52b687b Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream new file mode 100644 index 0000000..95e39c7 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len new file mode 100644 index 0000000..385642d Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len new file mode 100644 index 0000000..fe2dd79 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.values.at b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.values.at new file mode 100644 index 0000000..f5f5654 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.values.at differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i new file mode 100644 index 0000000..e28308c Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len differ diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/data-container-format-version.txt b/kotlin/hello-world/build/kotlin/compileTestKotlin/data-container-format-version.txt new file mode 100644 index 0000000..b01b80f --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileTestKotlin/data-container-format-version.txt @@ -0,0 +1 @@ +2011001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/format-version.txt b/kotlin/hello-world/build/kotlin/compileTestKotlin/format-version.txt new file mode 100644 index 0000000..2408adb --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileTestKotlin/format-version.txt @@ -0,0 +1 @@ +8011001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/gradle-format-version.txt b/kotlin/hello-world/build/kotlin/compileTestKotlin/gradle-format-version.txt new file mode 100644 index 0000000..7289c6b --- /dev/null +++ b/kotlin/hello-world/build/kotlin/compileTestKotlin/gradle-format-version.txt @@ -0,0 +1 @@ +4011001 \ No newline at end of file diff --git a/kotlin/hello-world/build/kotlin/compileTestKotlin/last-build.bin b/kotlin/hello-world/build/kotlin/compileTestKotlin/last-build.bin new file mode 100644 index 0000000..4336482 Binary files /dev/null and b/kotlin/hello-world/build/kotlin/compileTestKotlin/last-build.bin differ diff --git a/kotlin/hello-world/build/reports/tests/test/classes/HelloWorldTest.html b/kotlin/hello-world/build/reports/tests/test/classes/HelloWorldTest.html new file mode 100644 index 0000000..23e1a4e --- /dev/null +++ b/kotlin/hello-world/build/reports/tests/test/classes/HelloWorldTest.html @@ -0,0 +1,96 @@ + + + + + +Test results - Class HelloWorldTest + + + + + +
+

Class HelloWorldTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
1
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.015s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + +
TestDurationResult
helloWorldTest0.015spassed
+
+
+ +
+ + diff --git a/kotlin/hello-world/build/reports/tests/test/css/base-style.css b/kotlin/hello-world/build/reports/tests/test/css/base-style.css new file mode 100644 index 0000000..4afa73e --- /dev/null +++ b/kotlin/hello-world/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/kotlin/hello-world/build/reports/tests/test/css/style.css b/kotlin/hello-world/build/reports/tests/test/css/style.css new file mode 100644 index 0000000..3dc4913 --- /dev/null +++ b/kotlin/hello-world/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/kotlin/hello-world/build/reports/tests/test/index.html b/kotlin/hello-world/build/reports/tests/test/index.html new file mode 100644 index 0000000..9f919ed --- /dev/null +++ b/kotlin/hello-world/build/reports/tests/test/index.html @@ -0,0 +1,132 @@ + + + + + +Test results - Test Summary + + + + + +
+

Test Summary

+
+ + + + + +
+
+ + + + + + + +
+
+
1
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.015s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Packages

+ + + + + + + + + + + + + + + + + + + + + +
PackageTestsFailuresIgnoredDurationSuccess rate
+default-package +1000.015s100%
+
+
+

Classes

+ + + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+HelloWorldTest +1000.015s100%
+
+
+ +
+ + diff --git a/kotlin/hello-world/build/reports/tests/test/js/report.js b/kotlin/hello-world/build/reports/tests/test/js/report.js new file mode 100644 index 0000000..83bab4a --- /dev/null +++ b/kotlin/hello-world/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/kotlin/hello-world/build/reports/tests/test/packages/default-package.html b/kotlin/hello-world/build/reports/tests/test/packages/default-package.html new file mode 100644 index 0000000..bae6253 --- /dev/null +++ b/kotlin/hello-world/build/reports/tests/test/packages/default-package.html @@ -0,0 +1,103 @@ + + + + + +Test results - Default package + + + + + +
+

Default package

+ +
+ + + + + +
+
+ + + + + + + +
+
+
1
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.015s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Classes

+ + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+HelloWorldTest +1000.015s100%
+
+
+ +
+ + diff --git a/kotlin/hello-world/build/test-results/test/TEST-HelloWorldTest.xml b/kotlin/hello-world/build/test-results/test/TEST-HelloWorldTest.xml new file mode 100644 index 0000000..13c47d6 --- /dev/null +++ b/kotlin/hello-world/build/test-results/test/TEST-HelloWorldTest.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/kotlin/hello-world/build/test-results/test/binary/output.bin b/kotlin/hello-world/build/test-results/test/binary/output.bin new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/hello-world/build/test-results/test/binary/output.bin.idx b/kotlin/hello-world/build/test-results/test/binary/output.bin.idx new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/kotlin/hello-world/build/test-results/test/binary/output.bin.idx differ diff --git a/kotlin/hello-world/build/test-results/test/binary/results.bin b/kotlin/hello-world/build/test-results/test/binary/results.bin new file mode 100644 index 0000000..d73368f Binary files /dev/null and b/kotlin/hello-world/build/test-results/test/binary/results.bin differ diff --git a/kotlin/hello-world/src/main/kotlin/HelloWorld.kt b/kotlin/hello-world/src/main/kotlin/HelloWorld.kt index 9738a23..662ce3c 100644 --- a/kotlin/hello-world/src/main/kotlin/HelloWorld.kt +++ b/kotlin/hello-world/src/main/kotlin/HelloWorld.kt @@ -1,31 +1,3 @@ -/** - * Simple HelloWorld singleton class as defined by the `Kotlin object keyword`. - * See: https://kotlinlang.org/docs/reference/object-declarations.html#object-declarations - * - * As an alternative one could create a class such as: - * ``` - * class HelloWorld(name: String? = "Default Value") { - * fun hello(): String { - * - * } - * } - * ``` - * Resulting in a call such as: `HelloWorld("Bob").hello()` - * See: https://kotlinlang.org/docs/reference/classes.html#constructors - * - * In Kotlin we make objects defined as nullable via the trailing `?`, if you try - * to assign a null value to any value that isn't nullable a compilation error is thrown. - * Kotlin makes sure you are accessing nullable values safely and provides null safe calls - * and the use of the elvis operator. See: https://kotlinlang.org/docs/reference/null-safety.html - * - * You may provide default values on methods, so if an argument is omitted the default is used. - * See: https://kotlinlang.org/docs/reference/functions.html#default-arguments - * - * Kotlin provides String interpolation to make String formatting simple. - * See: https://kotlinlang.org/docs/reference/idioms.html#string-interpolation - */ -object HelloWorld { - fun hello(name: String? = "Default Argument"): String { - - } +fun hello(): String { + return "Hello, World!" } diff --git a/kotlin/hello-world/src/test/kotlin/HelloWorldTest.kt b/kotlin/hello-world/src/test/kotlin/HelloWorldTest.kt index c1c41a2..2da58fd 100644 --- a/kotlin/hello-world/src/test/kotlin/HelloWorldTest.kt +++ b/kotlin/hello-world/src/test/kotlin/HelloWorldTest.kt @@ -1,32 +1,11 @@ -import kotlin.test.assertEquals import org.junit.Test +import kotlin.test.assertEquals class HelloWorldTest { @Test - fun helloNoName() { - assertEquals("Hello, World!", HelloWorld.hello()) + fun helloWorldTest() { + assertEquals("Hello, World!", hello()) } - @Test - fun helloBlankName() { - assertEquals("Hello, World!", HelloWorld.hello("")) - assertEquals("Hello, World!", HelloWorld.hello(" ")) - } - - @Test - fun helloNullName() { - //This isn't advised in Kotlin but demonstrates the null safety in Kotlin - assertEquals("Hello, World!", HelloWorld.hello(null)) - } - - @Test - fun helloSampleName() { - assertEquals("Hello, Alice!", HelloWorld.hello("Alice")) - } - - @Test - fun helloAnotherSampleName() { - assertEquals("Hello, Bob!", HelloWorld.hello("Bob")) - } } diff --git a/kotlin/leap/.gradle/4.8/fileChanges/last-build.bin b/kotlin/leap/.gradle/4.8/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/kotlin/leap/.gradle/4.8/fileChanges/last-build.bin differ diff --git a/kotlin/leap/.gradle/4.8/fileContent/fileContent.lock b/kotlin/leap/.gradle/4.8/fileContent/fileContent.lock new file mode 100644 index 0000000..727284c Binary files /dev/null and b/kotlin/leap/.gradle/4.8/fileContent/fileContent.lock differ diff --git a/kotlin/leap/.gradle/4.8/fileHashes/fileHashes.bin b/kotlin/leap/.gradle/4.8/fileHashes/fileHashes.bin new file mode 100644 index 0000000..08fcfd0 Binary files /dev/null and b/kotlin/leap/.gradle/4.8/fileHashes/fileHashes.bin differ diff --git a/kotlin/leap/.gradle/4.8/fileHashes/fileHashes.lock b/kotlin/leap/.gradle/4.8/fileHashes/fileHashes.lock new file mode 100644 index 0000000..dfa63de Binary files /dev/null and b/kotlin/leap/.gradle/4.8/fileHashes/fileHashes.lock differ diff --git a/kotlin/leap/.gradle/4.8/fileHashes/resourceHashesCache.bin b/kotlin/leap/.gradle/4.8/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..7a9be8d Binary files /dev/null and b/kotlin/leap/.gradle/4.8/fileHashes/resourceHashesCache.bin differ diff --git a/kotlin/leap/.gradle/4.8/taskHistory/taskHistory.bin b/kotlin/leap/.gradle/4.8/taskHistory/taskHistory.bin new file mode 100644 index 0000000..323edd9 Binary files /dev/null and b/kotlin/leap/.gradle/4.8/taskHistory/taskHistory.bin differ diff --git a/kotlin/leap/.gradle/4.8/taskHistory/taskHistory.lock b/kotlin/leap/.gradle/4.8/taskHistory/taskHistory.lock new file mode 100644 index 0000000..91d373a Binary files /dev/null and b/kotlin/leap/.gradle/4.8/taskHistory/taskHistory.lock differ diff --git a/kotlin/leap/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/kotlin/leap/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..fca37de Binary files /dev/null and b/kotlin/leap/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/kotlin/leap/.gradle/buildOutputCleanup/cache.properties b/kotlin/leap/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..a007fc6 --- /dev/null +++ b/kotlin/leap/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Jun 21 08:46:17 CDT 2018 +gradle.version=4.8 diff --git a/kotlin/leap/.gradle/buildOutputCleanup/outputFiles.bin b/kotlin/leap/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..46a99e7 Binary files /dev/null and b/kotlin/leap/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/kotlin/leap/.gradle/vcsWorkingDirs/gc.properties b/kotlin/leap/.gradle/vcsWorkingDirs/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/leap/README.md b/kotlin/leap/README.md new file mode 100644 index 0000000..8429dc5 --- /dev/null +++ b/kotlin/leap/README.md @@ -0,0 +1,36 @@ +# Leap + +Given a year, report if it is a leap year. + +The tricky thing here is that a leap year in the Gregorian calendar occurs: + +```text +on every year that is evenly divisible by 4 + except every year that is evenly divisible by 100 + unless the year is also evenly divisible by 400 +``` + +For example, 1997 is not a leap year, but 1996 is. 1900 is not a leap +year, but 2000 is. + +If your language provides a method in the standard library that does +this look-up, pretend it doesn't exist and implement it yourself. + +## Notes + +Though our exercise adopts some very simple rules, there is more to +learn! + +For a delightful, four minute explanation of the whole leap year +phenomenon, go watch [this youtube video][video]. + +[video]: http://www.youtube.com/watch?v=xX96xng7sAE + + + +## Source + +JavaRanch Cattle Drive, exercise 3 [http://www.javaranch.com/leap.jsp](http://www.javaranch.com/leap.jsp) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/kotlin/leap/build.gradle b/kotlin/leap/build.gradle new file mode 100644 index 0000000..e528a7b --- /dev/null +++ b/kotlin/leap/build.gradle @@ -0,0 +1,28 @@ +buildscript { + ext.kotlin_version = '1.2.40' + repositories { + mavenCentral() + } + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +apply plugin: 'kotlin' + +repositories { + mavenCentral() +} + +dependencies { + compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + + testCompile 'junit:junit:4.12' + testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" +} +test { + testLogging { + exceptionFormat = 'full' + events = ["passed", "failed", "skipped"] + } +} diff --git a/kotlin/leap/build/classes/kotlin/main/Year.class b/kotlin/leap/build/classes/kotlin/main/Year.class new file mode 100644 index 0000000..a814fe1 Binary files /dev/null and b/kotlin/leap/build/classes/kotlin/main/Year.class differ diff --git a/kotlin/leap/build/classes/kotlin/test/LeapTest.class b/kotlin/leap/build/classes/kotlin/test/LeapTest.class new file mode 100644 index 0000000..ac931e4 Binary files /dev/null and b/kotlin/leap/build/classes/kotlin/test/LeapTest.class differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab b/kotlin/leap/build/kotlin-build/artifact-difference.tab new file mode 100644 index 0000000..64ea234 Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab.keystream b/kotlin/leap/build/kotlin-build/artifact-difference.tab.keystream new file mode 100644 index 0000000..87fe4bf Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab.keystream differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab.keystream.len b/kotlin/leap/build/kotlin-build/artifact-difference.tab.keystream.len new file mode 100644 index 0000000..70ec52b Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab.len b/kotlin/leap/build/kotlin-build/artifact-difference.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab.len differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab.values.at b/kotlin/leap/build/kotlin-build/artifact-difference.tab.values.at new file mode 100644 index 0000000..007c1c2 Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab.values.at differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab_i b/kotlin/leap/build/kotlin-build/artifact-difference.tab_i new file mode 100644 index 0000000..881c86f Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab_i differ diff --git a/kotlin/leap/build/kotlin-build/artifact-difference.tab_i.len b/kotlin/leap/build/kotlin-build/artifact-difference.tab_i.len new file mode 100644 index 0000000..131e265 Binary files /dev/null and b/kotlin/leap/build/kotlin-build/artifact-difference.tab_i.len differ diff --git a/kotlin/leap/build/kotlin-build/version.txt b/kotlin/leap/build/kotlin-build/version.txt new file mode 100644 index 0000000..01aabac --- /dev/null +++ b/kotlin/leap/build/kotlin-build/version.txt @@ -0,0 +1 @@ +11001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileKotlin/build-history.bin b/kotlin/leap/build/kotlin/compileKotlin/build-history.bin new file mode 100644 index 0000000..22e5fbf Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/build-history.bin differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileKotlin/data-container-format-version.txt b/kotlin/leap/build/kotlin/compileKotlin/data-container-format-version.txt new file mode 100644 index 0000000..b01b80f --- /dev/null +++ b/kotlin/leap/build/kotlin/compileKotlin/data-container-format-version.txt @@ -0,0 +1 @@ +2011001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileKotlin/format-version.txt b/kotlin/leap/build/kotlin/compileKotlin/format-version.txt new file mode 100644 index 0000000..2408adb --- /dev/null +++ b/kotlin/leap/build/kotlin/compileKotlin/format-version.txt @@ -0,0 +1 @@ +8011001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileKotlin/gradle-format-version.txt b/kotlin/leap/build/kotlin/compileKotlin/gradle-format-version.txt new file mode 100644 index 0000000..7289c6b --- /dev/null +++ b/kotlin/leap/build/kotlin/compileKotlin/gradle-format-version.txt @@ -0,0 +1 @@ +4011001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileKotlin/last-build.bin b/kotlin/leap/build/kotlin/compileKotlin/last-build.bin new file mode 100644 index 0000000..5842c39 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileKotlin/last-build.bin differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/build-history.bin b/kotlin/leap/build/kotlin/compileTestKotlin/build-history.bin new file mode 100644 index 0000000..98fd761 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/build-history.bin differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len differ diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/data-container-format-version.txt b/kotlin/leap/build/kotlin/compileTestKotlin/data-container-format-version.txt new file mode 100644 index 0000000..b01b80f --- /dev/null +++ b/kotlin/leap/build/kotlin/compileTestKotlin/data-container-format-version.txt @@ -0,0 +1 @@ +2011001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/format-version.txt b/kotlin/leap/build/kotlin/compileTestKotlin/format-version.txt new file mode 100644 index 0000000..2408adb --- /dev/null +++ b/kotlin/leap/build/kotlin/compileTestKotlin/format-version.txt @@ -0,0 +1 @@ +8011001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/gradle-format-version.txt b/kotlin/leap/build/kotlin/compileTestKotlin/gradle-format-version.txt new file mode 100644 index 0000000..7289c6b --- /dev/null +++ b/kotlin/leap/build/kotlin/compileTestKotlin/gradle-format-version.txt @@ -0,0 +1 @@ +4011001 \ No newline at end of file diff --git a/kotlin/leap/build/kotlin/compileTestKotlin/last-build.bin b/kotlin/leap/build/kotlin/compileTestKotlin/last-build.bin new file mode 100644 index 0000000..4bfda24 Binary files /dev/null and b/kotlin/leap/build/kotlin/compileTestKotlin/last-build.bin differ diff --git a/kotlin/leap/build/libs/leap.jar b/kotlin/leap/build/libs/leap.jar new file mode 100644 index 0000000..775ac92 Binary files /dev/null and b/kotlin/leap/build/libs/leap.jar differ diff --git a/kotlin/leap/build/reports/tests/test/classes/LeapTest.html b/kotlin/leap/build/reports/tests/test/classes/LeapTest.html new file mode 100644 index 0000000..38657f9 --- /dev/null +++ b/kotlin/leap/build/reports/tests/test/classes/LeapTest.html @@ -0,0 +1,111 @@ + + + + + +Test results - Class LeapTest + + + + + +
+

Class LeapTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
4
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.014s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestDurationResult
yearDivisibleBy100NotDivisibleBy4000.013spassed
yearDivisibleBy4000spassed
yearDivisibleBy4NotDivisibleBy1000.001spassed
yearNotDivisibleBy40spassed
+
+
+ +
+ + diff --git a/kotlin/leap/build/reports/tests/test/css/base-style.css b/kotlin/leap/build/reports/tests/test/css/base-style.css new file mode 100644 index 0000000..4afa73e --- /dev/null +++ b/kotlin/leap/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/kotlin/leap/build/reports/tests/test/css/style.css b/kotlin/leap/build/reports/tests/test/css/style.css new file mode 100644 index 0000000..3dc4913 --- /dev/null +++ b/kotlin/leap/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/kotlin/leap/build/reports/tests/test/index.html b/kotlin/leap/build/reports/tests/test/index.html new file mode 100644 index 0000000..443036f --- /dev/null +++ b/kotlin/leap/build/reports/tests/test/index.html @@ -0,0 +1,132 @@ + + + + + +Test results - Test Summary + + + + + +
+

Test Summary

+
+ + + + + +
+
+ + + + + + + +
+
+
4
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.014s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Packages

+ + + + + + + + + + + + + + + + + + + + + +
PackageTestsFailuresIgnoredDurationSuccess rate
+default-package +4000.014s100%
+
+
+

Classes

+ + + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+LeapTest +4000.014s100%
+
+
+ +
+ + diff --git a/kotlin/leap/build/reports/tests/test/js/report.js b/kotlin/leap/build/reports/tests/test/js/report.js new file mode 100644 index 0000000..83bab4a --- /dev/null +++ b/kotlin/leap/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/kotlin/leap/build/reports/tests/test/packages/default-package.html b/kotlin/leap/build/reports/tests/test/packages/default-package.html new file mode 100644 index 0000000..6d61aa6 --- /dev/null +++ b/kotlin/leap/build/reports/tests/test/packages/default-package.html @@ -0,0 +1,103 @@ + + + + + +Test results - Default package + + + + + +
+

Default package

+ +
+ + + + + +
+
+ + + + + + + +
+
+
4
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.014s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Classes

+ + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+LeapTest +4000.014s100%
+
+
+ +
+ + diff --git a/kotlin/leap/build/test-results/test/TEST-LeapTest.xml b/kotlin/leap/build/test-results/test/TEST-LeapTest.xml new file mode 100644 index 0000000..f0927ed --- /dev/null +++ b/kotlin/leap/build/test-results/test/TEST-LeapTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/kotlin/leap/build/test-results/test/binary/output.bin b/kotlin/leap/build/test-results/test/binary/output.bin new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/leap/build/test-results/test/binary/output.bin.idx b/kotlin/leap/build/test-results/test/binary/output.bin.idx new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/kotlin/leap/build/test-results/test/binary/output.bin.idx differ diff --git a/kotlin/leap/build/test-results/test/binary/results.bin b/kotlin/leap/build/test-results/test/binary/results.bin new file mode 100644 index 0000000..ab9cf6d Binary files /dev/null and b/kotlin/leap/build/test-results/test/binary/results.bin differ diff --git a/kotlin/leap/build/tmp/jar/MANIFEST.MF b/kotlin/leap/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/kotlin/leap/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/kotlin/leap/src/main/kotlin/.keep b/kotlin/leap/src/main/kotlin/.keep new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/leap/src/main/kotlin/Year.kt b/kotlin/leap/src/main/kotlin/Year.kt new file mode 100644 index 0000000..3181eec --- /dev/null +++ b/kotlin/leap/src/main/kotlin/Year.kt @@ -0,0 +1,8 @@ +data class Year(val year: Int) { + val isLeap: Boolean + get() { + return (year % 400 == 0) || (year % 100 != 0 && year % 4 == 0) + } +} + + diff --git a/kotlin/leap/src/test/kotlin/LeapTest.kt b/kotlin/leap/src/test/kotlin/LeapTest.kt new file mode 100644 index 0000000..7c9984d --- /dev/null +++ b/kotlin/leap/src/test/kotlin/LeapTest.kt @@ -0,0 +1,28 @@ +import org.junit.Test +import org.junit.Ignore +import kotlin.test.assertFalse +import kotlin.test.assertTrue + +class LeapTest { + + @Test + fun yearNotDivisibleBy4() { + assertFalse(Year(2015).isLeap) + } + + @Test + fun yearDivisibleBy4NotDivisibleBy100() { + assertTrue(Year(1996).isLeap) + } + + @Test + fun yearDivisibleBy100NotDivisibleBy400() { + assertFalse(Year(2100).isLeap) + } + + @Test + fun yearDivisibleBy400() { + assertTrue(Year(2000).isLeap) + } + +} diff --git a/kotlin/rna-transcription/README.md b/kotlin/rna-transcription/README.md new file mode 100644 index 0000000..86cd206 --- /dev/null +++ b/kotlin/rna-transcription/README.md @@ -0,0 +1,28 @@ +# RNA Transcription + +Given a DNA strand, return its RNA complement (per RNA transcription). + +Both DNA and RNA strands are a sequence of nucleotides. + +The four nucleotides found in DNA are adenine (**A**), cytosine (**C**), +guanine (**G**) and thymine (**T**). + +The four nucleotides found in RNA are adenine (**A**), cytosine (**C**), +guanine (**G**) and uracil (**U**). + +Given a DNA strand, its transcribed RNA strand is formed by replacing +each nucleotide with its complement: + +* `G` -> `C` +* `C` -> `G` +* `T` -> `A` +* `A` -> `U` + + + +## Source + +Rosalind [http://rosalind.info/problems/rna](http://rosalind.info/problems/rna) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/kotlin/rna-transcription/build.gradle b/kotlin/rna-transcription/build.gradle new file mode 100644 index 0000000..e528a7b --- /dev/null +++ b/kotlin/rna-transcription/build.gradle @@ -0,0 +1,28 @@ +buildscript { + ext.kotlin_version = '1.2.40' + repositories { + mavenCentral() + } + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +apply plugin: 'kotlin' + +repositories { + mavenCentral() +} + +dependencies { + compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + + testCompile 'junit:junit:4.12' + testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" +} +test { + testLogging { + exceptionFormat = 'full' + events = ["passed", "failed", "skipped"] + } +} diff --git a/kotlin/rna-transcription/src/main/kotlin/RnaTranscription.kt b/kotlin/rna-transcription/src/main/kotlin/RnaTranscription.kt new file mode 100644 index 0000000..f895ae1 --- /dev/null +++ b/kotlin/rna-transcription/src/main/kotlin/RnaTranscription.kt @@ -0,0 +1 @@ +fun transcribeToRna(dna: String): String = "" diff --git a/kotlin/rna-transcription/src/test/kotlin/RnaTranscriptionTest.kt b/kotlin/rna-transcription/src/test/kotlin/RnaTranscriptionTest.kt new file mode 100644 index 0000000..04cea68 --- /dev/null +++ b/kotlin/rna-transcription/src/test/kotlin/RnaTranscriptionTest.kt @@ -0,0 +1,45 @@ +import org.junit.Test +import org.junit.Ignore +import kotlin.test.assertEquals + +class RnaTranscriptionTest { + + /* + In Kotlin functions can be declared at top level in a file, meaning + you do not need to create a class to hold a function, like languages + such as Java, C# or Scala. + + http://kotlinlang.org/docs/reference/functions.html#function-scope + + */ + + @Test + fun cytosineComplementIsGuanine() { + assertEquals("G", transcribeToRna("C")) + } + + @Ignore + @Test + fun guanineComplementIsCytosine() { + assertEquals("C", transcribeToRna("G")) + } + + @Ignore + @Test + fun thymineComplementIsAdenine() { + assertEquals("A", transcribeToRna("T")) + } + + @Ignore + @Test + fun adenineComplementIsUracil() { + assertEquals("U", transcribeToRna("A")) + } + + @Ignore + @Test + fun rnaTranscription() { + assertEquals("UGCACCAGAAUU", transcribeToRna("ACGTGGTCTTAA")) + } + +} diff --git a/kotlin/two-fer/.gradle/4.8/fileChanges/last-build.bin b/kotlin/two-fer/.gradle/4.8/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/fileChanges/last-build.bin differ diff --git a/kotlin/two-fer/.gradle/4.8/fileContent/fileContent.lock b/kotlin/two-fer/.gradle/4.8/fileContent/fileContent.lock new file mode 100644 index 0000000..9a049ae Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/fileContent/fileContent.lock differ diff --git a/kotlin/two-fer/.gradle/4.8/fileHashes/fileHashes.bin b/kotlin/two-fer/.gradle/4.8/fileHashes/fileHashes.bin new file mode 100644 index 0000000..edf9979 Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/fileHashes/fileHashes.bin differ diff --git a/kotlin/two-fer/.gradle/4.8/fileHashes/fileHashes.lock b/kotlin/two-fer/.gradle/4.8/fileHashes/fileHashes.lock new file mode 100644 index 0000000..0050a9a Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/fileHashes/fileHashes.lock differ diff --git a/kotlin/two-fer/.gradle/4.8/fileHashes/resourceHashesCache.bin b/kotlin/two-fer/.gradle/4.8/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..72b5309 Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/fileHashes/resourceHashesCache.bin differ diff --git a/kotlin/two-fer/.gradle/4.8/taskHistory/taskHistory.bin b/kotlin/two-fer/.gradle/4.8/taskHistory/taskHistory.bin new file mode 100644 index 0000000..9925e71 Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/taskHistory/taskHistory.bin differ diff --git a/kotlin/two-fer/.gradle/4.8/taskHistory/taskHistory.lock b/kotlin/two-fer/.gradle/4.8/taskHistory/taskHistory.lock new file mode 100644 index 0000000..d21ff96 Binary files /dev/null and b/kotlin/two-fer/.gradle/4.8/taskHistory/taskHistory.lock differ diff --git a/kotlin/two-fer/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/kotlin/two-fer/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..052bcfb Binary files /dev/null and b/kotlin/two-fer/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/kotlin/two-fer/.gradle/buildOutputCleanup/cache.properties b/kotlin/two-fer/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..1af571d --- /dev/null +++ b/kotlin/two-fer/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Jun 21 08:14:56 CDT 2018 +gradle.version=4.8 diff --git a/kotlin/two-fer/.gradle/buildOutputCleanup/outputFiles.bin b/kotlin/two-fer/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..64e4264 Binary files /dev/null and b/kotlin/two-fer/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/kotlin/two-fer/.gradle/vcsWorkingDirs/gc.properties b/kotlin/two-fer/.gradle/vcsWorkingDirs/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/two-fer/README.md b/kotlin/two-fer/README.md new file mode 100644 index 0000000..adbb93c --- /dev/null +++ b/kotlin/two-fer/README.md @@ -0,0 +1,22 @@ +# Two Fer + +`Two-fer` or `2-fer` is short for two for one. One for you and one for me. + +```text +"One for X, one for me." +``` + +When X is a name or "you". + +If the given name is "Alice", the result should be "One for Alice, one for me." +If no name is given, the result should be "One for you, one for me." + + + + +## Source + +This is an exercise to introduce users to basic programming constructs, just after hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/kotlin/two-fer/build.gradle b/kotlin/two-fer/build.gradle new file mode 100644 index 0000000..e528a7b --- /dev/null +++ b/kotlin/two-fer/build.gradle @@ -0,0 +1,28 @@ +buildscript { + ext.kotlin_version = '1.2.40' + repositories { + mavenCentral() + } + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +apply plugin: 'kotlin' + +repositories { + mavenCentral() +} + +dependencies { + compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + + testCompile 'junit:junit:4.12' + testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" +} +test { + testLogging { + exceptionFormat = 'full' + events = ["passed", "failed", "skipped"] + } +} diff --git a/kotlin/two-fer/build/classes/kotlin/main/META-INF/two-fer.kotlin_module b/kotlin/two-fer/build/classes/kotlin/main/META-INF/two-fer.kotlin_module new file mode 100644 index 0000000..1560f9c Binary files /dev/null and b/kotlin/two-fer/build/classes/kotlin/main/META-INF/two-fer.kotlin_module differ diff --git a/kotlin/two-fer/build/classes/kotlin/main/TwoFerKt.class b/kotlin/two-fer/build/classes/kotlin/main/TwoFerKt.class new file mode 100644 index 0000000..5f06a19 Binary files /dev/null and b/kotlin/two-fer/build/classes/kotlin/main/TwoFerKt.class differ diff --git a/kotlin/two-fer/build/classes/kotlin/test/TwoferTest.class b/kotlin/two-fer/build/classes/kotlin/test/TwoferTest.class new file mode 100644 index 0000000..5aa5b87 Binary files /dev/null and b/kotlin/two-fer/build/classes/kotlin/test/TwoferTest.class differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab new file mode 100644 index 0000000..82c5433 Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.keystream b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.keystream.len b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.len b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.len new file mode 100644 index 0000000..60e2d8a Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.len differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.values.at b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.values.at new file mode 100644 index 0000000..d1ceed9 Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab.values.at differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab_i b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab_i differ diff --git a/kotlin/two-fer/build/kotlin-build/artifact-difference.tab_i.len b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin-build/artifact-difference.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin-build/version.txt b/kotlin/two-fer/build/kotlin-build/version.txt new file mode 100644 index 0000000..01aabac --- /dev/null +++ b/kotlin/two-fer/build/kotlin-build/version.txt @@ -0,0 +1 @@ +11001 \ No newline at end of file diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/build-history.bin b/kotlin/two-fer/build/kotlin/compileKotlin/build-history.bin new file mode 100644 index 0000000..934299a Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/build-history.bin differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/data-container-format-version.txt b/kotlin/two-fer/build/kotlin/compileKotlin/data-container-format-version.txt new file mode 100644 index 0000000..b01b80f --- /dev/null +++ b/kotlin/two-fer/build/kotlin/compileKotlin/data-container-format-version.txt @@ -0,0 +1 @@ +2011001 \ No newline at end of file diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/format-version.txt b/kotlin/two-fer/build/kotlin/compileKotlin/format-version.txt new file mode 100644 index 0000000..2408adb --- /dev/null +++ b/kotlin/two-fer/build/kotlin/compileKotlin/format-version.txt @@ -0,0 +1 @@ +8011001 \ No newline at end of file diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/gradle-format-version.txt b/kotlin/two-fer/build/kotlin/compileKotlin/gradle-format-version.txt new file mode 100644 index 0000000..7289c6b --- /dev/null +++ b/kotlin/two-fer/build/kotlin/compileKotlin/gradle-format-version.txt @@ -0,0 +1 @@ +4011001 \ No newline at end of file diff --git a/kotlin/two-fer/build/kotlin/compileKotlin/last-build.bin b/kotlin/two-fer/build/kotlin/compileKotlin/last-build.bin new file mode 100644 index 0000000..794b00a Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileKotlin/last-build.bin differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/build-history.bin b/kotlin/two-fer/build/kotlin/compileTestKotlin/build-history.bin new file mode 100644 index 0000000..d8cf908 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/build-history.bin differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/inputs/source-to-output.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/file-to-id.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab new file mode 100644 index 0000000..bbf0401 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream new file mode 100644 index 0000000..08e7df1 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i new file mode 100644 index 0000000..12f3be4 Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len new file mode 100644 index 0000000..1b1cb4d Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/caches-jvm/lookups/lookups.tab_i.len differ diff --git a/kotlin/two-fer/build/kotlin/compileTestKotlin/last-build.bin b/kotlin/two-fer/build/kotlin/compileTestKotlin/last-build.bin new file mode 100644 index 0000000..6eb0a8f Binary files /dev/null and b/kotlin/two-fer/build/kotlin/compileTestKotlin/last-build.bin differ diff --git a/kotlin/two-fer/build/reports/tests/test/classes/TwoferTest.html b/kotlin/two-fer/build/reports/tests/test/classes/TwoferTest.html new file mode 100644 index 0000000..8318975 --- /dev/null +++ b/kotlin/two-fer/build/reports/tests/test/classes/TwoferTest.html @@ -0,0 +1,111 @@ + + + + + +Test results - Class TwoferTest + + + + + +
+

Class TwoferTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
4
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.011s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestDurationResult
aNameGiven0spassed
anotherNameGiven0spassed
emptyStringGiven0spassed
noNameGiven0.011spassed
+
+
+ +
+ + diff --git a/kotlin/two-fer/build/reports/tests/test/css/base-style.css b/kotlin/two-fer/build/reports/tests/test/css/base-style.css new file mode 100644 index 0000000..4afa73e --- /dev/null +++ b/kotlin/two-fer/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/kotlin/two-fer/build/reports/tests/test/css/style.css b/kotlin/two-fer/build/reports/tests/test/css/style.css new file mode 100644 index 0000000..3dc4913 --- /dev/null +++ b/kotlin/two-fer/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/kotlin/two-fer/build/reports/tests/test/index.html b/kotlin/two-fer/build/reports/tests/test/index.html new file mode 100644 index 0000000..c6a1dda --- /dev/null +++ b/kotlin/two-fer/build/reports/tests/test/index.html @@ -0,0 +1,132 @@ + + + + + +Test results - Test Summary + + + + + +
+

Test Summary

+
+ + + + + +
+
+ + + + + + + +
+
+
4
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.011s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Packages

+ + + + + + + + + + + + + + + + + + + + + +
PackageTestsFailuresIgnoredDurationSuccess rate
+default-package +4000.011s100%
+
+
+

Classes

+ + + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+TwoferTest +4000.011s100%
+
+
+ +
+ + diff --git a/kotlin/two-fer/build/reports/tests/test/js/report.js b/kotlin/two-fer/build/reports/tests/test/js/report.js new file mode 100644 index 0000000..83bab4a --- /dev/null +++ b/kotlin/two-fer/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/kotlin/two-fer/build/reports/tests/test/packages/default-package.html b/kotlin/two-fer/build/reports/tests/test/packages/default-package.html new file mode 100644 index 0000000..d3fae74 --- /dev/null +++ b/kotlin/two-fer/build/reports/tests/test/packages/default-package.html @@ -0,0 +1,103 @@ + + + + + +Test results - Default package + + + + + +
+

Default package

+ +
+ + + + + +
+
+ + + + + + + +
+
+
4
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.011s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Classes

+ + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+TwoferTest +4000.011s100%
+
+
+ +
+ + diff --git a/kotlin/two-fer/build/test-results/test/TEST-TwoferTest.xml b/kotlin/two-fer/build/test-results/test/TEST-TwoferTest.xml new file mode 100644 index 0000000..0481717 --- /dev/null +++ b/kotlin/two-fer/build/test-results/test/TEST-TwoferTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/kotlin/two-fer/build/test-results/test/binary/output.bin b/kotlin/two-fer/build/test-results/test/binary/output.bin new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/two-fer/build/test-results/test/binary/output.bin.idx b/kotlin/two-fer/build/test-results/test/binary/output.bin.idx new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/kotlin/two-fer/build/test-results/test/binary/output.bin.idx differ diff --git a/kotlin/two-fer/build/test-results/test/binary/results.bin b/kotlin/two-fer/build/test-results/test/binary/results.bin new file mode 100644 index 0000000..ff343c6 Binary files /dev/null and b/kotlin/two-fer/build/test-results/test/binary/results.bin differ diff --git a/kotlin/two-fer/src/main/kotlin/.keep b/kotlin/two-fer/src/main/kotlin/.keep new file mode 100644 index 0000000..e69de29 diff --git a/kotlin/two-fer/src/main/kotlin/TwoFer.kt b/kotlin/two-fer/src/main/kotlin/TwoFer.kt new file mode 100644 index 0000000..60ff8b4 --- /dev/null +++ b/kotlin/two-fer/src/main/kotlin/TwoFer.kt @@ -0,0 +1,3 @@ +fun twofer(name: String?="you"): String { + return "One for "+name+", one for me." +} diff --git a/kotlin/two-fer/src/test/kotlin/TwoferTest.kt b/kotlin/two-fer/src/test/kotlin/TwoferTest.kt new file mode 100644 index 0000000..8cb3bb9 --- /dev/null +++ b/kotlin/two-fer/src/test/kotlin/TwoferTest.kt @@ -0,0 +1,27 @@ +import org.junit.Ignore +import org.junit.Test +import kotlin.test.assertEquals + +class TwoferTest { + + @Test + fun noNameGiven() { + assertEquals("One for you, one for me.", twofer()) + } + + @Test + fun aNameGiven() { + assertEquals("One for Alice, one for me.", twofer("Alice")) + } + + @Test + fun anotherNameGiven() { + assertEquals("One for Bob, one for me.", twofer("Bob")) + } + + @Test + fun emptyStringGiven() { + assertEquals("One for , one for me.", twofer("")) + } + +}