[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7061] Changed tests to make them 'quieter'
From: |
Petur Thorsteinsson |
Subject: |
[Fmsystem-commits] [7061] Changed tests to make them 'quieter' |
Date: |
Tue, 01 Mar 2011 21:30:36 +0000 |
Revision: 7061
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7061
Author: peturbjorn
Date: 2011-03-01 21:30:34 +0000 (Tue, 01 Mar 2011)
Log Message:
-----------
Changed tests to make them 'quieter'
Modified Paths:
--------------
thirdparty/BIM_converter/trunk/src/main/java/no/bimconverter/ifc/IfcSdaiRepresentationImpl.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcSdaiRepresentationImplTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcTestMethods.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingStoreyTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ProjectTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SiteTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SpaceTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ZoneTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/CoveringTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/DoorTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/FurnishingTest.java
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/WindowTest.java
Modified:
thirdparty/BIM_converter/trunk/src/main/java/no/bimconverter/ifc/IfcSdaiRepresentationImpl.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/main/java/no/bimconverter/ifc/IfcSdaiRepresentationImpl.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/main/java/no/bimconverter/ifc/IfcSdaiRepresentationImpl.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -27,6 +27,7 @@
//logger.debug("Opening following properties file:{}",
Thread.currentThread().getContextClassLoader().getResource(propertiesFileNameArg).toString());
//inStream =
Thread.currentThread().getContextClassLoader().getResourceAsStream(propertiesFileNameArg);
inStream = getClass().getResourceAsStream( "/"
+propertiesFileNameArg );
+
//System.out.println(getClass().getResource("/").toString());
//getClass().get
if(inStream == null) {
logger.error("Properties file not found!!");
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcSdaiRepresentationImplTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcSdaiRepresentationImplTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcSdaiRepresentationImplTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -29,15 +29,24 @@
assertTrue(isr != null);
}
@SuppressWarnings("unused")
- @Test(expected=IfcSdaiException.class)
+ @Test //(expected=IfcSdaiException.class)
public void testFailIfNoFile() {
- IfcSdaiRepresentation isr = new
IfcSdaiRepresentationImpl("bogus");
+ try {
+ IfcSdaiRepresentation isr = new
IfcSdaiRepresentationImpl("bogus");
+ } catch ( IfcSdaiException e) {
+ assertTrue("Caught the correct exception", true);
+ }
}
@SuppressWarnings("unused")
- @Test(expected=IfcSdaiException.class)
+ @Test //(expected=IfcSdaiException.class)
public void testFailIfSessionOpen() throws SdaiException {
SdaiSession.openSession();
- IfcSdaiRepresentation isr = new IfcSdaiRepresentationImpl();
+ try {
+ IfcSdaiRepresentation isr = new
IfcSdaiRepresentationImpl();
+ }catch ( IfcSdaiException e) {
+ assertTrue("Caught the correct exception", true);
+ }
+
}
}
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcTestMethods.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcTestMethods.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/IfcTestMethods.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -3,7 +3,12 @@
import java.io.IOException;
import java.io.InputStream;
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Marshaller;
+
import no.bimconverter.ifc.v2x3.IfcModelImpl;
+import no.bimconverter.ifc.v2x3.object.CommonObjectDefinition;
public class IfcTestMethods {
protected String testingRepository = "FMHandoverRepository";
@@ -30,4 +35,20 @@
e.printStackTrace();
}
}
+ /*
+ * TODO: chech if the class argument has an @XmlRootElement annotation
+ */
+ protected void outputXmlToSystemOut(Object jaxbObject) {
+
+ JAXBContext jc;
+ try {
+ jc = JAXBContext.newInstance(jaxbObject.getClass());
+ Marshaller m = jc.createMarshaller();
+ m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
+ m.marshal( jaxbObject, System.out );
+ } catch (JAXBException e) {
+ e.printStackTrace();
+ }
+
+ }
}
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingStoreyTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingStoreyTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingStoreyTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -55,34 +55,20 @@
}
@Test
- @Ignore
public void testFirstStorey() throws JAXBException {
//this.testFirstStoreyAttributes();
- JAXBContext jc = JAXBContext.newInstance(BuildingStorey.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( buildingStorey1, System.out );
+ //super.outputXmlToSystemOut(buildingStorey1);
}
@Test
- @Ignore
public void testSecondStorey() throws JAXBException {
- //this.testFirstStoreyAttributes();
- JAXBContext jc = JAXBContext.newInstance(BuildingStorey.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( buildingStorey2, System.out );
+ //super.outputXmlToSystemOut(buildingStorey2);
}
@Test
- @Ignore
public void testThirdStorey() throws JAXBException {
- //this.testFirstStoreyAttributes();
- JAXBContext jc = JAXBContext.newInstance(BuildingStorey.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( buildingStorey3, System.out );
+ //super.outputXmlToSystemOut(buildingStorey1);
}
@Test
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/BuildingTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -27,6 +27,7 @@
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
public class BuildingTest extends IfcTestMethods{
@@ -51,13 +52,7 @@
@Test
public void testCreateAndIntializeBuildingObject() throws JAXBException
{
Building building = buildingsList.get(0);
-
- JAXBContext jc = JAXBContext.newInstance(Building.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( building, System.out );
-
-
+ //super.outputXmlToSystemOut(building);
assertNotNull(buildingsList);
}
@Test
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ProjectTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ProjectTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ProjectTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -24,6 +24,7 @@
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
public class ProjectTest extends IfcTestMethods{
@@ -45,11 +46,8 @@
@Test
public void testProjectObject() throws JAXBException {
+ //super.outputXmlToSystemOut(project);
- JAXBContext jc = JAXBContext.newInstance(Project.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( project, System.out );
assertNotNull(project);
}
@@ -58,10 +56,7 @@
OwnerHistory ownerHistory = project.getOwnerHistory();
PersonAndOrganization owningUser = ownerHistory.getOwningUser();
Person thePerson = owningUser.getPerson();
- JAXBContext jc = JAXBContext.newInstance(OwnerHistory.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( ownerHistory, System.out );
+ //super.outputXmlToSystemOut(ownerHistory);
assertNotNull(ownerHistory);
}
@Test
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SiteTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SiteTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SiteTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -33,6 +33,7 @@
import org.junit.After;
import static org.junit.Assert.*;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
public class SiteTest extends IfcTestMethods{
@@ -55,7 +56,9 @@
}
@Test
public void outputNewModel() throws SdaiException {
- model.createNewMiniModel();
+ // Following line outputs IFC representation
+ //model.createNewMiniModel();
+
/*
SdaiSession session2 = SdaiSession.openSession();
SdaiTransaction transaction =
session2.startTransactionReadWriteAccess();
@@ -77,15 +80,7 @@
}
@Test
public void testCreateAndIntializeSiteObject() throws JAXBException {
-
-
-
- JAXBContext jc = JAXBContext.newInstance(Site.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( site, System.out );
-
-
+ //super.outputXmlToSystemOut(site);
assertNotNull(site);
}
@Test
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SpaceTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SpaceTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/SpaceTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -24,11 +24,9 @@
import no.bimconverter.ifc.jaxb.Decomposition;
import no.bimconverter.ifc.jaxb.PropertyList;
import no.bimconverter.ifc.jaxb.SpaceSpatialContainer;
-import no.bimconverter.ifc.v2x3.IfcModelImpl;
import org.junit.After;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
/*
@@ -76,12 +74,8 @@
assertEquals(this.baseQuantitiesTestData,this.baseQuantitiesCurrentData);
}
@Test
-
public void testSpace1() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space1, System.out );
+ //super.outputXmlToSystemOut(space1);
}
@Test
public void testSpace1Attributes(){
@@ -198,12 +192,8 @@
assertEquals(referenceItemn, item1);
}
@Test
- @Ignore
public void testSpace2() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space2, System.out );
+ //super.outputXmlToSystemOut(space3);
}
@Test
public void testSpace2Attributes(){
@@ -308,12 +298,8 @@
}
@Test
- @Ignore
public void testSpace3() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space3, System.out );
+ //super.outputXmlToSystemOut(space3);
}
@Test
public void testSpace3Attributes(){
@@ -406,12 +392,8 @@
assertEquals(null, boundary);
}
@Test
- @Ignore
public void testSpace4() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space4, System.out );
+ //super.outputXmlToSystemOut(space4);
}
@Test
public void testSpace4Attributes(){
@@ -505,12 +487,8 @@
assertEquals(null, boundary);
}
@Test
- @Ignore
public void testSpace5() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space5, System.out );
+ //super.outputXmlToSystemOut(space5);
}
@Test
public void testSpace5Attributes(){
@@ -597,12 +575,8 @@
assertEquals(null, boundary);
}
@Test
- @Ignore
public void testSpace6() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space6, System.out );
+ //super.outputXmlToSystemOut(space6);
}
@Test
public void testSpace6Attributes(){
@@ -721,12 +695,8 @@
assertEquals(referenceItem2, item2);
}
@Test
- @Ignore
public void testSpace7() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space7, System.out );
+ //super.outputXmlToSystemOut(space7);
}
@Test
public void testSpace7Attributes(){
@@ -838,12 +808,8 @@
assertEquals(null, boundary);
}
@Test
- @Ignore
public void testSpace8() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Space.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( space8, System.out );
+ //super.outputXmlToSystemOut(space8);
}
@Test
public void testSpace8Attributes(){
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ZoneTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ZoneTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/ZoneTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -11,7 +11,9 @@
import no.bimconverter.ifc.IfcTestMethods;
import no.bimconverter.ifc.v2x3.object.Zone;
import org.junit.After;
+import org.junit.Assert;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
public class ZoneTest extends IfcTestMethods{
@@ -32,10 +34,8 @@
@Test
public void testZone1() throws JAXBException {
- JAXBContext jc = JAXBContext.newInstance(Zone.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal( zone1, System.out );
+ //super.outputXmlToSystemOut(zone1);
+ Assert.assertNotNull(zone1);
}
}
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/CoveringTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/CoveringTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/CoveringTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -63,13 +63,9 @@
assertNotNull(coverings);
}
@Test
- @Ignore
public void testDisplayCovering1() throws JAXBException {
assertNotNull(covering1);
- JAXBContext jc = JAXBContext.newInstance(Covering.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(covering1, System.out );
+ //super.outputXmlToSystemOut(covering1);
}
@Test
public void testCovering1Attributes() {
@@ -149,13 +145,9 @@
assertEquals("0h$ksovXH3Jeg02dH7s8af",
spatialDecompostion.getSpaces().get(0));
}
@Test
- @Ignore
public void testDisplayCovering2() throws JAXBException {
assertNotNull(covering2);
- JAXBContext jc = JAXBContext.newInstance(Covering.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(covering2, System.out );
+ //super.outputXmlToSystemOut(covering2);
}
@Test
public void testCovering2Attributes() {
@@ -238,13 +230,9 @@
assertEquals("0h$ksovXH3Jeg0w$H7s8af",
spatialDecompostion.getSpaces().get(0));
}
@Test
- @Ignore
public void testDisplayCovering3() throws JAXBException {
assertNotNull(covering3);
- JAXBContext jc = JAXBContext.newInstance(Covering.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(covering3, System.out );
+ //super.outputXmlToSystemOut(covering3);
}
@Test
public void testCovering3Attributes() {
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/DoorTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/DoorTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/DoorTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -94,10 +94,7 @@
public void testDisplayDoor(Door theDoor) throws JAXBException {
assertNotNull(theDoor);
- JAXBContext jc = JAXBContext.newInstance(Door.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(theDoor, System.out );
+ //super.outputXmlToSystemOut(theDoor);
}
@Test
public void testDisplayDoor1() throws JAXBException {
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/FurnishingTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/FurnishingTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/FurnishingTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -74,10 +74,7 @@
public void testDisplayFurnishing(Furnishing theFurnishing) throws
JAXBException {
assertNotNull(theFurnishing);
- JAXBContext jc = JAXBContext.newInstance(Furnishing.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(theFurnishing, System.out );
+ //super.outputXmlToSystemOut(theFurnishing);
}
@Test
public void testDisplayFurnishings() throws JAXBException {
Modified:
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/WindowTest.java
===================================================================
---
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/WindowTest.java
2011-03-01 19:20:27 UTC (rev 7060)
+++
thirdparty/BIM_converter/trunk/src/test/java/no/bimconverter/ifc/v2x3/object/element/WindowTest.java
2011-03-01 21:30:34 UTC (rev 7061)
@@ -82,26 +82,17 @@
@Test
public void testDisplayWindow1() throws JAXBException {
assertNotNull(window1);
- JAXBContext jc = JAXBContext.newInstance(Window.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(window1, System.out );
+ //super.outputXmlToSystemOut(window1)
}
@Test
public void testDisplayWindow2() throws JAXBException {
assertNotNull(window1);
- JAXBContext jc = JAXBContext.newInstance(Window.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(window2, System.out );
+ //super.outputXmlToSystemOut(window2)
}
@Test
public void testDisplayWindow3() throws JAXBException {
assertNotNull(window1);
- JAXBContext jc = JAXBContext.newInstance(Window.class);
- Marshaller m = jc.createMarshaller();
- m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
- m.marshal(window3, System.out );
+ //super.outputXmlToSystemOut(window3)
}
@Test
public void testWindow1Attributes() {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7061] Changed tests to make them 'quieter',
Petur Thorsteinsson <=