ceylon-sdk
ceylon-sdk copied to clipboard
Standard platform modules belonging to the Ceylon SDK
Below is the output from a PowerShell session. Source is here: https://github.com/pedrolamarao/ceylon-samples/tree/master/ceylon-jnr ``` ...> $env:JAVA_HOME C:\build-1.0\.module\jdk-8\jdk8u232-b09 ...> $env:CEYLON_HOME C:\build-1.0\ceylon-1.3.3 ...> $env:CEYLON_HOME\bin\ceylon.bat test -F -- test.integration Exception in thread "main" ceylon.language.AssertionError...
Next tests failed: ``` shared void testParseDateTimeLeapYear() { value result = parseDateTime("2020-02-29T12:00:00"); assert(exists result); } shared void testParseDateLeapYear() { value result = parseDate("2020-02-29"); assert(exists result); } ``` Now parseDate and...
When passing MemberClass reference to `ExceptionAssert.hasType` It fails to compile as `typeCondition` requires `Class|Boolean(ClassModel)` The first union case should be `ClassModel` Example: ```ceylon mport ceylon.test { test, assertThatException } class...
Implements #713 Are tests in ceylon-sdk supposed to be running through? I could not get them to compile: ``` [ceylon-compile] /home/d3/prj/ceylon/ceylon-sdk/test-source/test/ceylon/http/server/module.ceylon:13: error: cannot find module artifact 'npm:@angular/platform-browser-dynamic-2.0.0(.car|.jar)' [ceylon-compile] import io.netty...
`Duration` should satisfy `Summable`, `Invertible`, and `Comparable`. Also, a name for the neutral element `Duration.zero` would be handy.
Provides #695 Signed-off-by: Dirk Lattermann
I have ordinary NON-parameterized test: ``` test shared void checkJsonValues() { value clsDecl = `class DummyArraySequential`; {[Class, String, String]*} checks = { [`Integer`, """{"items":[11,22,33,44,55]}""", "DummyArraySequential{items="], [`Float`, """{"items":[1.1,2.2,3.3,4.4,5.5]}""", "DummyArraySequential{items=}"] }; for...
```ceylon value p1 = Period(0, 0, 0, 0, 0, 0, 10 * 60 * 60 * 1000); value p2 = p1.normalized(); print(p1p2); // prints "equal" print(p1==p2); // prints "false" ```...
Had no issues (apart from warnings) building the SDK, but received this error when compiling a program using the `file` module. ``` 1: error: the 'ImportVisitor' caused an exception visiting...
I have a test-resource folder where my data sits for testing purpose. I have to load the testdata as File because this is what my API excepts. I thought i...