This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-434
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-434 by this push:
new ea11c9a WIP.
ea11c9a is described below
commit ea11c9add9982315c2f89cde97d29ff309cf35ef
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Sep 9 23:44:35 2021 +0300
WIP.
---
.../apache/nlpcraft/probe/mgrs/deploy1/NCElementAnnotationsSpec.scala | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/deploy1/NCElementAnnotationsSpec.scala
b/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/deploy1/NCElementAnnotationsSpec.scala
index 4d594ed..3c92112 100644
---
a/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/deploy1/NCElementAnnotationsSpec.scala
+++
b/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/deploy1/NCElementAnnotationsSpec.scala
@@ -42,7 +42,6 @@ class NCElementAnn1 extends NCElement {
@NCElementDefinition("""{ "id": "e3" }""")
@NCElementDefinition("""{ "id": "e4" }""")
class NCElementAnnotationsSpecModel extends
NCModelAdapter("nlpcraft.intents.idl.test", "IDL Test Model", "1.0") {
- // It overrides city.
override def getElements: util.Set[NCElement] = Set(NCTestElement("e1"))
@NCIntent("intent=onE1 term={# == 'e1'}")
@@ -117,7 +116,7 @@ class NCElementAnnotationsSpec extends NCTestContext {
checkIntent("e101", "onE10")
checkIntent("e11", "onE11")
- // Added via class annotation.
+ // Added via class annotation (second approach).
checkIntent("e12", "onE12")
}
}
\ No newline at end of file