-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #474 from smeup/bugfix/NW23001440/262-mock-oc-feod
Bugfix/nw23001440/262 mock oc feod
- Loading branch information
Showing
7 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
...avaInterpreter-core/src/test/kotlin/com/smeup/rpgparser/smeup/MULANGT52FileAccess2Test.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
package com.smeup.rpgparser.smeup | ||
|
||
open class MULANGT52FileAccess2Test : MULANGTTest() | ||
import org.junit.Test | ||
import kotlin.test.assertEquals | ||
|
||
open class MULANGT52FileAccess2Test : MULANGTTest() { | ||
/** | ||
* Mock FEOD operation code | ||
* @see #262 | ||
*/ | ||
@Test | ||
fun executeT52_A07_P02() { | ||
val expected = listOf("") | ||
assertEquals(expected, "smeup/T52_A07_P02".outputOf()) | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
rpgJavaInterpreter-core/src/test/resources/smeup/T52_A07_P02.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
C FEOD MULANGTL | ||
C '' DSPLY |