Browse Source

2.40.0 jars

master
boB Rudis 4 years ago
parent
commit
d7cb4661e7
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 6
      DESCRIPTION
  2. 6
      NEWS.md
  3. 2
      README.md
  4. BIN
      inst/java/htmlunit-2.40.0.jar
  5. BIN
      inst/java/htmlunit-core-js-2.40.0.jar
  6. BIN
      inst/java/jetty-client-9.4.28.v20200408.jar
  7. BIN
      inst/java/jetty-http-9.4.28.v20200408.jar
  8. BIN
      inst/java/jetty-io-9.4.28.v20200408.jar
  9. BIN
      inst/java/jetty-util-9.4.28.v20200408.jar
  10. BIN
      inst/java/jetty-xml-9.4.27.v20200227.jar
  11. BIN
      inst/java/jetty-xml-9.4.28.v20200408.jar
  12. BIN
      inst/java/neko-htmlunit-2.40.0.jar
  13. BIN
      inst/java/salvation-2.7.1.jar
  14. BIN
      inst/java/websocket-api-9.4.28.v20200408.jar
  15. BIN
      inst/java/websocket-client-9.4.28.v20200408.jar
  16. BIN
      inst/java/websocket-common-9.4.28.v20200408.jar
  17. 27
      inst/tinytest/test_htmlunitjars.R
  18. 2
      java/htmlunit/pom.xml
  19. 2
      tests/test-all.R
  20. 4
      tests/testthat/test-jerichojars.R
  21. 5
      tests/tinytest.R

6
DESCRIPTION

@ -1,8 +1,8 @@
Package: htmlunitjars
Type: Package
Title: Java Archive Wrapper Supporting the 'htmlunit' Package
Version: 2.39.0
Date: 2020-04-09
Version: 2.40.0
Date: 2020-05-09
Authors@R: c(
person("Bob", "Rudis", role = c("aut", "cre"), email = "bob@rud.is"),
person("Mike", "Bowlder", role = "aut", comment = "Original HtmlUnit Java author"),
@ -22,7 +22,7 @@ BugReports: https://git.rud.is/hrbrmstr/htmlunitjars/issues
License: Apache License 2.0 | file LICENSE
Encoding: UTF-8
Suggests:
testthat,
tinytest,
covr
Depends:
R (>= 3.2.0),

6
NEWS.md

@ -1,3 +1,9 @@
# 2.40.0
* Updated main and dependent JARs to track with htmlunit 2.40.0
release <http://htmlunit.sourceforge.net/changes-report.html#a2.38.0>
* Switched to {tinytest}
* Added tests
# 2.38.0
* Updated main and dependent JARs to track with htmlunit 2.38.0
release <http://htmlunit.sourceforge.net/changes-report.html#a2.38.0>

2
README.md

@ -73,7 +73,7 @@ library(htmlunitjars)
# current verison
packageVersion("htmlunitjars")
## [1] '2.39.0'
## [1] '2.40.0'
```
### Give It A Go

BIN
inst/java/htmlunit-2.39.0.jar → inst/java/htmlunit-2.40.0.jar

Binary file not shown.

BIN
inst/java/htmlunit-core-js-2.39.0.jar → inst/java/htmlunit-core-js-2.40.0.jar

Binary file not shown.

BIN
inst/java/jetty-client-9.4.27.v20200227.jar → inst/java/jetty-client-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/jetty-http-9.4.27.v20200227.jar → inst/java/jetty-http-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/jetty-io-9.4.27.v20200227.jar → inst/java/jetty-io-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/jetty-util-9.4.27.v20200227.jar → inst/java/jetty-util-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/jetty-xml-9.4.27.v20200227.jar

Binary file not shown.

BIN
inst/java/jetty-xml-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/neko-htmlunit-2.39.0.jar → inst/java/neko-htmlunit-2.40.0.jar

Binary file not shown.

BIN
inst/java/salvation-2.7.1.jar

Binary file not shown.

BIN
inst/java/websocket-api-9.4.27.v20200227.jar → inst/java/websocket-api-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/websocket-client-9.4.27.v20200227.jar → inst/java/websocket-client-9.4.28.v20200408.jar

Binary file not shown.

BIN
inst/java/websocket-common-9.4.27.v20200227.jar → inst/java/websocket-common-9.4.28.v20200408.jar

Binary file not shown.

27
inst/tinytest/test_htmlunitjars.R

@ -0,0 +1,27 @@
library(htmlunitjars)
browsers <- J("com.gargoylesoftware.htmlunit.BrowserVersion")
expect_equal(browsers$class$toString(), "class com.gargoylesoftware.htmlunit.BrowserVersion")
wc <- new(J("com.gargoylesoftware.htmlunit.WebClient"), browsers$CHROME)
expect_true(wc$isJavaScriptEnabled())
invisible(wc$waitForBackgroundJavaScriptStartingBefore(.jlong(2000L)))
wc_opts <- wc$getOptions()
prox <- wc_opts$getProxyConfig()
expect_equal(prox$getProxyPort(), 0)
wc_opts$setThrowExceptionOnFailingStatusCode(FALSE)
wc_opts$setThrowExceptionOnScriptError(FALSE)
test_url <- "https://hrbrmstr.github.io/htmlunitjars/index.html"
pg <- wc$getPage(test_url)
expect_equal(pg$getTitleText(), "")

2
java/htmlunit/pom.xml

@ -20,7 +20,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.39.0</version>
<version>2.40.0</version>
</dependency>
</dependencies>
</project>

2
tests/test-all.R

@ -1,2 +0,0 @@
library(testthat)
test_check("htmlunitjars")

4
tests/testthat/test-jerichojars.R

@ -1,4 +0,0 @@
context("basic functionality")
test_that("we can do something", {
})

5
tests/tinytest.R

@ -0,0 +1,5 @@
if ( requireNamespace("tinytest", quietly=TRUE) ){
tinytest::test_package("htmlunitjars")
}
Loading…
Cancel
Save