Skip to content

Commit

Permalink
Moving projects to Java Delight
Browse files Browse the repository at this point in the history
Autocommit Sun Jul 05 11:54:54 EST 2015
  • Loading branch information
mxro committed Jul 5, 2015
1 parent 00e784a commit 742bc80
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
Binary file not shown.
24 changes: 19 additions & 5 deletions src/test/java/de/mxro/async/properties/tests/TestSetValue.java
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
package de.mxro.async.properties.tests;

import de.mxro.async.properties.PropertyFactory;
import de.mxro.async.properties.PropertyNode;
import de.mxro.async.properties.PropertyOperation;
import de.mxro.async.properties.jre.Properties;
import de.mxro.promise.Promise;
import de.oehme.xtend.junit.JUnit;
import delight.functional.Success;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure0;
import org.hamcrest.Matcher;
import org.junit.Assert;
import org.junit.Test;
import org.junit.internal.ArrayComparisonFailure;

import de.oehme.xtend.junit.JUnit;

@JUnit
@SuppressWarnings("all")
public class TestSetValue {
@Test
public void test() {
throw new Error("Unresolved compilation problems:"
+ "\nThe method stop is undefined for the type TestSetValue"
+ "\nget cannot be resolved");
PropertyFactory _defaultFactory = Properties.defaultFactory();
final PropertyNode props = Properties.create(_defaultFactory);
PropertyOperation<Object> _set = Properties.set("value", "string");
props.<Object>record(_set);
Promise<String> _retrieve = props.<String>retrieve("value", String.class);
String _get = _retrieve.get();
TestSetValue.<String, String>operator_doubleArrow(_get, "string");
Promise<Object> _retrieve_1 = props.retrieve("value");
Object _get_1 = _retrieve_1.get();
TestSetValue.<Object, String>operator_doubleArrow(_get_1, "string");
Promise<Success> _stop = props.stop();
_stop.get();
}

private static void assertArrayEquals(final Object[] expecteds, final Object[] actuals) {
Expand Down

0 comments on commit 742bc80

Please sign in to comment.