Skip to content

Commit

Permalink
"Get" tests for lookup tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Mar 18, 2015
1 parent d2d7f8a commit 0838f41
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 56 deletions.
Expand Up @@ -120,7 +120,14 @@ public static GetOperationOptions createRetrieve(RetrieveOption retrieve) {
return options;
}

public Boolean getResolve() {
public static GetOperationOptions createRetrieve(RelationalValueSearchQuery query) {
GetOperationOptions options = new GetOperationOptions();
options.retrieve = RetrieveOption.INCLUDE;
options.setRelationalValueSearchQuery(query);
return options;
}

public Boolean getResolve() {
return resolve;
}

Expand Down
Expand Up @@ -133,8 +133,8 @@ public boolean isRoot() {
return false;
}

public static boolean hasToLoadPath(QName container, Collection<SelectorOptions<GetOperationOptions>> options) {
return hasToLoadPath(new ItemPath(container), options);
public static boolean hasToLoadPath(QName itemName, Collection<SelectorOptions<GetOperationOptions>> options) {
return hasToLoadPath(new ItemPath(itemName), options);
}

// TODO find a better way to specify this
Expand Down

0 comments on commit 0838f41

Please sign in to comment.