Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #383 (new)

Opened 13 years ago

Last modified 5 years ago

Remove all System.out|err references

Reported by: jamoore Owned by: jamoore
Priority: trivial Milestone: Unscheduled
Component: General Version: 3.0-M3
Keywords: cleanup Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Tests currently output a lot of garbage. See:

./components/common/test/ome/model/utests/PermissionsTest.java:         System.out.println(l+":"+Long.toBinaryString(l));
./components/common/test/ome/model/utests/PermissionsTest.java:         System.out.println(bit+":"+Long.toBinaryString(bit));
./components/dsl/test/ome/dsl/utests/AntTasksTest.java:                logger.setErrorPrintStream(System.err);
./components/dsl/test/ome/dsl/utests/AntTasksTest.java:                logger.setOutputPrintStream(System.out);
./components/dsl/src/ome/dsl/SaxReader.java:            System.out.print(depth+element);
./components/dsl/src/ome/dsl/SaxReader.java:            System.out.print("(");
./components/dsl/src/ome/dsl/SaxReader.java:                    System.out.print(" "+attr+"=\""+value+"\" ");
./components/dsl/src/ome/dsl/SaxReader.java:            System.out.print("):");
./components/dsl/src/ome/dsl/SaxReader.java:            System.out.println("");
./components/client/test/ome/adapters/pojos/utests/PojosTest.java:        System.out.println( pd );
./components/client/test/ome/adapters/pojos/utests/PojosTest.java:        System.out.println( p_links );
./components/client/test/ome/adapters/pojos/utests/PojosTest.java:        System.out.println( d_links );
./components/client/test/ome/adapters/pojos/utests/PojosTest.java:        System.out.println( d2_links );
./components/client/test/ome/adapters/pojos/utests/PojosTest.java:        System.out.println( i2_links );
./components/client/test/ome/adapters/pojos/itests/PojosServiceTest.java:        System.out.println( original.getDetails().getCounts());
./components/client/test/ome/adapters/pojos/itests/PojosServiceTest.java:        System.out.println( orig_ids );
./components/client/test/ome/adapters/pojos/itests/PojosServiceTest.java:        System.out.println( updt_ids );
./components/ice/test/mono/Client.java:            System.out.println(r5);
./components/ice/test/mono/Client.java:            System.err.println(e.getMessage());
./components/ice/test/mono/Client.java:                System.err.println(e.getMessage());
./components/ice/test/mono/Server.java:            System.err.println(e.getMessage());
./components/ice/test/mono/Server.java:                System.err.println(e.getMessage());
./components/server/src/ome/dynamic/CodeGeneration.java:                        out.println("System.out.println(\""+classname+"\");");
./components/server/src/ome/dynamic/BuildRunner.java://                                 System.out.println("xxxxxxxxxxxxxxxxxxxxxxxAlready loaded "+name+" in urls.");
./components/server/src/ome/dynamic/BuildRunner.java://                                 System.out.println("xxxxxxxxxxxxxxxxxxxxxxxFound "+name+" in urls.");
./components/server/src/ome/dynamic/BuildRunner.java://                                 System.out.println("xxxxxxxxxxxxxxxxxxxxxxxDefault "+name+" used.");
./components/server/src/ome/dynamic/BuildRunner.java:           consoleLogger.setErrorPrintStream(System.err);
./components/server/src/ome/dynamic/BuildRunner.java:           consoleLogger.setOutputPrintStream(System.out);
./components/server/src/ome/rules/drools/AllObjects.java:               System.out.println("here i am"+obj);//TODO walk the graph!
./components/server/test/ome/server/itests/query/pojos/QueryTest.java:        System.out.println(result);
./components/server/test/ome/server/itests/query/pojos/QueryTest.java:        System.out.println(rdf.getRdf());
./components/server/test/ome/server/itests/JmsTest.java.disabled:       System.out.println(txt.getText());
./components/server/test/ome/server/itests/JmsTest.java.disabled:       System.out.println(txt.getText());
./components/server/test/ome/server/itests/JmsTest.java.disabled:               System.out.println(this.hashCode()+" says Hello " + name + " in message "+msg.getJMSCorrelationID());
./components/server/test/ome/server/itests/ModelTest.java.disabled://            System.out.println(doc);
./components/server/test/ome/server/itests/EventStateChangeTest.java:        System.out.println("XXXXXXXXXXXXXXXEventStateChangeTest.test_just_experimenter()");
./components/server/test/ome/server/dbtests/CGCPathsDbUnitTest.java:        consoleLogger.setErrorPrintStream(System.err);
./components/server/test/ome/server/dbtests/CGCPathsDbUnitTest.java:        consoleLogger.setOutputPrintStream(System.out);
./components/server/target/test-classes/ome/server/itests/ModelTest.java.disabled://            System.out.println(doc);
./components/server/target/test-classes/ome/server/itests/JmsTest.java.disabled:        System.out.println(txt.getText());
./components/server/target/test-classes/ome/server/itests/JmsTest.java.disabled:        System.out.println(txt.getText());
./components/server/target/test-classes/ome/server/itests/JmsTest.java.disabled:                System.out.println(this.hashCode()+" says Hello " + name + " in message "+msg.getJMSCorrelationID());./components/server/meta/ome/Ant.java:          System.out.println(loader);
./components/server/meta/ome/Ant.java:          consoleLogger.setErrorPrintStream(System.err);
./components/server/meta/ome/Ant.java:          consoleLogger.setOutputPrintStream(System.out);
./components/server/meta/ome/ModelUtilsTexenTask.java:          System.out.println("***************************************");
./components/server/meta/ome/ModelUtilsTexenTask.java:          System.out.println(writer);
./components/rendering/src/omeis/providers/re/GreyScaleStrategy.java:           System.err.println("Render wave.");
./components/rendering/src/omeis/providers/re/quantum/Quantization_8_16_bit.java:        System.out.println("min: "+min+" max: "+max);
./components/resurrect/src/ome/resurrect/transform/ImageTrans.java:                System.err.println("WARNING: Not linking classification: "
./components/resurrect/src/ome/resurrect/ConnectionPage.java:        //System.err.println(name + " is empty.");
./components/resurrect/src/ome/resurrect/ImportPopup.java:                              System.err.println("Processing: " + theZ + "x" + theC + "x" + theT);

Change History (2)

comment:1 Changed 13 years ago by jmoore

  • Milestone changed from 3.0-Beta2 to 3.0-RC1

comment:2 Changed 5 years ago by jburel

Probably something to consider as part of the 5.1.x cleanup?

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.93740 sec.)

We're Hiring!