-/*******************************************************************************\r
- * Copyright (c) 2010 Association for Decentralized Information Management in\r
- * Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
+/*******************************************************************************
+ * Copyright (c) 2010 Association for Decentralized Information Management in
+ * Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
package org.simantics.databoard.tests;
-import java.util.Arrays;\r
-import java.util.HashMap;\r
-\r
-import junit.framework.TestCase;\r
-\r
-import org.junit.Test;\r
-import org.simantics.databoard.Bindings;\r
-import org.simantics.databoard.annotations.Union;\r
-import org.simantics.databoard.binding.Binding;\r
-import org.simantics.databoard.binding.impl.HashMapBinding;\r
-import org.simantics.databoard.binding.impl.OptionalBindingDefault;\r
-import org.simantics.databoard.parser.repository.DataValueRepository;\r
+import java.util.Arrays;
+import java.util.HashMap;
+
+import junit.framework.TestCase;
+
+import org.junit.Test;
+import org.simantics.databoard.Bindings;
+import org.simantics.databoard.annotations.Union;
+import org.simantics.databoard.binding.Binding;
+import org.simantics.databoard.binding.impl.HashMapBinding;
+import org.simantics.databoard.binding.impl.OptionalBindingDefault;
+import org.simantics.databoard.parser.repository.DataValueRepository;
public class ValueParserSuccessTests extends TestCase {
assertEquals(3, ((C)union).y);
}
- @SuppressWarnings("rawtypes")\r
+ @SuppressWarnings("rawtypes")
public void testMap() throws Exception {
HashMap map = (HashMap)parse(
new HashMapBinding(