@Test void conditionalsTest() { checkSingle("{if var = 'text...'}true{endif}"); checkSingle("{if var = 'abc'}false{endif}"); checkSingle("{if var != 'abc'}true{endif}"); checkSingle("{if var != 'text...'}false{endif}"); checkSingle("{if var}true{endif}"); checkSingle("{if emptyVar}false{endif}"); checkSingle("{if blankVar}false{endif}"); checkSingle("{if undefinied}false{endif}"); checkSingle("{if !var}false{endif}"); checkSingle("{if !emptyVar}true{endif}"); checkSingle("{if ! blankVar}true{endif}"); checkSingle("{if not undefinied}true{endif}"); checkSingle("{if value > 41}true{endif}"); checkSingle("{if !value > 41}false{endif}"); checkSingle("{if value > 42}false{endif}"); checkSingle("{if !value > 42}true{endif}"); checkSingle("{if value >= 41}true{endif}"); checkSingle("{if !value >= 41}false{endif}"); checkSingle("{if value >= 42}true{endif}"); checkSingle("{if !value >= 42}false{endif}"); checkSingle("{if value >= 43}false{endif}"); checkSingle("{if !value >= 43}true{endif}"); checkSingle("{if value < 43}true{endif}"); checkSingle("{if !value < 43}false{endif}"); checkSingle("{if value < 42}false{endif}"); checkSingle("{if !value < 42}true{endif}"); checkSingle("{if value <= 43}true{endif}"); checkSingle("{if !value <= 43}false{endif}"); checkSingle("{if value <= 42}true{endif}"); checkSingle("{if !value <= 42}false{endif}"); checkSingle("{if value <= 41}false{endif}"); checkSingle("{if !value <= 41}true{endif}"); }
Conditionals(WordDocument document) { this.document = document; remover = new DocumentRemover(document); }
Conditionals { Conditionals(WordDocument document) { this.document = document; remover = new DocumentRemover(document); } }
Conditionals { Conditionals(WordDocument document) { this.document = document; remover = new DocumentRemover(document); } Conditionals(WordDocument document); }
Conditionals { Conditionals(WordDocument document) { this.document = document; remover = new DocumentRemover(document); } Conditionals(WordDocument document); SortedSet<AbstractConditional> getConditionalsSet(); @Override String toString(); }
Conditionals { Conditionals(WordDocument document) { this.document = document; remover = new DocumentRemover(document); } Conditionals(WordDocument document); SortedSet<AbstractConditional> getConditionalsSet(); @Override String toString();  }