Browse Source

Junit für Tage_D erzeugt

new_repo
Hauch IT 5 years ago
parent
commit
b17715de3f
  1. 2
      .idea/misc.xml
  2. 112
      .idea/workspace.xml
  3. BIN
      out/production/Alpha/D_Test2.class
  4. BIN
      out/production/Alpha/D_Test3.class
  5. BIN
      out/production/Alpha/Main$1.class
  6. BIN
      out/production/Alpha/Main$2.class
  7. BIN
      out/production/Alpha/Main$ActionListener1.class
  8. BIN
      out/production/Alpha/Main.class
  9. BIN
      out/production/Alpha/Tage_D$1.class
  10. BIN
      out/production/Alpha/Tage_D$2.class
  11. BIN
      out/production/Alpha/Tage_D$3.class
  12. BIN
      out/production/Alpha/Tage_D$DerHandler.class
  13. BIN
      out/production/Alpha/Tage_D.class
  14. 57
      src/MainGUI.form
  15. 2
      src/MainGUI.java
  16. 19
      src/Tage_DTest.java

2
.idea/misc.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
</project> </project>

112
.idea/workspace.xml

@ -2,8 +2,21 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="41dc023d-0769-466f-850a-8e3eed9fe5fa" name="Default Changelist" comment=""> <list default="true" id="41dc023d-0769-466f-850a-8e3eed9fe5fa" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<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$/src/Tage_D.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Tage_D.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/D_Test2.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/D_Test3.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Main$1.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Main$2.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Main$ActionListener1.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Main.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Tage_D$1.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Tage_D$2.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Tage_D$3.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Tage_D$DerHandler.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Alpha/Tage_D.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/MainGUI.form" beforeDir="false" afterPath="$PROJECT_DIR$/src/MainGUI.form" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/MainGUI.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/MainGUI.java" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/out/" /> <ignored path="$PROJECT_DIR$/out/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@ -17,18 +30,21 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/MainGUI.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/MainGUI.form">
<provider selected="true" editor-type-id="ui-designer" />
</entry>
</file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/Tage_D.java"> <entry file="file://$PROJECT_DIR$/src/Tage_D.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="391">
<caret line="54" column="44" lean-forward="true" selection-start-line="54" selection-start-column="44" selection-end-line="54" selection-end-column="44" />
<folding>
<element signature="e#2655#2656#0" expanded="true" />
<element signature="e#3183#3184#0" expanded="true" />
<element signature="e#3238#3239#0" expanded="true" />
<element signature="e#3364#3365#0" expanded="true" />
<element signature="e#3419#3420#0" expanded="true" />
</folding>
<state relative-caret-position="17">
<caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -65,6 +81,7 @@
<option value="$PROJECT_DIR$/src/geburtstag.java" /> <option value="$PROJECT_DIR$/src/geburtstag.java" />
<option value="$PROJECT_DIR$/src/Geburtstag.java" /> <option value="$PROJECT_DIR$/src/Geburtstag.java" />
<option value="$PROJECT_DIR$/src/Main.java" /> <option value="$PROJECT_DIR$/src/Main.java" />
<option value="$PROJECT_DIR$/src/MainGUI.form" />
<option value="$PROJECT_DIR$/src/Tage_D.java" /> <option value="$PROJECT_DIR$/src/Tage_D.java" />
</list> </list>
</option> </option>
@ -82,6 +99,7 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="PackagesPane" />
<pane id="Scope" /> <pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
@ -95,17 +113,25 @@
<item name="Alpha" type="462c0819:PsiDirectoryNode" /> <item name="Alpha" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="Alpha" type="b2602c69:ProjectViewProjectNode" />
<item name="Alpha" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="MainGUI" type="e9f4de52:FormNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="PackagesPane" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" /> <property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" /> <property name="aspect.path.notification.shown" value="true" />
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="Arquillian JUnit4" />
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.Arquillian JUnit4" value="" />
<property name="create.test.in.the.same.root" value="true" />
<property name="project.structure.last.edited" value="Project" /> <property name="project.structure.last.edited" value="Project" />
<property name="project.structure.proportion" value="0.15" /> <property name="project.structure.proportion" value="0.15" />
<property name="project.structure.side.proportion" value="0.0" /> <property name="project.structure.side.proportion" value="0.0" />
@ -186,6 +212,9 @@
<workItem from="1562347057096" duration="199000" /> <workItem from="1562347057096" duration="199000" />
<workItem from="1562379817416" duration="627000" /> <workItem from="1562379817416" duration="627000" />
<workItem from="1562534024971" duration="213000" /> <workItem from="1562534024971" duration="213000" />
<workItem from="1562718828390" duration="103000" />
<workItem from="1562781684319" duration="923000" />
<workItem from="1562789348995" duration="2380000" />
</task> </task>
<task id="LOCAL-00001" summary="neue master"> <task id="LOCAL-00001" summary="neue master">
<created>1562341097724</created> <created>1562341097724</created>
@ -271,17 +300,30 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1562537854358</updated> <updated>1562537854358</updated>
</task> </task>
<option name="localTasksCounter" value="13" />
<task id="LOCAL-00013" summary="neue GUI erstellt zum testen">
<created>1562717415095</created>
<option name="number" value="00013" />
<option name="presentableId" value="LOCAL-00013" />
<option name="project" value="LOCAL" />
<updated>1562717415095</updated>
</task>
<task id="LOCAL-00014" summary="neue GUI erstellt zum testen">
<created>1562717535565</created>
<option name="number" value="00014" />
<option name="presentableId" value="LOCAL-00014" />
<option name="project" value="LOCAL" />
<updated>1562717535565</updated>
</task>
<option name="localTasksCounter" value="15" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="12420000" />
<option name="totallyTimeSpent" value="15852000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1066" extended-state="6" /> <frame x="-8" y="-8" width="1936" height="1066" extended-state="6" />
<editor active="true" />
<layout> <layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.07942431" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.0826226" />
<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 id="Image Layers" order="2" /> <window_info id="Image Layers" order="2" />
<window_info id="Designer" order="3" /> <window_info id="Designer" order="3" />
@ -291,7 +333,7 @@
<window_info anchor="bottom" id="Messages" order="0" weight="0.3290461" /> <window_info anchor="bottom" id="Messages" order="0" weight="0.3290461" />
<window_info anchor="bottom" id="Message" order="1" /> <window_info anchor="bottom" id="Message" order="1" />
<window_info anchor="bottom" id="Find" order="2" /> <window_info anchor="bottom" id="Find" order="2" />
<window_info active="true" anchor="bottom" id="Run" order="3" visible="true" weight="0.33118972" />
<window_info anchor="bottom" id="Run" order="3" weight="0.33118972" />
<window_info anchor="bottom" id="Debug" order="4" weight="0.39978564" /> <window_info anchor="bottom" id="Debug" order="4" weight="0.39978564" />
<window_info anchor="bottom" id="Cvs" order="5" weight="0.25" /> <window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="6" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
@ -322,7 +364,8 @@
<MESSAGE value="junit klassen erst mal entfernen" /> <MESSAGE value="junit klassen erst mal entfernen" />
<MESSAGE value="Fenster wird um Auswahl Fenster erweitert" /> <MESSAGE value="Fenster wird um Auswahl Fenster erweitert" />
<MESSAGE value="neue Tage Script" /> <MESSAGE value="neue Tage Script" />
<option name="LAST_COMMIT_MESSAGE" value="neue Tage Script" />
<MESSAGE value="neue GUI erstellt zum testen" />
<option name="LAST_COMMIT_MESSAGE" value="neue GUI erstellt zum testen" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/testJFrame.java" /> <entry file="file://$PROJECT_DIR$/src/testJFrame.java" />
@ -337,15 +380,7 @@
<entry file="file://$PROJECT_DIR$/.idea/workspace.xml"> <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor" />
</entry> </entry>
<entry file="file://$PROJECT_DIR$/out/production/Alpha/Main.class">
<provider selected="true" editor-type-id="text-editor">
<state>
<folding>
<element signature="e#0#1466#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/out/production/Alpha/Main.class" />
<entry file="file://$PROJECT_DIR$/src/D_Test1.java" /> <entry file="file://$PROJECT_DIR$/src/D_Test1.java" />
<entry file="file://$PROJECT_DIR$/Info Datei Nur für Alpha"> <entry file="file://$PROJECT_DIR$/Info Datei Nur für Alpha">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -362,13 +397,7 @@
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/D_Geburtstag.java" /> <entry file="file://$PROJECT_DIR$/src/D_Geburtstag.java" />
<entry file="file://$PROJECT_DIR$/src/Quiz_E.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="357">
<caret line="37" selection-start-line="37" selection-end-line="38" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/Quiz_E.java" />
<entry file="file://$PROJECT_DIR$/src/Main.java"> <entry file="file://$PROJECT_DIR$/src/Main.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="473"> <state relative-caret-position="473">
@ -382,17 +411,16 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/MainGUI.java">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/MainGUI.form">
<provider selected="true" editor-type-id="ui-designer" />
</entry>
<entry file="file://$PROJECT_DIR$/src/Tage_D.java"> <entry file="file://$PROJECT_DIR$/src/Tage_D.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="391">
<caret line="54" column="44" lean-forward="true" selection-start-line="54" selection-start-column="44" selection-end-line="54" selection-end-column="44" />
<folding>
<element signature="e#2655#2656#0" expanded="true" />
<element signature="e#3183#3184#0" expanded="true" />
<element signature="e#3238#3239#0" expanded="true" />
<element signature="e#3364#3365#0" expanded="true" />
<element signature="e#3419#3420#0" expanded="true" />
</folding>
<state relative-caret-position="17">
<caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
</state> </state>
</provider> </provider>
</entry> </entry>

