This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RealMatrix pInverse = new LUDecompositionImpl(m).getSolver().getInverse(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mit dem Matcher können komplexere Vergleiche mit "assertThat" getestet werden, hier ein einfaches Beispiel, | |
welches testet, dass zwei Daten am gleichen Tag sind. | |
import org.hamcrest.BaseMatcher; | |
import org.hamcrest.Description; | |
import org.hamcrest.Matcher; | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ch.schumm.h2; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSArray * accusativPluralFeminin = [NSArray arrayWithObjects:@"Ianuarias", @"Februarias", @"Martias", | |
@"Apriles", @"Maias", @"Iunias", @"Iulias", @"Augustas", @"Septembres", @"Octobres", @"Novembres", @"Decembres", nil]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<bestellung> | |
<vollerName>Hans Muster</vollerName> | |
<strasseNr>Muster. 31</strasseNr> | |
<plzOrt>8406 Winterthur-Töss</plzOrt> | |
<telephon>052 222 2222</telephon> | |
<email>[email protected]</email> | |
<bemerkung>Diese Bestellung kommt von XML.</bemerkung> | |
<bilder> | |
<bild> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ch.schumm.fakeservice.model; | |
import java.io.Serializable; | |
public class Adresse implements Serializable { | |
/** | |
* | |
*/ | |
private static final long serialVersionUID = 1L; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ch.schumm.fakeservice.bean; | |
import ch.schumm.fake.FakeUnmarshaller; | |
import ch.schumm.fakeservice.model.Kunde; | |
import ch.schumm.fakeservice.model.Suchkriterium; | |
/** | |
* Ein Fake-Bean, das den FakeUnmarshaller benutzt. | |
* @author C709360 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created on 26.05.2003 | |
* | |
* To change the template for this generated file go to | |
* Window>Preferences>Java>Code Generation>Code and Comments | |
* $Id: DataDomBuilder.java,v 1.21 2004/02/05 09:27:55 rschumm Exp $ | |
*/ | |
package ch.zhwin.jdbc2xml; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select ch.schumm.KundeStadt( | |
k.wohnort.plz, k.wohnort.ort, count(k)) | |
from kunde k | |
group by k.wohnort.plz, k.wohnort.ort |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Rule | |
public ExpectedException thrown = ExpectedException.none(); | |
//Test, der eine Exception mit der Massage "bla" erwartet. | |
@Test | |
public void testNothingFoundServer() throws Exception { | |
thrown.expectMessage("bla"); | |
thrown.expect(FakeUnmarshallNothingFoundException.class); | |
codeDerKnallt(); |
OlderNewer