Skip to content

Commit 5bfcd71

Browse files
Remove print statements unit tests (#590)
* Fix java.lang.Boolean issues for ActiveDirectoryAuthenticator * remove prints
1 parent 5b2d4ef commit 5bfcd71

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

core/src/test/java/oracle/weblogic/deploy/util/PyOrderedDictTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public void testIteritems() throws Exception {
8383
while (pyIterator.hasNext()){
8484
PyTuple tuple = (PyTuple)pyIterator.next();
8585
PyObject[] entry = tuple.getArray();
86-
System.out.println("<testIteritems> key=" + entry[0] + ", value=" + entry[1]);
8786
}
8887
}
8988

@@ -95,7 +94,6 @@ public void testOrderedDictAsValue() throws Exception {
9594
myOrderedDict.__setitem__("ordered_dict", anotherOrderedDict);
9695

9796
PyObject value = myOrderedDict.get(new PyString("ordered_dict"));
98-
System.out.println("<testOrderedDictAsValue> value.getType()=" + value.getType());
9997
}
10098

10199
@Test

core/src/test/java/oracle/weblogic/deploy/util/WLSDeployZipFileTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ public static void copyFile(String filename, String targetFilename) throws IOExc
316316

317317
File source = new File(UNIT_TEST_SOURCE_DIR + File.separator + filename);
318318
File target = new File(UNIT_TEST_TARGET_DIR + File.separator + targetFilename);
319-
System.out.println("copying file " + source.getAbsolutePath() + " to " + target.getAbsolutePath());
320319

321320
FileInputStream fis = new FileInputStream(source);
322321
FileOutputStream fos = new FileOutputStream(target, false);
@@ -334,7 +333,5 @@ public static void copyFile(String filename, String targetFilename) throws IOExc
334333
fos.flush();
335334
fos.close();
336335
fis.close();
337-
System.out.println("copied " + totalBytesRead + " bytes from file " + source.getAbsolutePath() +
338-
" to " + target.getAbsolutePath());
339336
}
340337
}

core/src/test/python/collections_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ def testDictDictUpdate(self):
156156
dict1['entry1'] = 'you'
157157
dict2 = dict()
158158
dict2['entry2'] = 'me'
159-
print 'Before: dict() dict1=', dict1
160-
print ' dict() dict2=', dict2
161159
dict1.update(dict2)
162160
self.assertEqual('entry1' in dict1 and 'entry2' in dict1, True,
163161
"expected dict1 to contain 'entry1' and 'entry2' keys")

core/src/test/python/variable_injector_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ def testWithMultiKeyword(self):
236236
replacement_dict = dict()
237237
replacement_dict['Server[MANAGED_SERVERS,ADMIN_SERVER].SSL.Enabled'] = dict()
238238
actual = self._helper.inject_variables(replacement_dict)
239-
print 'actual ***', actual
240239
self._compare_to_expected_dictionary(expected, actual)
241240

242241
def testWithVariableHelperKeywords(self):
@@ -265,7 +264,6 @@ def testWithVariableHelperKeywords(self):
265264
def testForceAttribute(self):
266265
expected = dict()
267266
short_name = self._helper.get_folder_short_name(LocationContext().append_location('Server'))
268-
print '****** ', short_name
269267
expected[short_name + '.AdminServer.SSL.HostnameVerificationIgnored'] = 'false'
270268
expected[short_name + '.m1.SSL.HostnameVerificationIgnored'] = 'false'
271269
expected[short_name + '.m2.SSL.HostnameVerificationIgnored'] = 'false'

0 commit comments

Comments
 (0)