Skip to content

Commit b622d43

Browse files
committed
[arcane:tests] Add a test for CaseOptionExtended
1 parent 0234f5c commit b622d43

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

arcane/src/arcane/tests/CMakeLists.txt

+7
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,13 @@ arcane_add_test_sequential(caseoptions_commandlinereplace_fail8 testCaseOptions-
427427
)
428428
set_property(TEST caseoptions_commandlinereplace_fail8 PROPERTY WILL_FAIL true)
429429

430+
arcane_add_test_sequential(caseoptions_commandlinereplace_fail9 testCaseOptions-specific-entry-point.arc
431+
"-We,ARCANE_CALL_SPECIFIC_ENTRY_POINT,CaseOptionLoop2"
432+
"-We,ARCANE_REPLACE_SYMBOLS_IN_DATASET,1"
433+
"-A,//case-options-tester/complex2[2]/complex3/extended-real-int-c3[9]=enum1"
434+
)
435+
set_property(TEST caseoptions_commandlinereplace_fail9 PROPERTY WILL_FAIL true)
436+
430437
#arcane_add_test_sequential(caseoptions_commandlinereplace_fail99 testCaseOptions-specific-entry-point.arc
431438
# "-We,ARCANE_CALL_SPECIFIC_ENTRY_POINT,CaseOptionLoop2"
432439
# "-We,ARCANE_REPLACE_SYMBOLS_IN_DATASET,1"

arcane/src/arcane/tests/CaseOptionsTester.axl

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@
622622
name = "extended-real-int-c3"
623623
type = "ArcaneTest::TestRealInt"
624624
minOccurs = "0"
625-
maxOccurs = "unbounded"
625+
maxOccurs = "5"
626626
>
627627
<description>ExtendedRealInt2</description>
628628
</extended>

arcane/tests/testCaseOptions-commandLineReplace.arc

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
<simple-real3-2>3.0 2.0 4.0</simple-real3-2>
6868
<simple-integer-2>4</simple-integer-2>
6969
<simple-enum-2>enum2</simple-enum-2>
70-
<extended-real-int-2>enum1</extended-real-int-2>
7170
<complex1-sub>
7271
<sub-test1>2.0 3.0</sub-test1>
7372
<sub-test2>1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0</sub-test2>

0 commit comments

Comments
 (0)