MCPcopy Create free account
hub / github.com/demoth/jake2 / testFind

Method testFind

qcommon/src/test/java/jake2/qcommon/exec/TestCvar.java:58–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 @Test
59 public void testFind() {
60 Cvar.getInstance().Set("rene3", "is cool.");
61
62 Assert.assertEquals("is cool.", Cvar.getInstance().FindVar("rene3").string);
63 }
64
65 @Test
66 public void testVariableString() {

Callers

nothing calls this directly

Calls 3

getInstanceMethod · 0.95
SetMethod · 0.80
FindVarMethod · 0.80

Tested by

no test coverage detected