This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.jboss.errai.ioc.client.api; | |
| import org.jboss.errai.ioc.client.api.Bootstrapper; | |
| import org.jboss.errai.cdi.client.ProducerTestModule; | |
| import org.jboss.errai.cdi.client.ProducerDependentTestBean; | |
| import org.jboss.errai.cdi.client.EventProducerTestModule; | |
| import org.jboss.errai.cdi.client.api.Event; | |
| import org.jboss.errai.cdi.client.EventObserverTestModule; | |
| import org.jboss.errai.ioc.client.InterfaceInjectionContext; | |
| import org.jboss.errai.ioc.client.api.BootstrapperImpl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [WARN] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://172.16.112.1:56753/org.jboss.errai.cdi.producer.ProducerTestModule.JUnit/org.jboss.errai.cdi.producer.ProducerTestModule.JUnit.nocache.js', but got 'application/x-javascript'. | |
| [WARN] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://172.16.112.1:56753/org.jboss.errai.cdi.producer.ProducerTestModule.JUnit/js/pagebus.js', but got 'application/x-javascript'. | |
| ----Emitting Class---> | |
| package org.jboss.errai.ioc.client.api; | |
| import org.jboss.errai.ioc.client.api.Bootstrapper; | |
| import org.jboss.errai.cdi.producer.client.ProducerTestModule; | |
| import org.jboss.errai.cdi.producer.client.ProducerDependentTestBean; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.jboss.errai.ioc.client.api; | |
| import org.jboss.errai.ioc.client.api.Bootstrapper; | |
| import org.jboss.errai.cdi.producer.client.ProducerTestModule; | |
| import org.jboss.errai.cdi.producer.client.ProducerDependentTestBean; | |
| import org.jboss.errai.ioc.client.InterfaceInjectionContext; | |
| import org.jboss.errai.ioc.client.api.BootstrapperImpl; | |
| public class BootstrapperImpl implements Bootstrapper { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stacklang { | |
| push "foo"; | |
| ldtype java.lang.String; | |
| invoke toUpperCase; | |
| ldtype java.lang.String; | |
| push 0; | |
| invoke charAt | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int i = 10; | |
| while (--i > 0) { | |
| System.out.println(i); | |
| } | |
| ==== | |
| stacklang { | |
| push 10; | |
| store i; // i = 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------- | |
| Test set: org.jboss.errai.cdi.event.client.test.EventObserverIntegrationTest | |
| ------------------------------------------------------------------------------- | |
| Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 45.99 sec <<< FAILURE! | |
| testBusReadyEventObserver(org.jboss.errai.cdi.event.client.test.EventObserverIntegrationTest) Time elapsed: 38.589 sec <<< FAILURE! | |
| junit.framework.AssertionFailedError: Remote test failed at 172.20.10.22 / Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 | |
| FAIL! expected=foo actual=bar | |
| at junit.framework.Assert.fail(Assert.java:197) | |
| at junit.framework.Assert.assertEquals(Assert.java:111) | |
| at junit.framework.Assert.assertEquals(Assert.java:123) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Errai Code Style | |
| * | |
| * - Two-space indent | |
| * - else, catch, finally on new lines (due to 2 space indent causing disconcerting | |
| * alignment between keywords and block content) | |
| * - Always line break after class, field and method annotations. | |
| * - Long methods should wrap arguments onto new line, aligned with top arguments. | |
| * - Wrapped statements should indent by 6-spaces | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Errai Code Style | |
| * | |
| * - Two-space indent | |
| * - else, catch, finally on new lines (due to 2 space indent causing disconcerting | |
| * alignment between keywords and block content) | |
| * - Always line break after class, field and method annotations. | |
| * - Long methods should wrap arguments onto new line, aligned with top arguments. | |
| * - Wrapped statements should indent by 6-spaces | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "ToSubject" : "ClientBus", | |
| "CommandType" : "CapabilitiesNotice", | |
| "CapabilitiesList" : ["WebSockets", "LongPolling"], | |
| "RandomArbitraryPayload" : { | |
| "Foo": "Bar!" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "user": { | |
| "__EncodedType": "org.jboss.errai.bus.client.tests.support.User", | |
| "__ObjectID": "-1002842547", | |
| "id": 1, | |
| "name": "mrfoo", | |
| "groups": [ | |
| { | |
| "__EncodedType": "org.jboss.errai.bus.client.tests.support.Group", | |
| "__ObjectID": "63116110", |