Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISPN-7906 Infinispan Query DSL does not handle inheritance of propert…
…ies/fields correctly
- Loading branch information
Showing
3 changed files
with
180 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
query/src/test/java/org/infinispan/query/dsl/embedded/NonIndexedSingleClassDSLQueryTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,20 @@ | |||
package org.infinispan.query.dsl.embedded; | |||
|
|||
import org.infinispan.configuration.cache.ConfigurationBuilder; | |||
import org.testng.annotations.Test; | |||
|
|||
/** | |||
* Test entities defined as inner classes and inheritance of fields using non-indexed query. Just a simple field equals | |||
* is tested. The purpose of this test is just to check class and property lookup correctness. | |||
* | |||
* @author anistor@redhat.com | |||
* @since 9.1 | |||
*/ | |||
@Test(groups = "functional", testName = "query.dsl.embedded.NonIndexedSingleClassDSLQueryTest") | |||
public class NonIndexedSingleClassDSLQueryTest extends SingleClassDSLQueryTest { | |||
|
|||
@Override | |||
protected void configureCache(ConfigurationBuilder builder) { | |||
// do nothing | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters