Erstes Projekt anlegen und Ordner Struktur

main
Daniel Zikol 2025-12-09 20:46:05 +01:00
parent 9e687bff2e
commit 382ea4a1a5
21 changed files with 163 additions and 0 deletions

8
.idea/.gitignore vendored 100644
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CatActivitySettingProjectState">
<option name="firstInit" value="false" />
</component>
</project>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MaterialThemeProjectNewConfig">
<option name="metadata">
<MTProjectMetadataState>
<option name="migrated" value="true" />
<option name="pristineConfig" value="false" />
<option name="userId" value="-28ff690f:199f3095f80:-7ffe" />
</MTProjectMetadataState>
</option>
</component>
</project>

10
.idea/misc.xml 100644
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="ASK" />
<option name="description" value="" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_25" default="true" project-jdk-name="25" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Shop/Shop.iml" filepath="$PROJECT_DIR$/Shop/Shop.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/Shop3020574.iml" filepath="$PROJECT_DIR$/.idea/Shop3020574.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml 100644
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

29
Shop/Shop.iml 100644
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library" scope="TEST">
<library name="JUnit6">
<CLASSES>
<root url="jar://$MODULE_DIR$/../lib/junit-jupiter-6.0.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/junit-jupiter-api-6.0.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/opentest4j-1.3.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/junit-platform-commons-6.0.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/apiguardian-api-1.1.2.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/jspecify-1.0.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/junit-jupiter-params-6.0.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/junit-jupiter-engine-6.0.0.jar!/" />
<root url="jar://$MODULE_DIR$/../lib/junit-platform-engine-6.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 MiB

View File

@ -0,0 +1,8 @@
ProdId,Name,TransportGewicht,Netto,MwStSatz,Lagerbestand
1,Riesling 0.7 l,1.2,4.20,19,87
2,Pfälzer Saumagen 250 g,0.28,2.52,7,23
3,Gewürznelken 100 St.,0.01,2.52,7,3
4,Kokosmilch 250 ml,0.275,1.67,7,12
5,Bratwurst grob 250 g,0.258,2.09,7,17
6,Traubensaft 1.0 l,1.5,2.93,19,1
7,Gieskanne,0.2,3.80,19,13
1 ProdId Name TransportGewicht Netto MwStSatz Lagerbestand
2 1 Riesling 0.7 l 1.2 4.20 19 87
3 2 Pfälzer Saumagen 250 g 0.28 2.52 7 23
4 3 Gewürznelken 100 St. 0.01 2.52 7 3
5 4 Kokosmilch 250 ml 0.275 1.67 7 12
6 5 Bratwurst grob 250 g 0.258 2.09 7 17
7 6 Traubensaft 1.0 l 1.5 2.93 19 1
8 7 Gieskanne 0.2 3.80 19 13

View File

@ -0,0 +1,4 @@
package shoppackage;
public class Cart {
}

View File

@ -0,0 +1,4 @@
package shoppackage;
public class CartPosition {
}

View File

@ -0,0 +1,4 @@
package shoppackage;
public class OnlineShop {
}

View File

@ -0,0 +1,4 @@
package shoppackage;
public class Order {
}

View File

@ -0,0 +1,4 @@
package shoppackage;
public class Products {
}

View File

@ -0,0 +1,11 @@
package shoppackage;
public class ShopTUI {
void main(){
System.out.println("Hello Shop!");
}
}

View File

@ -0,0 +1,7 @@
package shoppackage;
import static org.junit.jupiter.api.Assertions.*;
class CartTest {
}

View File

@ -0,0 +1,7 @@
package shoppackage;
import static org.junit.jupiter.api.Assertions.*;
class OnlineShopTest {
}

View File

@ -0,0 +1,7 @@
package shoppackage;
import static org.junit.jupiter.api.Assertions.*;
class OrderTest {
}

View File

@ -0,0 +1,7 @@
package shoppackage;
import static org.junit.jupiter.api.Assertions.*;
class ProductsTest {
}

View File

@ -0,0 +1,7 @@
package shoppackage;
import static org.junit.jupiter.api.Assertions.*;
class ShopTUITest {
}