This is an automated email from the ASF dual-hosted git repository.
suyanhanx pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new d4614fdc1 fix(nodejs/java): Add place holder for BDD test (#2962)
d4614fdc1 is described below
commit d4614fdc10afe99a2d4d4b74f4f32a2493af580f
Author: Xuanwo <[email protected]>
AuthorDate: Tue Aug 29 13:10:52 2023 +0800
fix(nodejs/java): Add place holder for BDD test (#2962)
* fix(nodejs/tests): Add place holder for BDD test
Signed-off-by: Xuanwo <[email protected]>
* Also fix java
Signed-off-by: Xuanwo <[email protected]>
---------
Signed-off-by: Xuanwo <[email protected]>
---
bindings/java/src/test/java/org/apache/opendal/AsyncStepsTest.java | 5 +++++
bindings/nodejs/tests/binding.js | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/bindings/java/src/test/java/org/apache/opendal/AsyncStepsTest.java
b/bindings/java/src/test/java/org/apache/opendal/AsyncStepsTest.java
index 57a678cdc..996c79080 100644
--- a/bindings/java/src/test/java/org/apache/opendal/AsyncStepsTest.java
+++ b/bindings/java/src/test/java/org/apache/opendal/AsyncStepsTest.java
@@ -67,4 +67,9 @@ public class AsyncStepsTest {
String readContent = op.read(path).join();
assertEquals(content, readContent);
}
+
+ @Then("The presign operation should success or raise exception
Unsupported")
+ public void
the_presign_operation_should_success_or_raise_exception_unsupported() {
+ // TODO: please implement me
+ }
}
diff --git a/bindings/nodejs/tests/binding.js b/bindings/nodejs/tests/binding.js
index dd1e40d29..a53a4bebe 100644
--- a/bindings/nodejs/tests/binding.js
+++ b/bindings/nodejs/tests/binding.js
@@ -74,3 +74,7 @@ Then('The async file {string} must have content {string}',
async function (path,
let bs = await this.op.read(path)
assert(bs.toString() == content)
})
+
+Then('The presign operation should success or raise exception Unsupported',
function () {
+ // TODO: please implement me.
+})