BIN
out/production/Alpha/D_Test2.class

BIN
out/production/Alpha/D_Test3.class

BIN
out/production/Alpha/Main$1.class

BIN
out/production/Alpha/Main$2.class

BIN
out/production/Alpha/Main$ActionListener1.class

BIN
out/production/Alpha/Main.class

BIN
out/production/Alpha/Tage_D$1.class

BIN
out/production/Alpha/Tage_D$2.class

BIN
out/production/Alpha/Tage_D$3.class

BIN
out/production/Alpha/Tage_D$DerHandler.class

BIN
out/production/Alpha/Tage_D.class

57
src/MainGUI.form

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="MainGUI"> <form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="MainGUI">
<grid id="27dc6" binding="panel1" default-binding="true" layout-manager="GridLayoutManager" row-count="3" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<grid id="27dc6" binding="panel1" default-binding="true" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/> <margin top="0" left="0" bottom="0" right="0"/>
<constraints> <constraints>
<xy x="20" y="20" width="618" height="613"/> <xy x="20" y="20" width="618" height="613"/>
@ -8,60 +8,21 @@
<properties/> <properties/>
<border type="none"/> <border type="none"/>
<children> <children>
<component id="2f404" class="javax.swing.JCheckBox" binding="checkBox1" default-binding="true">
<toolbar id="57dfb">
<constraints> <constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="CheckBox"/>
</properties>
</component>
<grid id="b6641" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
<children>
<scrollpane id="65fa6">
<constraints>
<grid row="0" column="1" row-span="4" col-span="1" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
<children/>
</scrollpane>
<hspacer id="1d930">
<constraints>
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
</hspacer>
<component id="5d52c" class="javax.swing.JTextField" binding="textField1" default-binding="true">
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties/>
</component>
</children>
</grid>
<toolbar id="ce06">
<constraints>
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false">
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="-1" height="20"/> <preferred-size width="-1" height="20"/>
</grid> </grid>
</constraints> </constraints>
<properties/> <properties/>
<border type="none"/> <border type="none"/>
<children>
<component id="74b0e" class="javax.swing.JToolBar$Separator">
<constraints/>
<properties/>
</component>
</children>
<children/>
</toolbar> </toolbar>
<vspacer id="e597a">
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
</constraints>
</vspacer>
</children> </children>
</grid> </grid>
</form> </form>

2
src/MainGUI.java

@ -1,7 +1,5 @@
import javax.swing.*; import javax.swing.*;
public class MainGUI { public class MainGUI {
private JTextField textField1;
private JPanel panel1; private JPanel panel1;
private JCheckBox checkBox1;
} }

19
src/Tage_DTest.java

@ -0,0 +1,19 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
@RunWith(Arquillian.class)
public class Tage_DTest {
@Deployment
public static JavaArchive createDeployment() {
return ShrinkWrap.create(JavaArchive.class)
.addClass(Tage_D.class)
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
}
}
Loading…
Cancel
Save