Skip to content

Commit

Permalink
Disable test that is not yet implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed May 31, 2018
1 parent 7671381 commit 99a3caa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.micronaut.function.web

import groovy.transform.NotYetImplemented
import io.micronaut.context.ApplicationContext
import io.micronaut.http.HttpResponse
import io.micronaut.http.HttpStatus
Expand All @@ -9,6 +10,7 @@ import spock.lang.Specification

class JavaLambdaFunctionSpec extends Specification {

@NotYetImplemented
void "test string supplier"() {
given:
EmbeddedServer embeddedServer = ApplicationContext.run(EmbeddedServer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
@Factory
public class TestFunctionFactory {

// This should work but is currently not implemented
// the reason is because when @FunctionBean is defined on a factory
// we do not go through and visit public Executable methods unless
// it is an AOP proxy
@FunctionBean("java/supplier/string")
Supplier<String> get() {
return () -> "myvalue";
Expand Down

0 comments on commit 99a3caa

Please sign in to comment.