Revize cf40a19b
Přidáno uživatelem Jan Havlíček před asi 5 roky(ů)
demo_jh/Deserializer_tests/.classpath | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<classpath> |
|
3 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/> |
|
4 |
<classpathentry kind="src" path="src"/> |
|
5 |
<classpathentry kind="output" path="bin"/> |
|
6 |
</classpath> |
demo_jh/Deserializer_tests/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
2 |
<projectDescription> |
|
3 |
<name>Deserializer_tests</name> |
|
4 |
<comment/> |
|
5 |
<projects>
 |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
<buildCommand> |
|
9 |
<name>org.eclipse.jdt.core.javabuilder</name> |
|
10 |
<arguments>
 |
|
11 |
</arguments> |
|
12 |
</buildCommand> |
|
13 |
</buildSpec> |
|
14 |
<natures> |
|
15 |
<nature>org.eclipse.jdt.core.javanature</nature> |
|
16 |
</natures> |
|
17 |
</projectDescription> |
demo_jh/Deserializer_tests/.settings/org.eclipse.jdt.core.prefs | ||
---|---|---|
1 |
eclipse.preferences.version=1 |
|
2 |
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
3 |
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 |
|
4 |
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve |
|
5 |
org.eclipse.jdt.core.compiler.compliance=10 |
|
6 |
org.eclipse.jdt.core.compiler.debug.lineNumber=generate |
|
7 |
org.eclipse.jdt.core.compiler.debug.localVariable=generate |
|
8 |
org.eclipse.jdt.core.compiler.debug.sourceFile=generate |
|
9 |
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
10 |
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
11 |
org.eclipse.jdt.core.compiler.source=11 |
demo_jh/Deserializer_tests/src/SampleClasses/Simple.java | ||
---|---|---|
1 |
package SampleClasses; |
|
2 |
|
|
3 |
public class Simple |
|
4 |
{ |
|
5 |
private static final long serialVersionUID = 1L; |
|
6 |
|
|
7 |
private String pozdrav = "AHOJ"; |
|
8 |
private int testInt = 123; |
|
9 |
private double testDouble = 1.00; |
|
10 |
|
|
11 |
public Simple() |
|
12 |
{ |
|
13 |
int locInt = 5; |
|
14 |
} |
|
15 |
} |
demo_jh/Deserializer_tests/src/app/App.java | ||
---|---|---|
1 |
package app; |
|
2 |
|
|
3 |
public class App { |
|
4 |
public static void main(String[] args) throws Exception { |
|
5 |
System.out.println("Hello Java"); |
|
6 |
} |
|
7 |
} |
demo_mh/Deserializer/.vscode/launch.json | ||
---|---|---|
1 |
{ |
|
2 |
// Use IntelliSense to learn about possible attributes. |
|
3 |
// Hover to view descriptions of existing attributes. |
|
4 |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
|
5 |
"version": "0.2.0", |
|
6 |
"configurations": [ |
|
7 |
{ |
|
8 |
"type": "java", |
|
9 |
"name": "Debug (Launch) - Current File", |
|
10 |
"request": "launch", |
|
11 |
"mainClass": "${file}" |
|
12 |
}, |
|
13 |
{ |
|
14 |
"type": "java", |
|
15 |
"name": "Debug (Launch)-Deserializer<Deserializer>", |
|
16 |
"request": "launch", |
|
17 |
"mainClass": "deserialize.Deserializer", |
|
18 |
"projectName": "Deserializer" |
|
19 |
}, |
|
20 |
{ |
|
21 |
"type": "java", |
|
22 |
"name": "Debug (Launch)-Example<Deserializer>", |
|
23 |
"request": "launch", |
|
24 |
"mainClass": "serialize.Example", |
|
25 |
"projectName": "Deserializer" |
|
26 |
} |
|
27 |
] |
|
28 |
} |
demo_mh/Deserializer/Deserializer.iml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<module type="JAVA_MODULE" version="4"> |
|
3 |
<component name="EclipseModuleManager"> |
|
4 |
<libelement value="jar://$MODULE_DIR$/libs/json-simple-1.1.1.jar!/" /> |
|
5 |
<src_description expected_position="1"> |
|
6 |
<src_folder value="file://$MODULE_DIR$/src" expected_position="1" /> |
|
7 |
</src_description> |
|
8 |
</component> |
|
9 |
<component name="NewModuleRootManager"> |
|
10 |
<output url="file://$MODULE_DIR$/bin" /> |
|
11 |
<exclude-output /> |
|
12 |
<content url="file://$MODULE_DIR$"> |
|
13 |
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> |
|
14 |
</content> |
|
15 |
<orderEntry type="inheritedJdk" /> |
|
16 |
<orderEntry type="sourceFolder" forTests="false" /> |
|
17 |
<orderEntry type="module-library"> |
|
18 |
<library name="json-simple-1.1.1.jar"> |
|
19 |
<CLASSES> |
|
20 |
<root url="jar://$MODULE_DIR$/libs/json-simple-1.1.1.jar!/" /> |
|
21 |
</CLASSES> |
|
22 |
<JAVADOC /> |
|
23 |
<SOURCES /> |
|
24 |
</library> |
|
25 |
</orderEntry> |
|
26 |
</component> |
|
27 |
</module> |
Také k dispozici: Unified diff
#7768 Creating the project for basic tests