MCPcopy Create free account
hub / github.com/akeranen/the-one / testValueFillString

Method testValueFillString

test/SettingsTest.java:140–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138
139
140 public void testValueFillString() {
141 String test = "1-%%tstSetting%%-2-%%tstSetting2%%";
142 String result = s.valueFillString(test);
143 assertEquals("1-tst-2-tst2",result);
144
145 result = s.valueFillString("%%"+TST+"%%-aaa");
146 assertEquals(TST_RES + "-aaa",result);
147
148 result = s.valueFillString("%%"+TST+"%%");
149 assertEquals(TST_RES,result);
150 }
151
152 public void testRunIndex() {
153 assertEquals(s.getSetting(RS_S), "val1");

Callers

nothing calls this directly

Calls 1

valueFillStringMethod · 0.80

Tested by

no test coverage detected