You are here

private property DrupalSolrQueryTests::$queries in Apache Solr Search 6

Same name and namespace in other branches
  1. 5 tests/solr_base_query.test \DrupalSolrQueryTests::queries
  2. 6.2 tests/solr_base_query.test \DrupalSolrQueryTests::queries

File

tests/solr_base_query.test, line 26
Tests for the apachsolr module: base query.

Class

DrupalSolrQueryTests
JacobSingh: Warning! This test is totally broken because of the addition of the "hash" in apachesolr_search.module. Needs to be moved out.

Code

private $queries = array(
  'foo',
  'foo bar',
  'foo bar "hubba baz"',
  'uid:1',
  'uid:1 uid:2',
  'foo bar uid:1 uid:2',
  'foo bar "I love you"',
  'foo bar baz -hubba',
  'foo -bar -term:31',
  'foo*',
  'foo?',
  'somefield:"I love you"',
);