Fix tests and strucuture in exercise 8
This commit is contained in:
parent
fe1920d94c
commit
31ac2d05c3
10 changed files with 329 additions and 186 deletions
|
@ -0,0 +1,124 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Palette2">
|
||||||
|
<group name="Swing">
|
||||||
|
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Button" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="RadioButton" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="CheckBox" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Label" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||||
|
<preferred-size width="-1" height="20" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
</group>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -3,6 +3,14 @@
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="afe8ba73-7d05-48a7-bd82-e56b42c13591" name="Default Changelist" comment="">
|
<list default="true" id="afe8ba73-7d05-48a7-bd82-e56b42c13591" name="Default Changelist" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/customers.txt" beforeDir="false" afterPath="$PROJECT_DIR$/customers.txt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/de.hhn.ai.prog2.blatt8.internationalisierung.iml" beforeDir="false" afterPath="$PROJECT_DIR$/de.hhn.ai.prog2.blatt8.internationalisierung.iml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/App.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/Datenhaltung.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/DatenhaltungTest.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/GUI.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/Kunde.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt9.properties/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt9.properties/.idea/workspace.xml" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<ignored path="$PROJECT_DIR$/classes/" />
|
<ignored path="$PROJECT_DIR$/classes/" />
|
||||||
<ignored path="$PROJECT_DIR$/bin/" />
|
<ignored path="$PROJECT_DIR$/bin/" />
|
||||||
|
@ -13,16 +21,15 @@
|
||||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="DefaultGradleProjectSettings">
|
<component name="DefaultGradleProjectSettings">
|
||||||
<option name="testRunner" value="GRADLE" />
|
<option name="isMigrated" value="true" />
|
||||||
<option name="delegatedBuild" value="true" />
|
|
||||||
</component>
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf>
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/App.java">
|
<entry file="file://$PROJECT_DIR$/src/services/App.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="105">
|
<state>
|
||||||
<caret line="7" column="1" selection-start-line="7" selection-start-column="1" selection-end-line="7" selection-end-column="1" />
|
<caret column="16" selection-start-column="16" selection-end-column="16" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -42,53 +49,47 @@
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/GUI.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="540">
|
|
||||||
<caret line="74" column="51" lean-forward="true" selection-start-line="74" selection-start-column="51" selection-end-line="74" selection-end-column="51" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
</file>
|
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/locale_de_DE.properties">
|
<entry file="file://$PROJECT_DIR$/src/view/GUI.java">
|
||||||
<provider selected="true" editor-type-id="ResourceBundle" />
|
|
||||||
<provider editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="75">
|
|
||||||
<caret line="5" column="18" selection-start-line="5" selection-start-column="18" selection-end-line="5" selection-end-column="18" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
</file>
|
|
||||||
<file pinned="false" current-in-tab="false">
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/Kunde.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="570">
|
<state relative-caret-position="345">
|
||||||
<caret line="38" column="1" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
|
<caret line="23" column="66" selection-start-line="23" selection-start-column="66" selection-end-line="23" selection-end-column="66" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#358#359#0" expanded="true" />
|
<element signature="imports" expanded="true" />
|
||||||
<element signature="e#390#391#0" expanded="true" />
|
|
||||||
<element signature="e#440#441#0" expanded="true" />
|
|
||||||
<element signature="e#482#483#0" expanded="true" />
|
|
||||||
<element signature="e#513#514#0" expanded="true" />
|
|
||||||
<element signature="e#540#541#0" expanded="true" />
|
|
||||||
<element signature="e#580#581#0" expanded="true" />
|
|
||||||
<element signature="e#612#613#0" expanded="true" />
|
|
||||||
<element signature="e#650#651#0" expanded="true" />
|
|
||||||
<element signature="e#681#682#0" expanded="true" />
|
|
||||||
<element signature="e#732#733#0" expanded="true" />
|
|
||||||
<element signature="e#772#773#0" expanded="true" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/Datenhaltung.java">
|
<entry file="file://$PROJECT_DIR$/src/model/Kunde.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="105">
|
<state relative-caret-position="60">
|
||||||
<caret line="13" column="37" selection-start-line="13" selection-start-column="37" selection-end-line="13" selection-end-column="37" />
|
<caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/services/Datenhaltung.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="255">
|
||||||
|
<caret line="17" column="43" selection-start-line="17" selection-start-column="43" selection-end-line="17" selection-end-column="43" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="true">
|
||||||
|
<entry file="file://$PROJECT_DIR$/tests/services/DatenhaltungTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="540">
|
||||||
|
<caret line="36" column="69" selection-start-line="36" selection-start-column="69" selection-end-line="36" selection-end-column="69" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -110,21 +111,16 @@
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/src/app/Kunde.java" />
|
<option value="$PROJECT_DIR$/src/app/Kunde.java" />
|
||||||
<option value="$PROJECT_DIR$/src/app/DatenhaltungTest.groovy" />
|
<option value="$PROJECT_DIR$/src/app/DatenhaltungTest.groovy" />
|
||||||
<option value="$PROJECT_DIR$/src/app/Datenhaltung.java" />
|
|
||||||
<option value="$PROJECT_DIR$/src/app/DatenhaltungTest.java" />
|
<option value="$PROJECT_DIR$/src/app/DatenhaltungTest.java" />
|
||||||
<option value="$PROJECT_DIR$/src/locale_en.properties" />
|
<option value="$PROJECT_DIR$/src/locale_en.properties" />
|
||||||
<option value="$PROJECT_DIR$/src/locale_de_DE.properties" />
|
<option value="$PROJECT_DIR$/src/locale_de_DE.properties" />
|
||||||
<option value="$PROJECT_DIR$/src/app/GUI.java" />
|
<option value="$PROJECT_DIR$/src/app/GUI.java" />
|
||||||
</list>
|
<option value="$PROJECT_DIR$/src/app/Datenhaltung.java" />
|
||||||
</option>
|
<option value="$PROJECT_DIR$/src/services/App.java" />
|
||||||
</component>
|
<option value="$PROJECT_DIR$/src/services/Datenhaltung.java" />
|
||||||
<component name="ProjectConfigurationFiles">
|
<option value="$PROJECT_DIR$/tests/DatenhaltungTest.java" />
|
||||||
<option name="files">
|
<option value="$PROJECT_DIR$/src/DatenhaltungTest.java" />
|
||||||
<list>
|
<option value="$PROJECT_DIR$/tests/services/DatenhaltungTest.java" />
|
||||||
<option value="$PROJECT_DIR$/de.hhn.ai.prog2.blatt8.internationalisierung.iml" />
|
|
||||||
<option value="$PROJECT_DIR$/.idea/misc.xml" />
|
|
||||||
<option value="$PROJECT_DIR$/.idea/vcs.xml" />
|
|
||||||
<option value="$PROJECT_DIR$/.idea/modules.xml" />
|
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
@ -139,6 +135,7 @@
|
||||||
<foldersAlwaysOnTop value="true" />
|
<foldersAlwaysOnTop value="true" />
|
||||||
</navigator>
|
</navigator>
|
||||||
<panes>
|
<panes>
|
||||||
|
<pane id="Scope" />
|
||||||
<pane id="ProjectPane">
|
<pane id="ProjectPane">
|
||||||
<subPane>
|
<subPane>
|
||||||
<expand>
|
<expand>
|
||||||
|
@ -155,13 +152,24 @@
|
||||||
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
||||||
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="462c0819:PsiDirectoryNode" />
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="app" type="462c0819:PsiDirectoryNode" />
|
<item name="services" type="462c0819:PsiDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
<path>
|
<path>
|
||||||
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
||||||
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="462c0819:PsiDirectoryNode" />
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="Resource Bundle 'locale'" type="a6c14932:ResourceBundleNode" />
|
<item name="view" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="tests" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="tests" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="services" type="462c0819:PsiDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
<path>
|
<path>
|
||||||
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
<item name="de.hhn.ai.prog2.blatt8.internationalisierung" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
@ -172,7 +180,6 @@
|
||||||
</subPane>
|
</subPane>
|
||||||
</pane>
|
</pane>
|
||||||
<pane id="PackagesPane" />
|
<pane id="PackagesPane" />
|
||||||
<pane id="Scope" />
|
|
||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
|
@ -187,7 +194,7 @@
|
||||||
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" />
|
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" />
|
||||||
<property name="create.test.in.the.same.root" value="true" />
|
<property name="create.test.in.the.same.root" value="true" />
|
||||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt9.properties" />
|
<property name="last_opened_file_path" value="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt9.properties" />
|
||||||
<property name="project.structure.last.edited" value="Project" />
|
<property name="project.structure.last.edited" value="Modules" />
|
||||||
<property name="project.structure.proportion" value="0.15" />
|
<property name="project.structure.proportion" value="0.15" />
|
||||||
<property name="project.structure.side.proportion" value="0.37222868" />
|
<property name="project.structure.side.proportion" value="0.37222868" />
|
||||||
<property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
|
<property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
|
||||||
|
@ -200,6 +207,10 @@
|
||||||
<recent name="" />
|
<recent name="" />
|
||||||
<recent name="groovy.util.GroovyTestCase" />
|
<recent name="groovy.util.GroovyTestCase" />
|
||||||
</key>
|
</key>
|
||||||
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
|
<recent name="$PROJECT_DIR$/tests/services" />
|
||||||
|
<recent name="$PROJECT_DIR$/src" />
|
||||||
|
</key>
|
||||||
</component>
|
</component>
|
||||||
<component name="RunDashboard">
|
<component name="RunDashboard">
|
||||||
<option name="ruleStates">
|
<option name="ruleStates">
|
||||||
|
@ -213,13 +224,13 @@
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="RunManager" selected="Application.App">
|
<component name="RunManager" selected="JUnit.DatenhaltungTest">
|
||||||
<configuration name="App" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
<configuration name="App" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||||
<option name="MAIN_CLASS_NAME" value="app.App" />
|
<option name="MAIN_CLASS_NAME" value="services.App" />
|
||||||
<module name="de.hhn.ai.prog2.blatt8.internationalisierung" />
|
<module name="de.hhn.ai.prog2.blatt8.internationalisierung" />
|
||||||
<extension name="coverage">
|
<extension name="coverage">
|
||||||
<pattern>
|
<pattern>
|
||||||
<option name="PATTERN" value="app.*" />
|
<option name="PATTERN" value="view.*" />
|
||||||
<option name="ENABLED" value="true" />
|
<option name="ENABLED" value="true" />
|
||||||
</pattern>
|
</pattern>
|
||||||
</extension>
|
</extension>
|
||||||
|
@ -231,38 +242,25 @@
|
||||||
<module name="de.hhn.ai.prog2.blatt8.internationalisierung" />
|
<module name="de.hhn.ai.prog2.blatt8.internationalisierung" />
|
||||||
<extension name="coverage">
|
<extension name="coverage">
|
||||||
<pattern>
|
<pattern>
|
||||||
<option name="PATTERN" value="app.*" />
|
<option name="PATTERN" value="services.*" />
|
||||||
<option name="ENABLED" value="true" />
|
<option name="ENABLED" value="true" />
|
||||||
</pattern>
|
</pattern>
|
||||||
</extension>
|
</extension>
|
||||||
<option name="PACKAGE_NAME" value="app" />
|
<option name="PACKAGE_NAME" value="services" />
|
||||||
<option name="MAIN_CLASS_NAME" value="app.DatenhaltungTest" />
|
<option name="MAIN_CLASS_NAME" value="services.DatenhaltungTest" />
|
||||||
<option name="TEST_OBJECT" value="class" />
|
<option name="TEST_OBJECT" value="class" />
|
||||||
<method v="2">
|
<method v="2">
|
||||||
<option name="Make" enabled="true" />
|
<option name="Make" enabled="true" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
<configuration name="DatenhaltungTest.speichereKunde" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
|
||||||
<module name="de.hhn.ai.prog2.blatt8.internationalisierung" />
|
|
||||||
<extension name="coverage">
|
|
||||||
<pattern>
|
|
||||||
<option name="PATTERN" value="app.*" />
|
|
||||||
<option name="ENABLED" value="true" />
|
|
||||||
</pattern>
|
|
||||||
</extension>
|
|
||||||
<option name="PACKAGE_NAME" value="app" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="app.DatenhaltungTest" />
|
|
||||||
<option name="METHOD_NAME" value="speichereKunde" />
|
|
||||||
<option name="TEST_OBJECT" value="method" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
<recent_temporary>
|
|
||||||
<list>
|
<list>
|
||||||
<item itemvalue="Application.App" />
|
<item itemvalue="Application.App" />
|
||||||
<item itemvalue="JUnit.DatenhaltungTest" />
|
<item itemvalue="JUnit.DatenhaltungTest" />
|
||||||
<item itemvalue="JUnit.DatenhaltungTest.speichereKunde" />
|
</list>
|
||||||
|
<recent_temporary>
|
||||||
|
<list>
|
||||||
|
<item itemvalue="JUnit.DatenhaltungTest" />
|
||||||
|
<item itemvalue="Application.App" />
|
||||||
</list>
|
</list>
|
||||||
</recent_temporary>
|
</recent_temporary>
|
||||||
</component>
|
</component>
|
||||||
|
@ -295,58 +293,83 @@
|
||||||
<history-entry file="DatenhaltungTest - 2019.06.27 at 20h 42m 27s.xml">
|
<history-entry file="DatenhaltungTest - 2019.06.27 at 20h 42m 27s.xml">
|
||||||
<configuration name="DatenhaltungTest" configurationId="JUnit" />
|
<configuration name="DatenhaltungTest" configurationId="JUnit" />
|
||||||
</history-entry>
|
</history-entry>
|
||||||
|
<history-entry file="DatenhaltungTest_(1) - 2019.07.04 at 12h 16m 34s.xml">
|
||||||
|
<configuration name="DatenhaltungTest (1)" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="DatenhaltungTest - 2019.07.04 at 12h 17m 10s.xml">
|
||||||
|
<configuration name="DatenhaltungTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="DatenhaltungTest - 2019.07.04 at 12h 18m 29s.xml">
|
||||||
|
<configuration name="DatenhaltungTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="1280" y="0" width="2560" height="1410" extended-state="6" />
|
<frame x="1280" y="0" width="2560" height="1410" extended-state="6" />
|
||||||
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Image Layers" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25178713" />
|
||||||
<window_info id="Designer" />
|
|
||||||
<window_info id="UI Designer" />
|
|
||||||
<window_info id="Capture Tool" />
|
|
||||||
<window_info id="Favorites" side_tool="true" />
|
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.24980143" />
|
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Version Control" />
|
<window_info id="Image Layers" order="2" />
|
||||||
<window_info anchor="bottom" id="Terminal" />
|
<window_info id="Designer" order="3" />
|
||||||
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
<window_info id="UI Designer" order="4" />
|
||||||
<window_info anchor="bottom" id="Messages" weight="0.32945737" />
|
<window_info id="Capture Tool" order="5" />
|
||||||
|
<window_info id="Favorites" order="6" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" weight="0.32945737" />
|
<window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.32945737" />
|
||||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" />
|
||||||
<window_info anchor="right" id="Palette" />
|
<window_info anchor="bottom" id="Terminal" order="7" />
|
||||||
<window_info anchor="right" id="Theme Preview" />
|
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
||||||
<window_info anchor="right" id="Maven" />
|
<window_info anchor="bottom" id="Version Control" order="9" />
|
||||||
<window_info anchor="right" id="Capture Analysis" />
|
<window_info anchor="bottom" id="Messages" order="10" weight="0.32945737" />
|
||||||
<window_info anchor="right" id="Palette	" />
|
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
|
<window_info anchor="right" id="Palette" order="3" />
|
||||||
|
<window_info anchor="right" id="Maven" order="4" />
|
||||||
|
<window_info anchor="right" id="Theme Preview" order="5" />
|
||||||
|
<window_info anchor="right" id="Capture Analysis" order="6" />
|
||||||
|
<window_info anchor="right" id="Palette	" order="7" />
|
||||||
</layout>
|
</layout>
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/DatenhaltungTest.groovy">
|
<entry file="file://$PROJECT_DIR$/src/app/DatenhaltungTest.groovy" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/customers.txt">
|
||||||
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/app/DatenhaltungTest.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state>
|
<state relative-caret-position="345">
|
||||||
<caret lean-forward="true" />
|
<caret line="23" column="61" selection-start-line="23" selection-start-column="61" selection-end-line="23" selection-end-column="61" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/locale_en.properties">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="120">
|
||||||
|
<caret line="8" column="22" lean-forward="true" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
<provider editor-type-id="ResourceBundle" />
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/.classpath">
|
<entry file="file://$PROJECT_DIR$/.classpath">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/.project">
|
<entry file="file://$PROJECT_DIR$/.project">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/customers.txt">
|
<entry file="file://$PROJECT_DIR$/de.hhn.ai.prog2.blatt8.internationalisierung.iml">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/Kunde.java">
|
<entry file="file://$PROJECT_DIR$/src/app/Kunde.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="570">
|
<state relative-caret-position="390">
|
||||||
<caret line="38" column="1" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
|
<caret line="38" column="1" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#358#359#0" expanded="true" />
|
<element signature="e#358#359#0" expanded="true" />
|
||||||
|
@ -365,53 +388,55 @@
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/de.hhn.ai.prog2.blatt8.internationalisierung.iml">
|
<entry file="file://$PROJECT_DIR$/src/locale_de_DE.properties">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="75">
|
||||||
|
<caret line="5" column="18" selection-start-line="5" selection-start-column="18" selection-end-line="5" selection-end-column="18" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
<provider selected="true" editor-type-id="ResourceBundle" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/DatenhaltungTest.java">
|
<entry file="file://$PROJECT_DIR$/src/model/Kunde.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="60">
|
||||||
|
<caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/view/GUI.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="345">
|
<state relative-caret-position="345">
|
||||||
<caret line="23" column="61" selection-start-line="23" selection-start-column="61" selection-end-line="23" selection-end-column="61" />
|
<caret line="23" column="66" selection-start-line="23" selection-start-column="66" selection-end-line="23" selection-end-column="66" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="imports" expanded="true" />
|
<element signature="imports" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/Datenhaltung.java">
|
<entry file="file://$PROJECT_DIR$/src/services/App.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="105">
|
<state>
|
||||||
<caret line="13" column="37" selection-start-line="13" selection-start-column="37" selection-end-line="13" selection-end-column="37" />
|
<caret column="16" selection-start-column="16" selection-end-column="16" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/locale_en.properties">
|
<entry file="file://$PROJECT_DIR$/src/services/Datenhaltung.java">
|
||||||
<provider editor-type-id="ResourceBundle" />
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="120">
|
<state relative-caret-position="255">
|
||||||
<caret line="8" column="22" lean-forward="true" selection-start-line="8" selection-start-column="22" selection-end-line="8" selection-end-column="22" />
|
<caret line="17" column="43" selection-start-line="17" selection-start-column="43" selection-end-line="17" selection-end-column="43" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/locale_de_DE.properties">
|
<entry file="file://$PROJECT_DIR$/tests/services/DatenhaltungTest.java">
|
||||||
<provider selected="true" editor-type-id="ResourceBundle" />
|
|
||||||
<provider editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="75">
|
|
||||||
<caret line="5" column="18" selection-start-line="5" selection-start-column="18" selection-end-line="5" selection-end-column="18" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/App.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="105">
|
|
||||||
<caret line="7" column="1" selection-start-line="7" selection-start-column="1" selection-end-line="7" selection-end-column="1" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/GUI.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="540">
|
<state relative-caret-position="540">
|
||||||
<caret line="74" column="51" lean-forward="true" selection-start-line="74" selection-start-column="51" selection-end-line="74" selection-end-column="51" />
|
<caret line="36" column="69" selection-start-line="36" selection-start-column="69" selection-end-line="36" selection-end-column="69" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Theresa#May#1696-06-30
|
Theresa#May#1969-06-30
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package app;
|
package model;
|
||||||
|
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
package app;
|
package services;
|
||||||
|
|
||||||
|
import view.GUI;
|
||||||
|
|
||||||
public class App {
|
public class App {
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
|
@ -1,4 +1,6 @@
|
||||||
package app;
|
package services;
|
||||||
|
|
||||||
|
import model.Kunde;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.FileReader;
|
import java.io.FileReader;
|
|
@ -1,7 +1,9 @@
|
||||||
package app;
|
package view;
|
||||||
|
|
||||||
|
import services.Datenhaltung;
|
||||||
|
import model.Kunde;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.awt.event.*;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
|
@ -1,5 +1,6 @@
|
||||||
package app;
|
package services;
|
||||||
|
|
||||||
|
import model.Kunde;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -13,7 +14,7 @@ import static org.junit.jupiter.api.Assertions.*;
|
||||||
class DatenhaltungTest {
|
class DatenhaltungTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testeKundeLadenUndSpeichern() throws IOException {
|
void testeKundeLadenUndSpeichernDeutsch() throws IOException {
|
||||||
DateTimeFormatter germanFormatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)
|
DateTimeFormatter germanFormatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)
|
||||||
.withLocale(Locale.GERMAN);
|
.withLocale(Locale.GERMAN);
|
||||||
Kunde kunde1 = new Kunde("Angela", "Merkel", LocalDate.parse("05.07.1958", germanFormatter));
|
Kunde kunde1 = new Kunde("Angela", "Merkel", LocalDate.parse("05.07.1958", germanFormatter));
|
||||||
|
@ -22,6 +23,10 @@ class DatenhaltungTest {
|
||||||
assertEquals(kunde1.getFirstName(), kunde1comp.getFirstName());
|
assertEquals(kunde1.getFirstName(), kunde1comp.getFirstName());
|
||||||
assertEquals(kunde1.getName(), kunde1comp.getName());
|
assertEquals(kunde1.getName(), kunde1comp.getName());
|
||||||
assertEquals(kunde1.getBirthday(), kunde1comp.getBirthday());
|
assertEquals(kunde1.getBirthday(), kunde1comp.getBirthday());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testeKundeLadenUndSpeichernEnglisch() throws IOException {
|
||||||
DateTimeFormatter englishFormatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)
|
DateTimeFormatter englishFormatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)
|
||||||
.withLocale(Locale.ENGLISH);
|
.withLocale(Locale.ENGLISH);
|
||||||
Kunde kunde2 = new Kunde("Theresa", "May", LocalDate.parse("Jun 30, 1969", englishFormatter));
|
Kunde kunde2 = new Kunde("Theresa", "May", LocalDate.parse("Jun 30, 1969", englishFormatter));
|
|
@ -2,7 +2,9 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="439fd0aa-c5b3-481f-98bb-26b50b41ee99" name="Default Changelist" comment="">
|
<list default="true" id="439fd0aa-c5b3-481f-98bb-26b50b41ee99" name="Default Changelist" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt8.internationalisierung/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt8.internationalisierung/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt7.junit/tests/model/OrderTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt7.junit/tests/model/OrderTest.java" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt7.junit/tests/model/PizzaTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/../de.hhn.ai.prog2.blatt7.junit/tests/model/PizzaTest.java" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<ignored path="$PROJECT_DIR$/classes/" />
|
<ignored path="$PROJECT_DIR$/classes/" />
|
||||||
<ignored path="$PROJECT_DIR$/bin/" />
|
<ignored path="$PROJECT_DIR$/bin/" />
|
||||||
|
@ -17,16 +19,14 @@
|
||||||
<option name="delegatedBuild" value="true" />
|
<option name="delegatedBuild" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf>
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/PropertyManager.java">
|
<entry file="file://$PROJECT_DIR$/src/app/PropertyManager.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="540">
|
<state relative-caret-position="465">
|
||||||
<caret line="36" column="60" selection-start-line="36" selection-start-column="60" selection-end-line="36" selection-end-column="60" />
|
<caret line="36" column="60" selection-start-line="36" selection-start-column="60" selection-end-line="36" selection-end-column="60" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="imports" expanded="true" />
|
<element signature="imports" expanded="true" />
|
||||||
<element signature="e#701#702#0" expanded="true" />
|
|
||||||
<element signature="e#751#752#0" expanded="true" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
@ -35,12 +35,10 @@
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/PropertyManagerTest.java">
|
<entry file="file://$PROJECT_DIR$/src/app/PropertyManagerTest.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="645">
|
<state relative-caret-position="435">
|
||||||
<caret line="43" column="30" selection-start-line="43" selection-start-column="30" selection-end-line="43" selection-end-column="30" />
|
<caret line="31" column="5" selection-start-line="31" selection-start-column="5" selection-end-line="31" selection-end-column="5" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="imports" expanded="true" />
|
<element signature="imports" expanded="true" />
|
||||||
<element signature="e#577#578#0" expanded="true" />
|
|
||||||
<element signature="e#643#644#0" expanded="true" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
@ -120,6 +118,7 @@
|
||||||
<property name="Repository.Attach.Annotations" value="false" />
|
<property name="Repository.Attach.Annotations" value="false" />
|
||||||
<property name="Repository.Attach.JavaDocs" value="false" />
|
<property name="Repository.Attach.JavaDocs" value="false" />
|
||||||
<property name="Repository.Attach.Sources" value="false" />
|
<property name="Repository.Attach.Sources" value="false" />
|
||||||
|
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||||
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit5" />
|
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit5" />
|
||||||
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" />
|
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" />
|
||||||
<property name="create.test.in.the.same.root" value="true" />
|
<property name="create.test.in.the.same.root" value="true" />
|
||||||
|
@ -234,44 +233,37 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="1280" y="0" width="2560" height="1410" extended-state="6" />
|
<frame x="1280" y="0" width="2560" height="1410" extended-state="6" />
|
||||||
<editor active="true" />
|
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Image Layers" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25178713" />
|
||||||
<window_info id="Designer" />
|
|
||||||
<window_info id="UI Designer" />
|
|
||||||
<window_info id="Capture Tool" />
|
|
||||||
<window_info id="Favorites" side_tool="true" />
|
|
||||||
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24980143" />
|
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Version Control" />
|
<window_info id="Image Layers" order="2" />
|
||||||
<window_info anchor="bottom" id="Terminal" />
|
<window_info id="Designer" order="3" />
|
||||||
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
<window_info id="UI Designer" order="4" />
|
||||||
<window_info anchor="bottom" id="Messages" weight="0.32945737" />
|
<window_info id="Capture Tool" order="5" />
|
||||||
|
<window_info id="Favorites" order="6" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.32945737" />
|
<window_info anchor="bottom" id="Run" order="2" weight="0.32945737" />
|
||||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" />
|
||||||
<window_info anchor="right" id="Palette" />
|
<window_info anchor="bottom" id="Terminal" order="7" />
|
||||||
<window_info anchor="right" id="Theme Preview" />
|
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
||||||
<window_info anchor="right" id="Maven" />
|
<window_info anchor="bottom" id="Version Control" order="9" />
|
||||||
<window_info anchor="right" id="Capture Analysis" />
|
<window_info anchor="bottom" id="Messages" order="10" weight="0.32945737" />
|
||||||
<window_info anchor="right" id="Palette	" />
|
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
|
<window_info anchor="right" id="Palette" order="3" />
|
||||||
|
<window_info anchor="right" id="Maven" order="4" />
|
||||||
|
<window_info anchor="right" id="Theme Preview" order="5" />
|
||||||
|
<window_info anchor="right" id="Capture Analysis" order="6" />
|
||||||
|
<window_info anchor="right" id="Palette	" order="7" />
|
||||||
</layout>
|
</layout>
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/options.properties">
|
<entry file="file://$PROJECT_DIR$/src/app/options.properties" />
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="30">
|
|
||||||
<caret line="2" selection-start-line="2" selection-end-line="2" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/options.properties">
|
<entry file="file://$PROJECT_DIR$/options.properties">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="30">
|
<state relative-caret-position="30">
|
||||||
|
@ -286,33 +278,23 @@
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/App.java">
|
<entry file="file://$PROJECT_DIR$/src/app/App.java" />
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="105">
|
|
||||||
<caret line="7" column="47" selection-start-line="7" selection-start-column="47" selection-end-line="7" selection-end-column="47" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/PropertyManager.java">
|
<entry file="file://$PROJECT_DIR$/src/app/PropertyManager.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="540">
|
<state relative-caret-position="465">
|
||||||
<caret line="36" column="60" selection-start-line="36" selection-start-column="60" selection-end-line="36" selection-end-column="60" />
|
<caret line="36" column="60" selection-start-line="36" selection-start-column="60" selection-end-line="36" selection-end-column="60" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="imports" expanded="true" />
|
<element signature="imports" expanded="true" />
|
||||||
<element signature="e#701#702#0" expanded="true" />
|
|
||||||
<element signature="e#751#752#0" expanded="true" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/app/PropertyManagerTest.java">
|
<entry file="file://$PROJECT_DIR$/src/app/PropertyManagerTest.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="645">
|
<state relative-caret-position="435">
|
||||||
<caret line="43" column="30" selection-start-line="43" selection-start-column="30" selection-end-line="43" selection-end-column="30" />
|
<caret line="31" column="5" selection-start-line="31" selection-start-column="5" selection-end-line="31" selection-end-column="5" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="imports" expanded="true" />
|
<element signature="imports" expanded="true" />
|
||||||
<element signature="e#577#578#0" expanded="true" />
|
|
||||||
<element signature="e#643#644#0" expanded="true" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
Loading…
Reference in a new issue