We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8d337e commit 439dacbCopy full SHA for 439dacb
src/java/com/google/devtools/mobileharness/shared/util/dimension/ValueComparator.java
@@ -27,6 +27,12 @@ public final class ValueComparator {
27
/** Dimension value prefix which indicates it is an int value comparison. */
28
public static final String PREFIX_INT_COMPARISON = "compare_int:";
29
30
+ /** Returns true if the dimension value is a comparison. */
31
+ public static boolean isComparison(String dimensionValue) {
32
+ return dimensionValue.startsWith(PREFIX_STR_COMPARISON)
33
+ || dimensionValue.startsWith(PREFIX_INT_COMPARISON);
34
+ }
35
+
36
/**
37
* Compares the size relationship between the actual dimension value and the * value specified by
38
* the user.
0 commit comments