
com.hubspot.jinjava.lib.exptest.ExpTestLibrary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jinjava Show documentation
Show all versions of jinjava Show documentation
Jinja templating engine implemented in Java
package com.hubspot.jinjava.lib.exptest;
import com.hubspot.jinjava.lib.SimpleLibrary;
import java.util.Set;
public class ExpTestLibrary extends SimpleLibrary {
public ExpTestLibrary(boolean registerDefaults, Set disabled) {
super(registerDefaults, disabled);
}
@Override
protected void registerDefaults() {
registerClasses(
IsDefinedExpTest.class,
IsDivisibleByExpTest.class,
IsEqualToExpTest.class,
IsEqExpTest.class,
IsEqualsSymbolExpTest.class,
IsNeExpTest.class,
IsNotEqualToSymbolExpTest.class,
IsLtTest.class,
IsLessThanExpTest.class,
IsLessThanSymbolExpTest.class,
IsLeTest.class,
IsLessThanOrEqualToSymbolExpTest.class,
IsGtTest.class,
IsGreaterThanExpTest.class,
IsGreaterThanSymbolExpTest.class,
IsGeTest.class,
IsGreaterThanOrEqualToSymbolExpTest.class,
IsEvenExpTest.class,
IsIterableExpTest.class,
IsLowerExpTest.class,
IsMappingExpTest.class,
IsNoneExpTest.class,
IsNumberExpTest.class,
IsOddExpTest.class,
IsSameAsExpTest.class,
IsSequenceExpTest.class,
IsBooleanExpTest.class,
IsIntegerExpTest.class,
IsFloatExpTest.class,
IsStringExpTest.class,
IsStringContainingExpTest.class,
IsStringStartingWithExpTest.class,
IsTrueExpTest.class,
IsFalseExpTest.class,
IsTruthyExpTest.class,
IsUndefinedExpTest.class,
IsUpperExpTest.class,
IsContainingAllExpTest.class,
IsContainingExpTest.class,
IsInExpTest.class,
IsWithinExpTest.class
);
}
public ExpTest getExpTest(String name) {
return fetch(name);
}
public void addExpTest(ExpTest expTest) {
register(expTest);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy