Skip to content

Commit

Permalink
update docs and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sbcgua committed Aug 22, 2019
1 parent 077509b commit dfadc6e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Mockup Loader for ABAP unit testing

*Version: 2.0.2 ([history of changes](/changelog.txt))*
*Version: 2.0.4 ([history of changes](/changelog.txt))*

## Major changes in version 2

Expand Down
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ Legend
+ : added
- : removed

v2.0.4, 2019-04-10
------------------
+ Added ZMOCKUP_LOADER=>ASSERT_VERSION method
+ Added ZMOCKUP_LOADER=>LOAD_RAW_X method

v2.0.3, 2019-03-26
------------------
! Removed dependency from W3MIPOLLER (at ZMOCKUP_LOADER_SWSRC)
Expand Down
23 changes: 23 additions & 0 deletions docs/REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ call method zcl_mockup_loader=>create
i_path = 'c:\sap\projectX\unit_tests\mockup.zip'.
```

### ASSERT_VERSION

```abap
importing
I_REQUIRED_VERSION type STRING
```
Checks if the mockup loader has at least same version than required. In comparison to `CHECK_VERSION_FITS` it throws an exception if the version does not fit.

### CHECK_VERSION_FITS

```abap
Expand Down Expand Up @@ -202,6 +210,8 @@ load_mockup_no_strict 'BKPF' lt_bkpf.

### LOAD_RAW

**May be depreciated in future**

```abap
importing
I_OBJ type STRING
Expand All @@ -214,6 +224,19 @@ The method is similar to `LOAD_DATA` except that it just extracts ZIPed informat

Optionally, **I_EXT** - file extension - can be specified explicitly. Defaulted to `'.txt'` otherwise.

### LOAD_RAW_X

**May succeed LOAD_RAW in future**

```abap
importing
i_obj_path type string
returning
r_content type xstring
```

Same as `LOAD_RAW` except that the path should be completely specified, with the extension, and the data `xstring` is returned and not exported.

### LOAD_AND_STORE

```abap
Expand Down

0 comments on commit dfadc6e

Please sign in to comment.