Skip to content

Commit

Permalink
bump to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
georgejecook committed Jun 12, 2020
1 parent 511eff3 commit a8eb8ac
Show file tree
Hide file tree
Showing 24 changed files with 4,352 additions and 4,769 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
#### 4.0.0 (2020-06-12)

This is a BREAKING RELEASE.

You will have to change how you initialize rooibos. In your main.brs, you will now put:

```
if (type(Rooibos_init) = "Function") then
'bs:disable-next-line
if (type(Rooibos_init) = "Function") then Rooibos_init()
end if
```

refer to the [documentation](file:///home/george/hope/open-source/rooibos/docs/module-rooibos.html#.Rooibos_init) for more info.

#### Chores

* **core:**
* Upgrades to use the official brighterscript compiler
* Better partitions code into namespaces and classes
* Adds bs:disable-next-line directives to dynamically resovled function calls

##### Bug Fixes

* **Core:**
* Fixes several small bugs, including wrong params sent for nodeContains and crashes on lcov reporting and test reporting

#### 3.6.1 (2020-05-21)

##### Chores
Expand Down
1,970 changes: 1,970 additions & 0 deletions docs/BaseTestSuite.brs.html

Large diffs are not rendered by default.

762 changes: 762 additions & 0 deletions docs/CommonUtils.brs.html

Large diffs are not rendered by default.

247 changes: 247 additions & 0 deletions docs/ItemGenerator.brs.html

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions docs/NodeMixin.brs.html

Large diffs are not rendered by default.

198 changes: 113 additions & 85 deletions docs/Rooibos.brs.html

Large diffs are not rendered by default.

2,014 changes: 0 additions & 2,014 deletions docs/Rooibos_BaseTestSuite.brs.html

This file was deleted.

609 changes: 0 additions & 609 deletions docs/Rooibos_CommonUtils.brs.html

This file was deleted.

282 changes: 0 additions & 282 deletions docs/Rooibos_ItemGenerator.brs.html

This file was deleted.

424 changes: 0 additions & 424 deletions docs/Rooibos_TestRunner.brs.html

This file was deleted.

378 changes: 378 additions & 0 deletions docs/TestRunner.brs.html

Large diffs are not rendered by default.

262 changes: 0 additions & 262 deletions docs/classes.list.html

This file was deleted.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="../images/logo.png" alt="Rooibos test framework" width="200" height="200"/>
<img src="images/logo.png" alt="Rooibos test framework" width="200" height="200"/>
</p>
<h3 align="center">
Simple, mocha-inspired, flexible, fun Brightscript test framework for ROKU apps
Expand Down
794 changes: 115 additions & 679 deletions docs/module-BaseTestSuite.html

Large diffs are not rendered by default.

369 changes: 310 additions & 59 deletions docs/module-CommonUtils.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/module-ItemGenerator.html

Large diffs are not rendered by default.

41 changes: 8 additions & 33 deletions docs/module-TestRunner.html

Large diffs are not rendered by default.

303 changes: 303 additions & 0 deletions docs/module-rooibos.html

Large diffs are not rendered by default.

303 changes: 0 additions & 303 deletions docs/module-rooibosh.html

This file was deleted.

2 changes: 1 addition & 1 deletion docs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.6.1
4.0.0
4 changes: 2 additions & 2 deletions jsdoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"plugins": ["brightscriptCommentsOnlyJSDocPlugin.js", "plugins/markdown"],
"source": {
"include": [ "src" ],
"include": [ "build" ],
"includePattern": ".+\\.brs?$"
},
"templates": {
"systemName": "Rooibosh",
"systemName": "Rooibos",
"search": false
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rooibos",
"version": "3.6.1",
"version": "4.0.0",
"description": "simple, flexible, fun brightscript test framework for roku scenegraph apps",
"main": "index.js",
"directories": {
Expand Down
7 changes: 6 additions & 1 deletion src/TestLogger.bs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ namespace Rooibos
assertIndex = metaTestCase.testResult.failedAssertIndex
lineNumber = Rooibos.Common.getAssertLine(metaTestCase, assertIndex)
end if
locationLine = StrI(lineNumber).trim()
if lineNumber <> invalid
locationLine = StrI(lineNumber).trim()
else
locationLine = StrI(metaTestCase.lineNumber).trim()
end if

else
testChar = "|"
locationLine = StrI(metaTestCase.lineNumber).trim()
Expand Down

0 comments on commit a8eb8ac

Please sign in to comment.