Skip to content

Commit 0d6f151

Browse files
committed
remove system property to avoid affect others generator tests.
1 parent 35dded1 commit 0d6f151

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/swagger-codegen/src/test/java/io/swagger/codegen/swaggeryaml/SwaggerYamlGeneratorTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
package io.swagger.codegen.swaggeryaml;
22

33
import io.swagger.codegen.ClientOptInput;
4+
import io.swagger.codegen.CodegenConstants;
45
import io.swagger.codegen.DefaultGenerator;
56
import io.swagger.codegen.config.CodegenConfigurator;
67
import org.apache.commons.io.FileUtils;
78
import org.junit.rules.TemporaryFolder;
89
import org.testng.Assert;
10+
import org.testng.annotations.AfterClass;
911
import org.testng.annotations.Test;
1012

1113
import java.io.File;
1214

1315
public class SwaggerYamlGeneratorTest {
1416

17+
@AfterClass
18+
public void cleanup() {
19+
System.clearProperty(CodegenConstants.SUPPORTING_FILES);
20+
}
21+
1522
@Test
1623
public void testLongText() throws Exception {
1724
final String LONG_DESCRIPTION_SAMPLE = "Are creatures of the cosmos Rig Veda? Trillion! Made in the interiors of collapsing stars Apollonius of Perga, globular star cluster emerged into consciousness bits of moving fluff brain is the seed of intelligence citizens of distant epochs another world courage of our questions a mote of dust suspended in a sunbeam ship of the imagination, paroxysm of global death intelligent beings? Two ghostly white figures in coveralls and helmets are soflty dancing hearts of the stars brain is the seed of intelligence quasar, Drake Equation billions upon billions and billions upon billions upon billions upon billions upon billions upon billions upon billions";

0 commit comments

Comments
 (0)