|
41 | 41 |
|
42 | 42 | import org.junit.jupiter.api.Test;
|
43 | 43 | import org.springframework.beans.factory.annotation.Autowired;
|
44 |
| -import org.springframework.context.annotation.Configuration; |
45 | 44 | import org.springframework.dao.DataRetrievalFailureException;
|
46 | 45 | import org.springframework.dao.OptimisticLockingFailureException;
|
47 | 46 | import org.springframework.data.couchbase.CouchbaseClientFactory;
|
48 |
| -import org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration; |
49 | 47 | import org.springframework.data.couchbase.domain.Airport;
|
50 | 48 | import org.springframework.data.couchbase.domain.ReactiveAirportRepository;
|
51 | 49 | import org.springframework.data.couchbase.domain.ReactiveUserRepository;
|
52 | 50 | import org.springframework.data.couchbase.domain.User;
|
53 |
| -import org.springframework.data.couchbase.repository.config.EnableReactiveCouchbaseRepositories; |
54 | 51 | import org.springframework.data.couchbase.util.Capabilities;
|
55 | 52 | import org.springframework.data.couchbase.util.ClusterType;
|
56 | 53 | import org.springframework.data.couchbase.util.IgnoreWhen;
|
57 | 54 | import org.springframework.data.couchbase.util.JavaIntegrationTests;
|
58 | 55 | import org.springframework.data.domain.PageRequest;
|
59 | 56 | import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
|
60 | 57 |
|
61 |
| -import com.couchbase.client.core.deps.io.netty.handler.ssl.util.InsecureTrustManagerFactory; |
62 |
| -import com.couchbase.client.core.env.SecurityConfig; |
63 |
| -import com.couchbase.client.java.env.ClusterEnvironment; |
64 | 58 |
|
65 | 59 | /**
|
66 | 60 | * template class for Reactive Couchbase operations
|
@@ -99,6 +93,16 @@ void shouldSaveAndFindAll() {
|
99 | 93 | }
|
100 | 94 | }
|
101 | 95 |
|
| 96 | + @Test |
| 97 | + void testPrimitiveArgs() { |
| 98 | + int iint = 0; |
| 99 | + long llong = 0; |
| 100 | + double ddouble = 0.0; |
| 101 | + boolean bboolean = true; |
| 102 | + List<Airport> all = reactiveAirportRepository.withScope("_default") |
| 103 | + .findAllTestPrimitives(iint, llong, ddouble, bboolean).toStream().collect(Collectors.toList()); |
| 104 | + } |
| 105 | + |
102 | 106 | @Test
|
103 | 107 | void testQuery() {
|
104 | 108 | Airport vie = null;
|
|
0 commit comments