Skip to content

Commit 9b4a6c1

Browse files
authored
Merge pull request #376 from metafacture/127-adjustIntegrationTests
2 parents d0fc1c6 + 33b1b4a commit 9b4a6c1

File tree

27 files changed

+39
-26
lines changed
  • metafix/src/test/resources/org/metafacture/metafix/integration
    • bind/fromJson/toJson/listAsSimple
    • conditional/fromJson/toJson/unlessExists_createArrayOfStringsAndCopyField
    • lookup
      • fromJson/toJson
        • lookupInArrayOfStringsWithNotMatchingValues_complex
        • lookupInSubfieldInArrayOfObjectsWithListBind_complex_withNotMatchingValue
        • lookupInSubfieldInArrayOfObjectsWithListBind_complex
        • lookupInSubfieldInArrayOfObjects_complex_2_withNotMatchingValue
        • lookupInSubfieldInArrayOfObjects_complex_2
        • lookupInSubfieldInArrayOfObjects_complex_withNotMatchingValue
        • lookupInSubfieldInArrayOfObjects_complex
      • fromXml/toJson/lookupInDeeplyNestedArrayOfObjects
    • method
      • fromJson/toJson
        • replace_allInArrayOfStringsWithAsterisk_complex
        • replace_allInPastedSubfieldOfArrayOfObjectsWithAsteriskWithGrouping_2
        • replace_allInPastedSubfieldOfArrayOfObjectsWithAsteriskWithGrouping
        • replace_allInSubfieldOfArrayOfObjectsWithAsterisk_complex_2
        • replace_allInSubfieldOfArrayOfObjectsWithAsterisk_complex_3
        • replace_allInSubfieldOfArrayOfObjectsWithAsterisk_complex_4
      • fromXml/toJson
    • record/fromJson/toJson
      • copy_fieldToSubfieldOfArrayOfObjectsWithIndexGeneratingNewObject
      • set_arrayWithoutValuesAndMove_fieldNewArrayOfStringsIntoArrayOfObjects
    • script/fromJson/toJson/put_varsUsedInOption

27 files changed

+39
-26
lines changed

metafix/src/test/resources/org/metafacture/metafix/integration/bind/fromJson/toJson/listAsSimple/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("sourceOrganization[]")
21
do list_as(orgId: "ccm:university[]", orgName: "ccm:university_DISPLAYNAME[]")
32
copy_field(orgId, "sourceOrganization[].$append.id")
43
copy_field(orgName, "sourceOrganization[].$last.name")
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
unless exists("animals[]")
2-
set_array("animals[]")
32
copy_field("animals","animals[].$append")
43
end

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInArrayOfStringsWithNotMatchingValues_complex/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
unless exists("animals[]")
2-
set_array("animals[]")
32
copy_field("animals","animals[].$append")
43
end
54

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjectsWithListBind_complex/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("animals[]")
21
do list(path: "test[]", "var": "$f")
32
copy_field("$f", "animals[].$append.animal")
43
copy_field("$f", "animals[].$last.classification.type")

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjectsWithListBind_complex_withNotMatchingValue/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("animals[]")
21
do list(path: "test[]", "var": "$f")
32
copy_field("$f", "animals[].$append.animal")
43
copy_field("$f", "animals[].$last.classification.type")

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjects_complex/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("animals[]")
21
do list(path: "test[]", "var": "$f")
32
copy_field("$f", "animals[].$append.animal")
43
copy_field("$f", "animals[].$last.classification.type")

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjects_complex_2/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("animals[]")
21
do list(path: "metadata.real.test[]", "var": "$f")
32
lookup("$f.animal", "./mapfile_2.tsv", "sep_char":"\t")
43
copy_field("$f.animal", "animals[].$append.animal")

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjects_complex_2_withNotMatchingValue/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("animals[]")
21
do list(path: "metadata.real.test[]", "var": "$f")
32
lookup("$f.animal", "./mapfile_2.tsv", "sep_char":"\t")
43
copy_field("$f.animal", "animals[].$append.animal")

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjects_complex_withNotMatchingValue/test.fix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set_array("animals[]")
21
do list(path: "test[]", "var": "$f")
32
copy_field("$f", "animals[].$append.animal")
43
copy_field("$f", "animals[].$last.classification.type")

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromXml/toJson/lookupInDeeplyNestedArrayOfObjects/test.fix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
put_map("rswk-indicator", s: "SubjectHeading")
22

3-
set_array("subject[]")
4-
53
if exists("6890?")
64
set_array("subject[].$append.type[]", "ComplexSubject")
75
set_array("subject[].$last.label")

0 commit comments

Comments
 (0)