Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Commit

Permalink
Changed remaining master DB tests to fit revised test data (external …
Browse files Browse the repository at this point in the history
…ID GH~HI rather than G~HI)
  • Loading branch information
Kevin Vella committed Apr 10, 2012
1 parent 0cc02f9 commit b20b420
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -365,7 +365,7 @@ public void test_search_oneKey_Any_EF() {
@Test
public void test_search_oneKey_Any_GHI() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.addExternalId(ExternalId.of("G", "HI"));
request.addExternalId(ExternalId.of("GH", "HI"));
SecuritySearchResult test = _secMaster.search(request);

assertEquals(1, test.getDocuments().size());
Expand Down Expand Up @@ -397,7 +397,7 @@ public void test_search_twoKeys_Any_AB_CD() {
@Test
public void test_search_twoKeys_EF_GHI() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.addExternalIds(ExternalId.of("E", "F"), ExternalId.of("G", "HI"));
request.addExternalIds(ExternalId.of("E", "F"), ExternalId.of("GH", "HI"));
SecuritySearchResult test = _secMaster.search(request);

assertEquals(3, test.getDocuments().size());
Expand Down Expand Up @@ -456,7 +456,7 @@ public void test_search_oneKey_All_EF() {
@Test
public void test_search_oneKey_All_GHI() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.addExternalId(ExternalId.of("G", "HI"));
request.addExternalId(ExternalId.of("GH", "HI"));
request.getExternalIdSearch().setSearchType(ExternalIdSearchType.ALL);
SecuritySearchResult test = _secMaster.search(request);

Expand Down Expand Up @@ -524,7 +524,7 @@ public void test_search_threeKeys_All_AB_CD_EF() {
@Test
public void test_search_threeKeys_All_AB_CD_GHI() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.addExternalIds(ExternalId.of("A", "B"), ExternalId.of("C", "D"), ExternalId.of("G", "HI"));
request.addExternalIds(ExternalId.of("A", "B"), ExternalId.of("C", "D"), ExternalId.of("GH", "HI"));
request.getExternalIdSearch().setSearchType(ExternalIdSearchType.ALL);
SecuritySearchResult test = _secMaster.search(request);

Expand Down Expand Up @@ -580,7 +580,7 @@ public void test_search_threeKeys_Exact_AB_CD_EF() {
@Test
public void test_search_threeKeys_Exact_AB_CD_GHI() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.addExternalIds(ExternalId.of("A", "B"), ExternalId.of("C", "D"), ExternalId.of("G", "HI"));
request.addExternalIds(ExternalId.of("A", "B"), ExternalId.of("C", "D"), ExternalId.of("GH", "HI"));
request.getExternalIdSearch().setSearchType(ExternalIdSearchType.EXACT);
SecuritySearchResult test = _secMaster.search(request);

Expand Down

0 comments on commit b20b420

Please sign in to comment.