Closed EgorkaKulikov closed 7 months ago
Consider the following tests generation
timeLimit = 120 methodFilter = "com.google.common.collect.FilteredEntryMultimap.*" projectFilter = "guava"
Some uncompilable tests for constructors are generated. One of them looks like as follows:
@Test(expected = IllegalStateException.class) public void testMethodThrowsISE1() throws Exception { FilteredEntryMultimap filteredEntryMultimap = ((FilteredEntryMultimap) createInstance("com.google.common.collect.FilteredEntryMultimap")); new Keys(filteredEntryMultimap); }
Seems that correct syntax is:
filteredEntryMultimap.new Keys();
May be codegen does not support such syntax. May be it supports, but it expects UtModels constructed in another way. Some investigation is required.
Fixed by @tepa46
Consider the following tests generation
Some uncompilable tests for constructors are generated. One of them looks like as follows:
Seems that correct syntax is:
May be codegen does not support such syntax. May be it supports, but it expects UtModels constructed in another way. Some investigation is required.