Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Commits
78c1d9ae
Commit
78c1d9ae
authored
1 year ago
by
Zhibin Mai
Browse files
Options
Downloads
Patches
Plain Diff
Enable a unit test
parent
e4aa6e6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!620
Support flexible condition match in Index Augmenter
Pipeline
#213968
failed
1 year ago
Stage: review
Stage: build
Stage: coverage
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indexer-core/src/test/java/org/opengroup/osdu/indexer/model/indexproperty/RelatedConditionTest.java
+2
-1
2 additions, 1 deletion
...sdu/indexer/model/indexproperty/RelatedConditionTest.java
with
2 additions
and
1 deletion
indexer-core/src/test/java/org/opengroup/osdu/indexer/model/indexproperty/RelatedConditionTest.java
+
2
−
1
View file @
78c1d9ae
...
...
@@ -50,10 +50,11 @@ public class RelatedConditionTest {
Assert
.
assertTrue
(
relatedCondition
.
isMatch
(
"abc"
));
}
@Test
public
void
isMatch_return_false_for_string_match
()
{
RelatedCondition
relatedCondition
=
new
RelatedCondition
();
relatedCondition
.
setRelatedConditionMatches
(
Arrays
.
asList
(
"xyz"
,
"abc"
));
Assert
.
assert
Tru
e
(
relatedCondition
.
isMatch
(
"ABC"
));
Assert
.
assert
Fals
e
(
relatedCondition
.
isMatch
(
"ABC"
));
}
@Test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment