m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/Attribute.java (renamed from src/pl/edu/mimuw/cloudatlas/model/Attribute.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/AttributesMap.java (renamed from src/pl/edu/mimuw/cloudatlas/model/AttributesMap.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/IncompatibleTypesException.java (renamed from src/pl/edu/mimuw/cloudatlas/model/IncompatibleTypesException.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/PathName.java (renamed from src/pl/edu/mimuw/cloudatlas/model/PathName.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/Type.java (renamed from src/pl/edu/mimuw/cloudatlas/model/Type.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/TypeCollection.java (renamed from src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/TypePrimitive.java (renamed from src/pl/edu/mimuw/cloudatlas/model/TypePrimitive.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java (renamed from src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/UnsupportedValueOperationException.java (renamed from src/pl/edu/mimuw/cloudatlas/model/UnsupportedValueOperationException.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/Value.java (renamed from src/pl/edu/mimuw/cloudatlas/model/Value.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueContact.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueContact.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueDouble.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueDouble.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueDuration.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueDuration.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueInt.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueInt.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueList.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueList.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueNull.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueNull.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueSet.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueSet.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueSimple.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueSimple.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueString.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueString.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ValueTime.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ValueTime.java)0
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java (renamed from src/pl/edu/mimuw/cloudatlas/model/ZMI.java)0
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java12
23 files changed, 12 insertions, 0 deletions
diff --git a/src/pl/edu/mimuw/cloudatlas/model/Attribute.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/Attribute.java
index 46ffab3..46ffab3 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/Attribute.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/Attribute.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/AttributesMap.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/AttributesMap.java
index 4065ad6..4065ad6 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/AttributesMap.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/AttributesMap.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/IncompatibleTypesException.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/IncompatibleTypesException.java
index 65c719e..65c719e 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/IncompatibleTypesException.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/IncompatibleTypesException.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/PathName.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/PathName.java
index 7f3a9ac..7f3a9ac 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/PathName.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/PathName.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/Type.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/Type.java
index 986db71..986db71 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/Type.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/Type.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/TypeCollection.java
index da5d848..da5d848 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/TypeCollection.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/TypePrimitive.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/TypePrimitive.java
index ab28cb4..ab28cb4 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/TypePrimitive.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/TypePrimitive.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java
index 6f30360..6f30360 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/UnsupportedValueOperationException.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/UnsupportedValueOperationException.java
index bb3aa1f..bb3aa1f 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/UnsupportedValueOperationException.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/UnsupportedValueOperationException.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/Value.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/Value.java
index c4054cf..c4054cf 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/Value.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/Value.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java
index 57078c2..57078c2 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueContact.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueContact.java
index 670a025..670a025 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueContact.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueContact.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueDouble.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueDouble.java
index 920a8ef..920a8ef 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueDouble.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueDouble.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueDuration.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueDuration.java
index bf9d0e0..bf9d0e0 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueDuration.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueDuration.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueInt.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueInt.java
index 8811d57..8811d57 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueInt.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueInt.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueList.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueList.java
index 76d59ff..76d59ff 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueList.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueList.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueNull.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueNull.java
index c628beb..c628beb 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueNull.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueNull.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueSet.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueSet.java
index 9843cd4..9843cd4 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueSet.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueSet.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueSimple.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueSimple.java
index 803510f..803510f 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueSimple.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueSimple.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueString.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueString.java
index 314c602..314c602 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueString.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueString.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueTime.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueTime.java
index 8dd04fc..8dd04fc 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueTime.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ValueTime.java
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ZMI.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java
index a6b78da..a6b78da 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ZMI.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java
new file mode 100644
index 0000000..6bfc3a0
--- /dev/null
+++ b/src/test/java/pl/edu/mimuw/cloudatlas/ValueDurationTest.java
@@ -0,0 +1,12 @@
+package pl.edu.mimuw.cloudatlas.model;
+
+import org.junit.Test;
+import static org.junit.Assert.*;
+
+public class ValueDurationTest {
+ @Test
+ public void testGetValue() {
+ ValueDuration v = new ValueDuration(42l);
+ assertEquals(v.getValue(), new Long(42l));
+ }
+}