Skip to content

Commit

Permalink
Add DSL to read in file using a given character encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
bjuric committed Jul 9, 2024
1 parent 7c403bd commit 5b42c2c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
3.71.0
======
9 July 2024
- Update Gwen core from v3.60.1 to v[3.61.0](https://github.com/gwen-interpreter/gwen/releases/tag/v3.61.0)
- Add DSL to read in file using a given character encoding
- <name> is defined by <encoding> file "<filepath>"

3.70.1
======
9 July 2024
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
enablePlugins(GitVersioning)

// gwen core & web versions
val gwenVersion = "3.60.1"
val gwenWebVersion = "3.70.1"
val gwenVersion = "3.61.0"
val gwenWebVersion = "3.71.0"

git.baseVersion := gwenWebVersion
git.useGitDescribe := true
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/gwen-web.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -1710,6 +1710,7 @@ I reset my <name> setting
<name> is defined by property "<name>"
<name> is defined by setting "<name>"
<name> is defined by file "<filepath>"
<name> is defined by <encoding> file "<filepath>"
<name> is defined by the text in <xmlRef> by xpath "<expression>"
<name> is defined by the node in <xmlRef> by xpath "<expression>"
<name> is defined by the nodeset in <xmlRef> by xpath "<expression>"
Expand Down
1 change: 1 addition & 0 deletions src/test/scala/gwen/web/eval/WebDslTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class WebDslTest extends BaseTest with Matchers with MockitoSugar {
envState.scopes.set("<arrayRef>", """ [ "source "] """)
envState.scopes.set("<xmlRef>", "xml")
envState.scopes.set("<jsonRef>", "json")
envState.scopes.set("<encoding>", "utf8")
envState.scopes.topScope.pushObject("table", new FlatTable(TableType.horizontal, List(List("1", "2")), List("a", "b")))

val engine = new WebEngine()
Expand Down

0 comments on commit 5b42c2c

Please sign in to comment.