Skip to content

Commit 3c50dcc

Browse files
authored
Merge branch 'develop' into feature/LS24002651/implements-douxx
2 parents aa07b0a + 1e94b6b commit 3c50dcc

File tree

2 files changed

+72
-1
lines changed

2 files changed

+72
-1
lines changed
Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
11
package com.smeup.rpgparser.smeup
22

3-
open class MULANGT50FileAccess1Test : MULANGTTest()
3+
import com.smeup.rpgparser.db.utilities.DBServer
4+
import org.junit.Test
5+
import kotlin.test.BeforeTest
6+
import kotlin.test.assertEquals
7+
8+
open class MULANGT50FileAccess1Test : MULANGTTest() {
9+
@BeforeTest
10+
override fun setUp() {
11+
if (!DBServer.isRunning()) {
12+
DBServer.startDB()
13+
}
14+
15+
super.setUp()
16+
}
17+
18+
/**
19+
* Data Reference to DS
20+
* @see #280
21+
*/
22+
@Test
23+
fun executeMU500802() {
24+
val expected = listOf("Test")
25+
assertEquals(expected, "smeup/MU500802".outputOf(configuration = smeupConfig))
26+
}
27+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
*====================================================================
2+
* smeup V6R1.021DV
3+
* Nome sorgente : MU500802
4+
* Sorgente di origine : QTEMP/SRC(MU500802)
5+
* Esportato il : 20240429 170425
6+
*====================================================================
7+
V* ==============================================================
8+
V* MODIFICHE Ril. T Au Descrizione
9+
V* gg/mm/aa nn.mm i xx Breve descrizione
10+
V* ==============================================================
11+
V* 29/04/24 MUTEST GUAGIA Creazione
12+
V*=====================================================================
13+
O * OBIETTIVO
14+
O *
15+
V* ==============================================================
16+
FMULANGTL IF A E K DISK
17+
*
18+
D OOSYST S DIM(1000) LIKE(MLSYST)
19+
D DS01 DS OCCURS(%ELEM(OOSYST))
20+
D SUBDS 5
21+
* --------------------------------------------------------------
22+
/COPY QILEGEN,MULANG_D_D
23+
/COPY QILEGEN,£TABB£1DS
24+
/COPY QILEGEN,£PDS
25+
*---------------------------------------------------------------------
26+
RD* M A I N
27+
*---------------------------------------------------------------------
28+
C EVAL £DBG_Pgm = 'MU500802'
29+
C EVAL £DBG_Sez = 'A08'
30+
C EVAL £DBG_Fun = '*INZ'
31+
C EXSR £DBG
32+
C EXSR SEZ_A08
33+
C EXSR £DBG
34+
C EVAL £DBG_Fun = '*END'
35+
C EXSR £DBG
36+
C SETON LR
37+
*---------------------------------------------------------------------
38+
RD* Test atomico
39+
*---------------------------------------------------------------------
40+
C SEZ_A08 BEGSR
41+
OA* A£.CDOP()
42+
C EVAL £DBG_Pas='P02'
43+
C EVAL DS01.SUBDS='Test'
44+
C EVAL £DBG_Str=%TRIM(DS01)
45+
C ENDSR
46+
*---------------------------------------------------------------------
47+
/COPY QILEGEN,MULANG_D_C

0 commit comments

Comments
 (0)