move properties file tests to community

This commit is contained in:
Dmitry Batkovich
2017-10-09 12:09:44 +03:00
parent 0ccda8fb23
commit 48b3fbbc8e
18 changed files with 2050 additions and 0 deletions
@@ -0,0 +1,7 @@
@echo off
del *properties
echo class PropRef { >PropRef.java
for /L %%f in (1,1,100) do for /L %%i in (1,1,10) do call handleProp %%f %%i >>PropRef.java
echo } >>PropRef.java
@@ -0,0 +1,5 @@
@echo off
set propName=prop.file.%1.number.%2
echo %propName%=%propName% >>file%1.properties
echo String s%1_%2 = "%propName%";
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4" relativePaths="true" type="JAVA_MODULE">
<component name="ModuleRootManager" />
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntryProperties />
</component>
</module>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,3 @@
class X {
String s= "c.d";
}
@@ -0,0 +1 @@
c.d=ccc
@@ -0,0 +1 @@
c.d=en
@@ -0,0 +1 @@
c.d=ee
@@ -0,0 +1,3 @@
class X {
String s= "a.b";
}
@@ -0,0 +1 @@
a.b=ccc
@@ -0,0 +1 @@
a.b=en
@@ -0,0 +1 @@
a.b=ee
@@ -0,0 +1,2 @@
a.b=ccc
c.d=ccc
@@ -0,0 +1,3 @@
class C {
String cons = "<caret>prop1.ext";
}
@@ -0,0 +1,3 @@
class C {
String cons = "<caret>a:b";
}
@@ -0,0 +1,3 @@
prop1.ext=xxx
aaa.bbb=yyy
a\:b=aaabbb