Andrey Breslav
|
cd56b2f401
|
File extension filtering cleaned up in tests
|
2013-01-30 12:28:45 +04:00 |
|
Evgeny Gerashchenko
|
58f37f38f4
|
Renamed NumberSequence to Progression.
|
2013-01-29 22:55:10 +04:00 |
|
Evgeny Gerashchenko
|
dd4b508213
|
Adapted usage of failsWith().
|
2013-01-29 22:55:10 +04:00 |
|
Evgeny Gerashchenko
|
719ed4c795
|
failsWith is really checking for exception class.
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
66ce736a81
|
Moved failsWith to TestJVM.
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
63484e28e0
|
Renamed Iterable.contains to containsItem, to avoid puzzling.
Otherwise, you could accidentally look for Double in List<Int>, or even for Int in ShortSequence (by stupid iterating).
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
2fd1430329
|
Tests for all kinds of ranges and sequences.
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
b7c4b9e263
|
Added primitive contains() to float and double ranges.
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
111dd13d39
|
Moved error checking of built-ins to more direct place.
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
18d1d31042
|
Removed compiling builtins in ant script.
|
2013-01-29 22:55:09 +04:00 |
|
Evgeny Gerashchenko
|
6c70c6c32a
|
Removed compiling builtins from tests.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
0660dfb84c
|
Made N type parameter not Number.
Otherwise it fails with NoSuchMethodError in runtime.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
3eac3cc38c
|
Removed unnecessary methods.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
a24bf67688
|
Dropped unnecessary primitive iterable traits.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
72b8c4b3c8
|
Refactored structure of ranges in JS backend.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
4a19cd758c
|
Changed JS ranges test so it will fail now.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
88c304b85f
|
Regenerated serialized builtins.
|
2013-01-29 22:55:08 +04:00 |
|
Evgeny Gerashchenko
|
ac7477a6c1
|
Reformatted.
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
6d41697af0
|
Added ComparableRange.
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
cec0389a8a
|
Added equals, hashCode and toString to sequences.
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
a947633bec
|
Inlined getter calls.
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
0539be1b1c
|
Rearranged methods in ranges.
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
90e474ca75
|
Subclassed ranges from sequence.
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
79d3440c92
|
Subclassed Float/DoubleRange from iterable (for uniformity).
|
2013-01-29 22:55:07 +04:00 |
|
Evgeny Gerashchenko
|
000fc55035
|
Added intrinsic properties of ranges and sequences.
|
2013-01-29 22:55:06 +04:00 |
|
Evgeny Gerashchenko
|
b2e74b1473
|
Adapted code to new structure of ranges.
|
2013-01-29 22:55:06 +04:00 |
|
Evgeny Gerashchenko
|
9fa3e47b65
|
Added start and end property to generic range.
|
2013-01-29 22:55:05 +04:00 |
|
Evgeny Gerashchenko
|
0e0c048074
|
New structure of range classes.
|
2013-01-29 22:55:05 +04:00 |
|
Evgeny Gerashchenko
|
8c4abd4d9c
|
Simpler toString() in ranges.
|
2013-01-29 22:55:05 +04:00 |
|
Evgeny Gerashchenko
|
0ff3589bb9
|
Moved *Range.step() functions to stdlib.
|
2013-01-29 22:55:05 +04:00 |
|
Evgeny Gerashchenko
|
9b866b2e12
|
Implemented reversed() in proper way.
- converted it into function
- return sequence values
- implemented for sequences as well
|
2013-01-29 22:55:05 +04:00 |
|
Evgeny Gerashchenko
|
0051cb9553
|
downTo functions return sequence instead of range now.
|
2013-01-29 22:55:04 +04:00 |
|
Evgeny Gerashchenko
|
4736b8d6e7
|
Introduced sequence classes.
|
2013-01-29 22:55:04 +04:00 |
|
Evgeny Gerashchenko
|
abe7ca21bf
|
Moved primitive iterators to upper level.
|
2013-01-29 22:55:04 +04:00 |
|
Evgeny Gerashchenko
|
88a6cffb34
|
Simplified primitive iterators.
|
2013-01-29 22:55:04 +04:00 |
|
Evgeny Gerashchenko
|
c8a194c0a8
|
Dropped *Range.isReversed
|
2013-01-29 22:55:04 +04:00 |
|
Evgeny Gerashchenko
|
797b961484
|
Rearranged methods to follow common structure.
|
2013-01-29 22:55:03 +04:00 |
|
Evgeny Gerashchenko
|
9cd67dfc5c
|
Removed unnecessary iteratorStart property of ranges.
|
2013-01-29 22:55:03 +04:00 |
|
Evgeny Gerashchenko
|
eb8107115d
|
Moved IntRange.count to Ranges class.
|
2013-01-29 22:55:03 +04:00 |
|
Evgeny Gerashchenko
|
af0997a147
|
Removed static count() in all but IntRange.
|
2013-01-29 22:55:03 +04:00 |
|
Alexander Udalov
|
823fc14722
|
Regenerate tests
|
2013-01-29 22:46:37 +04:00 |
|
Alexander Udalov
|
9007a6214a
|
Fix closure's reference to outer closure
#KT-3276 Fixed
|
2013-01-29 22:41:58 +04:00 |
|
Andrey Breslav
|
be349f6229
|
Migrate to IDEA 123.139 (12.0.3)
|
2013-01-29 20:46:14 +04:00 |
|
Alexander Udalov
|
bb5c65a7db
|
Fix Android tests
|
2013-01-29 17:54:52 +04:00 |
|
Alexander Udalov
|
1eae609a35
|
Fix Android tests
|
2013-01-28 22:47:08 +04:00 |
|
Evgeny Gerashchenko
|
f4c91915bb
|
Fixed tests by running super.tearDown()
|
2013-01-28 20:20:37 +04:00 |
|
Evgeny Gerashchenko
|
3acf284a4a
|
Reverted some copyrights.
|
2013-01-28 19:20:39 +04:00 |
|
Evgeny Gerashchenko
|
52b7ee6447
|
Happy new year 2013!
|
2013-01-28 18:58:08 +04:00 |
|
Evgeny Gerashchenko
|
65f1a8f430
|
Added test with number literals passed as constants.
|
2013-01-28 18:29:21 +04:00 |
|
Evgeny Gerashchenko
|
18b5495a8c
|
KT-1895 Make it possible to pass 1.0 as Float without explicit casting
#KT-1895 fixed
|
2013-01-28 18:29:21 +04:00 |
|