MCPcopy Create free account
hub / github.com/Neop/mudmap2 / testCreateLayer

Method testCreateLayer

src/test/java/mudmap2/frontend/WorldTabTest.java:133–147  ·  view source on GitHub ↗

Test of createLayer method, of class WorldTab.

()

Source from the content-addressed store, hash-verified

131 * Test of createLayer method, of class WorldTab.
132 */
133 @Test
134 @Ignore
135 public void testCreateLayer() {
136 System.out.println("createLayer");
137
138 World world = new World();
139
140 WorldTab instance = new WorldTab(null, world, false);
141
142 int layerCnt = world.getLayers().size();
143
144 instance.createLayer();
145
146 assertEquals(layerCnt +1, world.getLayers().size());
147 }
148
149 /**
150 * Test of placeSelected method, of class WorldTab.

Callers

nothing calls this directly

Calls 2

getLayersMethod · 0.95
createLayerMethod · 0.95

Tested by

no test coverage detected