Compare commits
20
Commits
dev
...
b049a50fb1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b049a50fb1 | ||
|
|
86606a868e | ||
|
|
9911b91a30 | ||
|
|
becdc0e088 | ||
|
|
1b02d17585 | ||
|
|
2f1561939b | ||
|
|
9a7642a516 | ||
|
|
18137f3430 | ||
|
|
eaaa2ee6dc | ||
|
|
7f2aabf19d | ||
|
|
4a1a66eeec | ||
|
|
3b1643850c | ||
|
|
d4398ff5e9 | ||
|
|
2e5f1ae832 | ||
|
|
334c45e723 | ||
|
|
ab44bea76a | ||
|
|
f112e10987 | ||
|
|
ac0a6afa22 | ||
|
|
5d4e53dd27 | ||
|
|
acaf56c88c |
@@ -61,6 +61,7 @@ fabric.properties
|
||||
|
||||
# Package Files #
|
||||
*.jar
|
||||
!jar/*.jar
|
||||
*.war
|
||||
*.ear
|
||||
*.zip
|
||||
|
||||
Generated
+12
@@ -0,0 +1,12 @@
|
||||
<?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" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="jars" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
Generated
+9
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="true" project-jdk-name="10" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/../gitchareswe" />
|
||||
</component>
|
||||
</project>
|
||||
Generated
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/ChareSWE.iml" filepath="$PROJECT_DIR$/.idea/ChareSWE.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@@ -29,3 +29,4 @@ Pia Korndörfer, Danial Eshete, Jana Gumbert, Amadou-Bah Aarif
|
||||
* **Homer Simpson** - *Qualitätssicherung* - [Profil](https://de.wikipedia.org/wiki/Homer_Simpson)
|
||||
* ...
|
||||
|
||||
¥≤
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
public class Credentials {
|
||||
public static void main{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
public class TestEshete {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package PACKAGE_NAME;
|
||||
|
||||
public class TestGumbert {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import org.junit.Test;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
public class TestKorndoerfer {
|
||||
@Test
|
||||
public void testMulitply(){
|
||||
int i =2;
|
||||
int result =i*2;
|
||||
assertEquals(4, result);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package PACKAGE_NAME;
|
||||
|
||||
public class TestKorndoerferPi {
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
import org.junit.Test;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class Testamadoubahaa {
|
||||
|
||||
@Test
|
||||
public void testTrue(){
|
||||
assertTrue(1==1);
|
||||
assertEquals(4, 2*2);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMultiply(){
|
||||
|
||||
// Arrange
|
||||
int i = 2;
|
||||
|
||||
// Act
|
||||
int result = i * 2;
|
||||
|
||||
// Assert
|
||||
assertEquals(4, result);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
public void testOne(){
|
||||
|
||||
//
|
||||
int j = 23 ;
|
||||
int a = 38;
|
||||
|
||||
// Act
|
||||
int res = j + a;
|
||||
|
||||
// Assert
|
||||
|
||||
assertEquals(100, res);
|
||||
|
||||
|
||||
//
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package assets;
|
||||
|
||||
import java.io.*;
|
||||
import java.math.BigInteger;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Helpers {
|
||||
|
||||
// Lesen einer Textdatei in ein Stringarray
|
||||
public static String[] readTextdatei(String name) {
|
||||
String line;
|
||||
ArrayList<String> result = new ArrayList<String>();
|
||||
try {
|
||||
FileReader fr = new FileReader(name);
|
||||
BufferedReader br = new BufferedReader(fr);
|
||||
while ((line = br.readLine()) != null)
|
||||
result.add(line);
|
||||
br.close();
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return result.toArray(new String[]{});
|
||||
}
|
||||
|
||||
// Schreiben eines Stringarray in eine Textdatei
|
||||
public static void writeTextdatei(String name, String[] lines) {
|
||||
try {
|
||||
FileWriter fw = new FileWriter(name);
|
||||
BufferedWriter bw = new BufferedWriter(fw);
|
||||
PrintWriter pw = new PrintWriter(bw);
|
||||
for (int i = 0; i < lines.length; i++)
|
||||
pw.println(lines[i]);
|
||||
pw.close();
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
// Berechnen des Hashwerts zu einem String und
|
||||
// Rückgabe als Hex-Zeichenkette
|
||||
public static String getHash(String w) {
|
||||
try {
|
||||
byte[] bytesOfMessage = w.getBytes("UTF-8");
|
||||
MessageDigest md = MessageDigest.getInstance("MD5");
|
||||
byte[] thedigest = md.digest(bytesOfMessage);
|
||||
return String.format("%032x", new BigInteger(1, thedigest));
|
||||
} catch (UnsupportedEncodingException | NoSuchAlgorithmException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
hofmannol
|
||||
2df372ddeafdf65908ddda48799d6f21
|
||||
wimmerma
|
||||
eb9b41a390c3a252aff0454e8df16f75
|
||||
Reference in New Issue
Block a user