public void setExpire(Calendar expireCalendar) { if (expireCalendar == null) { this.expireDatePredicate = TruePredicate.truePredicate(); } else { Calendar nowCalendar = Calendar.getInstance(); if (expireCalendar.after(nowCalendar)) { String message = MessageFormat .format("expire date {0,date,full} in time zone {1} must be in the" + " past according to the current date {2,date,full} in" + " time zone {3} or null", expireCalendar.getTime(), expireCalendar.getTimeZone(), nowCalendar.getTime(), nowCalendar.getTimeZone()); throw new IllegalArgumentException(message); } this.expireDatePredicate = new ExpireDateFilterPredicate( expireCalendar); } }
@Test(timeout = 1000) public void testTransformedPredicate_add2918() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testTransformedPredicate_add2918"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8127,org.apache.commons.collections4.PredicateUtils.transformedPredicate(org.apache.commons.collections4.TransformerUtils.nopTransformer(), org.apache.commons.collections4.functors.TruePredicate.truePredicate()),8126,org.apache.commons.collections4.PredicateUtils.transformedPredicate(org.apache.commons.collections4.TransformerUtils.nopTransformer(), org.apache.commons.collections4.functors.TruePredicate.truePredicate()).evaluate(new java.lang.Object())); final Map<java.lang.Object, java.lang.Object> map = new HashMap<java.lang.Object, java.lang.Object>(); map.put(java.lang.Boolean.TRUE, "Hello"); map.put(java.lang.Boolean.TRUE, "Hello"); final Transformer<java.lang.Object, java.lang.Object> t = org.apache.commons.collections4.TransformerUtils.mapTransformer(map); final Predicate<java.lang.Object> p = org.apache.commons.collections4.functors.EqualPredicate.<Object>equalPredicate("Hello"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8129,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p),8128,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8131,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p),8130,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p).evaluate(java.lang.Boolean.TRUE)); try { org.apache.commons.collections4.PredicateUtils.transformedPredicate(null, null); } catch (final IllegalArgumentException ex) { } fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@Test public void testTransformedPredicate() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testTransformedPredicate"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8127,org.apache.commons.collections4.PredicateUtils.transformedPredicate(org.apache.commons.collections4.TransformerUtils.nopTransformer(), org.apache.commons.collections4.functors.TruePredicate.truePredicate()),8126,org.apache.commons.collections4.PredicateUtils.transformedPredicate(org.apache.commons.collections4.TransformerUtils.nopTransformer(), org.apache.commons.collections4.functors.TruePredicate.truePredicate()).evaluate(new java.lang.Object())); final Map<java.lang.Object, java.lang.Object> map = new HashMap<java.lang.Object, java.lang.Object>(); map.put(java.lang.Boolean.TRUE, "foo"); final Transformer<java.lang.Object, java.lang.Object> t = org.apache.commons.collections4.TransformerUtils.mapTransformer(map); final Predicate<java.lang.Object> p = org.apache.commons.collections4.functors.EqualPredicate.<Object>equalPredicate("Hello"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8129,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p),8128,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8131,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p),8130,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p).evaluate(java.lang.Boolean.TRUE)); try { org.apache.commons.collections4.PredicateUtils.transformedPredicate(null, null); } catch (final IllegalArgumentException ex) { } fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@Test(timeout = 1000) public void testTransformedPredicate_add2919() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testTransformedPredicate_add2919"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8127,org.apache.commons.collections4.PredicateUtils.transformedPredicate(org.apache.commons.collections4.TransformerUtils.nopTransformer(), org.apache.commons.collections4.functors.TruePredicate.truePredicate()),8126,org.apache.commons.collections4.PredicateUtils.transformedPredicate(org.apache.commons.collections4.TransformerUtils.nopTransformer(), org.apache.commons.collections4.functors.TruePredicate.truePredicate()).evaluate(new java.lang.Object())); final Map<java.lang.Object, java.lang.Object> map = new HashMap<java.lang.Object, java.lang.Object>(); map.put(java.lang.Boolean.TRUE, "Hello"); final Transformer<java.lang.Object, java.lang.Object> t = org.apache.commons.collections4.TransformerUtils.mapTransformer(map); final Predicate<java.lang.Object> p = org.apache.commons.collections4.functors.EqualPredicate.<Object>equalPredicate("Hello"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8129,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p),8128,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8131,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p),8130,org.apache.commons.collections4.PredicateUtils.transformedPredicate(t, p).evaluate(java.lang.Boolean.TRUE)); try { org.apache.commons.collections4.PredicateUtils.transformedPredicate(null, null); org.apache.commons.collections4.PredicateUtils.transformedPredicate(null, null); } catch (final IllegalArgumentException ex) { } fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@Test public void testGetPredicateWithAllValuesIsTruePredicate() throws Exception { // setup when(settings.getSSIDs()).thenReturn(Collections.<String>emptySet()); when(settings.getWiFiBands()).thenReturn(EnumUtils.values(WiFiBand.class)); when(settings.getStrengths()).thenReturn(EnumUtils.values(Strength.class)); when(settings.getSecurities()).thenReturn(EnumUtils.values(Security.class)); fixture = FilterPredicate.makeAccessPointsPredicate(settings); // execute Predicate<WiFiDetail> actual = ((FilterPredicate) fixture).getPredicate(); // validate assertTrue(actual instanceof TruePredicate); }
@Test public void testPredicateExpectsTruePredicateWithAllValues() throws Exception { // setup Set<TestObject> inputs = EnumUtils.values(TestObject.class); // execute Predicate<TestObject> actual = EnumUtils.predicate(TestObject.class, inputs, new TestObjectTransformer()); // validate assertTrue(actual instanceof TruePredicate); }
/** * Test that all Predicate singletones hold singleton pattern in * serialization/deserialization process. */ @Test public void testSingletonPatternInSerialization() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testSingletonPatternInSerialization"); final Object[] singletones = new Object[]{ ExceptionPredicate.INSTANCE , FalsePredicate.INSTANCE , NotNullPredicate.INSTANCE , NullPredicate.INSTANCE , TruePredicate.INSTANCE }; for (final Object original : singletones) { org.apache.commons.collections4.TestUtils.assertSameAfterSerialization(("Singletone patern broken for " + (original.getClass())), original); } fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2768() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2768"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testOnePredicate_remove2325() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testOnePredicate_remove2325"); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(((Predicate<java.lang.Object>[])(new Predicate[]{ }))), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8107,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8106,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8109,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8108,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8111,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8110,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8113,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8112,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8115,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8114,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8117,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8116,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8119,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8118,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8121,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8120,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8123,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8122,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8125,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8124,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2770() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2770"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2771() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2771"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2773() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2773"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2774() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2774"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testOnePredicate_remove2323() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testOnePredicate_remove2323"); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(((Predicate<java.lang.Object>[])(new Predicate[]{ }))), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8107,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8106,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8109,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8108,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8111,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8110,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8113,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8112,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8115,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8114,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8117,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8116,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8119,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8118,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8121,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8120,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8123,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8122,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8125,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8124,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_add2853() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_add2853"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_remove2283() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_remove2283"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_add2852() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_add2852"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2779() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2779"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_remove2303() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_remove2303"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2783() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2783"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_remove2285() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_remove2285"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2785() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2785"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2786() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2786"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2787() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2787"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2789() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2789"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_add2790() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_add2790"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_remove2293() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_remove2293"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2204() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2204"); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2205() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2205"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testOnePredicate_remove2329() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testOnePredicate_remove2329"); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(((Predicate<java.lang.Object>[])(new Predicate[]{ }))), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8107,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8106,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8109,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8108,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8111,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8110,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8113,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8112,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8115,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8114,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8117,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8116,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8119,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8118,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8121,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8120,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8123,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8122,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8125,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8124,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2207() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2207"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2208() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2208"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2209() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2209"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2210() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2210"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2211() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2211"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2212() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2212"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testAllPredicate_remove2213() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testAllPredicate_remove2213"); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7995,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7994,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7997,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7996,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7999,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),7998,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8001,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8000,org.apache.commons.collections4.functors.AllPredicate.allPredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8003,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8002,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8005,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8004,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8007,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8006,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8009,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll),8008,org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.functors.AllPredicate.allPredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testNonePredicate_remove2292() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testNonePredicate_remove2292"); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(new Predicate[]{ }), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8089,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8088,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8091,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8090,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8093,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8092,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8095,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8094,org.apache.commons.collections4.PredicateUtils.nonePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8097,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8096,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8099,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8098,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8101,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8100,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8103,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll),8102,org.apache.commons.collections4.PredicateUtils.nonePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); coll.clear(); assertTrue(org.apache.commons.collections4.PredicateUtils.nonePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }
@SuppressWarnings(value = "unchecked") @Test(timeout = 1000) public void testOnePredicate_remove2322() { fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testOnePredicate_remove2322"); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(((Predicate<java.lang.Object>[])(new Predicate[]{ }))), null); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8107,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8106,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8109,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8108,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8111,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8110,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8113,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8112,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8115,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }),8114,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.TruePredicate.truePredicate() }).evaluate(null)); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8117,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }),8116,org.apache.commons.collections4.PredicateUtils.onePredicate(new org.apache.commons.collections4.Predicate[]{ org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() , org.apache.commons.collections4.functors.FalsePredicate.falsePredicate() }).evaluate(null)); final Collection<org.apache.commons.collections4.Predicate<java.lang.Object>> coll = new ArrayList<org.apache.commons.collections4.Predicate<java.lang.Object>>(); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8119,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8118,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.add(TruePredicate.truePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8121,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8120,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(TruePredicate.truePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8123,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8122,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); coll.add(FalsePredicate.falsePredicate()); fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),8125,org.apache.commons.collections4.PredicateUtils.onePredicate(coll),8124,org.apache.commons.collections4.PredicateUtils.onePredicate(coll).evaluate(null)); coll.clear(); coll.add(FalsePredicate.falsePredicate()); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); coll.add(TruePredicate.truePredicate()); assertTrue(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); coll.clear(); assertFalse(org.apache.commons.collections4.PredicateUtils.onePredicate(coll), null); fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread()); }