Skip to content

Commit

Permalink
refactor(test):converted and ignored a legacy query engine test
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Dec 17, 2024
1 parent f698954 commit cf39a42
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
import com.orientechnologies.orient.core.metadata.schema.OType;
import com.orientechnologies.orient.core.record.OEdge;
import com.orientechnologies.orient.core.record.OVertex;
import com.orientechnologies.orient.core.sql.OCommandSQL;
import com.orientechnologies.orient.core.sql.executor.OResultSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;

/** Created by Enrico Risa on 18/09/15. */
Expand Down Expand Up @@ -104,6 +104,7 @@ public void testNamedParams() {
}

@Test
@Ignore
public void dottedNotationTest() {

OSchema schema = db.getMetadata().getSchema();
Expand Down Expand Up @@ -136,8 +137,7 @@ public void dottedNotationTest() {
Assert.assertEquals(results.stream().count(), 1);

List<?> results1 =
db.command(new OCommandSQL("select from AuthorOf where in.title lucene 'hurricane'"))
.execute();
db.command("select from AuthorOf where in.title lucene 'hurricane'").stream().toList();

Assert.assertEquals(results1.size(), 1);
}
Expand Down

0 comments on commit cf39a42

Please sign in to comment.