class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
LengthofLastWord | public class LengthofLastWord {
public int lengthOfLastWord(String s) {
if (s == null || s.length() == 0) return 0;
int i = s.length() - 1;
while (i >= 0 && s.charAt(i) == ' ') i--;
if (i < 0) return 0;
int l = 0;
while (i >= 0 && s.charAt(i) != ' ') {
i--;
l++;
}
return l;... | .version 52 0
.class public super LengthofLastWord
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:29:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:29:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,400 |
AddSecondsToCurrentDate | /*
Add or substract seconds to current time using Java Calendar
This example shows how to add or substract seconds in current time
using Java Calendar class.
*/
import java.util.Calendar;
public class AddSecondsToCurrentDate {
public static void main(String[] args) {
// create Calendar instance
Cale... | .version 52 0
.class public super AddSecondsToCurrentDate
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:27:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:27:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,401 |
MethodReferenceExamples3Array | import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.function.IntFunction;
import java.util.stream.Stream;
/**
* @author Kevin Lee
* @since 2016-01-17
*/
public class MethodReferenceExamples3Array {
public static void main(String[] args) {
final String[] array =... | .version 52 0
.class public super MethodReferenceExamples3Array
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:38:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:38:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,402 |
EdgeETL | public class EdgeETL {
private String scriptname;
private String conntype;
public String getScriptname() {
return scriptname;
}
public void setScriptname(String scriptname) {
this.scriptname = scriptname;
}
public String getConntype() {
return conntype;
}
public void setConntype(String... | .version 52 0
.class public super EdgeETL
.super java/lang/Object
.field private scriptname Ljava/lang/String;
.field private conntype Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:55:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:55:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,403 |
DeferredMethodInst | /*
* Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class super DeferredMethodInst
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokevirtual Method DeferredMethodInst m ()Ljava/lang/Object;
L8: checkcast java/lang/Inte... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:39:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:39:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,404 |
WebAppException | /**
* WebAppException class.
*
* @author Mirco
* @version $Id: $Id
*/
public class WebAppException extends Exception {
/**
* Constructor for WebAppException.
*
* @param message a {@link java.lang.String} object.
*/
public WebAppException(String message) {
super(message);
}
/**
* Constr... | .version 52 0
.class public super WebAppException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:09:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:09:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,405 |
KillCharacter | public abstract class KillCharacter {
private long characterID; // ="411109620"
private String characterName; // ="Pi'rat Tealon"
private long corporationID; // ="1449814438"
private String corporationName; // ="The Bastards"
private Long allianceID; // ="1311549668"
private String allianceName; // ="The Ba... | .version 52 0
.class public super abstract KillCharacter
.super java/lang/Object
.field private characterID J
.field private characterName Ljava/lang/String;
.field private corporationID J
.field private corporationName Ljava/lang/String;
.field private allianceID Ljava/lang/Long;
.field private allianceName Lj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:45:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:45:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 132,406 |
GetGraphicsStressTest | /*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public final super GetGraphicsStressTest
.super java/lang/Object
.field static volatile failed Ljava/lang/Throwable;
.field static volatile endtime J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ret... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:53:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:53:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,407 |
GeoLocation | /**
* Represents a point on the surface of a sphere. (The Earth is almost spherical.)
*
* <p>To create an instance, call one of the static methods fromDegrees() or fromRadians().
*
* <p>This code was originally published at <a
* href="http://JanMatuschek.de/LatitudeLongitudeBoundingCoordinates#Java">
* http://Ja... | .version 52 0
.class public super GeoLocation
.super java/lang/Object
.field public static final EARTH_RADIUS F = +6371.0f
.field private radLat D
.field private radLon D
.field private degLat D
.field private degLon D
.field private degAlt D
.field private static final MIN_LAT D
.field private static final M... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:41:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:41:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,408 |
Rotation | public class Rotation {
private double x = 0, y = 0, z = 0;
public Rotation(double x, double y, double z) {
this.x = x;
this.y = y;
this.z = z;
}
public double getX() {
return x;
}
public double getY() {
return y;
}
public double getZ() {
return z;
}
public void add... | .version 52 0
.class public super Rotation
.super java/lang/Object
.field private x D
.field private y D
.field private z D
.method public <init> : (DDD)V
.code stack 3 locals 7
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dconst_0
L6: putfield Fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:01:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:01:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,409 |
FourierTransform | public class FourierTransform {
// executes the DFT on the timeDomain and writes the frequency Domain in the
// arrays ReX and ImX
public static void RealDFT(float timeDomain[], float out_ReX[], float out_ImX[]) {
int N = timeDomain.length;
if (out_ReX.length < N / 2 + 1) {
System.out.println("ReX[... | .version 52 0
.class public super FourierTransform
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:37:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:37:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,410 |
Creador | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author avalos
*/
public class Creador extends javax.swing.JInternalFrame {
/** Creates new form Creador */
public Creador() {
initComponents();
}
/**
* This method is called from within the con... | .version 52 0
.class public super Creador
.super javax/swing/JInternalFrame
.field private jLabel10 Ljavax/swing/JLabel;
.field private jLabel11 Ljavax/swing/JLabel;
.field private jLabel12 Ljavax/swing/JLabel;
.field private jLabel13 Ljavax/swing/JLabel;
.field private jLabel14 Ljavax/swing/JLabel;
.field priv... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:49:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:49:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,411 |
PasswordCredential | /*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class public super PasswordCredential
.super java/lang/Object
.implements java/io/Serializable
.field private password [C
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: al... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:10:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:10:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,412 |
SetAttributeSubIfcOwnerHistory | /******************************************************************************
* Copyright (C) 2009-2017 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either vers... | .version 52 0
.class public super SetAttributeSubIfcOwnerHistory
.super java/lang/Object
.field private object Ljava/lang/Object;
.field private attributeName Ljava/lang/String;
.field private attributeNewValue Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:17:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:17:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,413 |
FeedOverException | public class FeedOverException extends Exception {
public FeedOverException() {
super("Feed is over");
}
public FeedOverException(String detailMessage) {
super(detailMessage);
}
public FeedOverException(String detailMessage, Throwable throwable) {
super(detailMessage, throwable);
}
public F... | .version 52 0
.class public super FeedOverException
.super java/lang/Exception
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Feed is over'
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L6: return
L7:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:45:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:45:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,414 |
NBMDRepositoryWrapperException | /*
// $Id$
// Enki generates and implements the JMI and MDR APIs for MOF metamodels.
// Copyright (C) 2008 The Eigenbase Project
// Copyright (C) 2008 SQLstream, Inc.
// Copyright (C) 2008 Dynamo BI Corporation
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU L... | .version 52 0
.class public super NBMDRepositoryWrapperException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -5701634765828864433L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:03:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:03:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,415 |
UserModel | /**
* Copyright (C) 2015 Fernando Cejas Open Source Project
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required b... | .version 52 0
.class public super UserModel
.super java/lang/Object
.field private final userId I
.field private coverUrl Ljava/lang/String;
.field private fullName Ljava/lang/String;
.field private email Ljava/lang/String;
.field private description Ljava/lang/String;
.field private followers I
.method publi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:55:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:55:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,416 |
ContactsListbean | public class ContactsListbean {
private int iconResouce;
private String name;
public ContactsListbean(int iconResouce, String name) {
this.iconResouce = iconResouce;
this.name = name;
}
public int getIconResouce() {
return iconResouce;
}
public void setIconResouce(int iconResouce) {
thi... | .version 52 0
.class public super ContactsListbean
.super java/lang/Object
.field private iconResouce I
.field private name Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:56:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:56:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,417 |
Main | /*
* Copyright (C) 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class super Main
.super java/lang/Object
.field static final iterations I = 10
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:17:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:17:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,418 |
TreeCopier | import static java.nio.file.FileVisitResult.*;
import static java.nio.file.StandardCopyOption.*;
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.FileVisitOption;
import java.nio.file.FileVisitResult;
import java.nio.file.FileVisitor;
import java.nio.file.Files;
import ... | .version 52 0
.class public super TreeCopier
.super java/lang/Object
.implements java/nio/file/FileVisitor
.field private final source Ljava/nio/file/Path;
.field private final target Ljava/nio/file/Path;
.field private exception Ljava/io/IOException;
.method public static copyDir : (Ljava/nio/file/Path;Ljava/n... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:01:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.IOException;
import java... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:01:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,419 |
AbstractLocale | public abstract class AbstractLocale {
public static final String BAD_LANGUAGE_OR_COUNTRY = "??";
private static final String LOCALE_CLASS_NAME_PREFIX = ".Locale_";
private final boolean mActive;
private final String mLanguage, mCountry, mCode;
/* friend( DerivedLocaleGraph ) */ int mDepth;
protected Abs... | .version 52 0
.class public super abstract AbstractLocale
.super java/lang/Object
.field public static final BAD_LANGUAGE_OR_COUNTRY Ljava/lang/String; = '??'
.field private static final LOCALE_CLASS_NAME_PREFIX Ljava/lang/String; = '.Locale_'
.field private final mActive Z
.field private final mLanguage Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:10:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:10:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,420 |
ConfigurationMessage | import java.util.Optional;
public class ConfigurationMessage {
private final Optional<Boolean> readReceipts;
private final Optional<Boolean> unidentifiedDeliveryIndicators;
private final Optional<Boolean> typingIndicators;
private final Optional<Boolean> linkPreviews;
public ConfigurationMessage(
Opt... | .version 52 0
.class public super ConfigurationMessage
.super java/lang/Object
.field private final readReceipts Ljava/util/Optional; .fieldattributes
.signature Ljava/util/Optional<Ljava/lang/Boolean;>;
.end fieldattributes
.field private final unidentifiedDeliveryIndicators Ljava/util/Optional; .fieldattrib... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:21:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Optional;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:21:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,421 |
CapabilitiesConstants | /*
Copyright 2018 Will Winder
This file is part of Universal Gcode Sender (UGS).
UGS is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | .version 52 0
.class public super CapabilitiesConstants
.super java/lang/Object
.field public static final JOGGING Ljava/lang/String; = 'JOGGING'
.field public static final CONTINUOUS_JOGGING Ljava/lang/String; = 'CONTINUOUS_JOGGING'
.field public static final OVERRIDES Ljava/lang/String; = 'OVERRIDES'
.field pub... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:16:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:16:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,422 |
RequestDto | public class RequestDto {
private int noOfStories;
private int noOfSamples;
public RequestDto(int noOfStories, int noOfSamples) {
this.noOfStories = noOfStories;
this.noOfSamples = noOfSamples;
}
public RequestDto() {}
public int getNoOfStories() {
return noOfStories;
}
public int getNo... | .version 52 0
.class public super RequestDto
.super java/lang/Object
.field private noOfStories I
.field private noOfSamples I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:36:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:36:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,423 |
ProperFractions | public class ProperFractions {
/**
* A Bruteforce solution for this is Assume all numbers from [1, n]/n are proper fractions To
* denote this, create an array of size n. 0 denotes this number is proper fraction.
*
* <p>Loop: 2..Sqrt(n) if index % n != 0, it divides n and hence is not proper fraction. assi... | .version 52 0
.class public super ProperFractions
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:23:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:23:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,424 |
MinifyUrlData | public class MinifyUrlData {
private String longUrl;
public String getLongUrl() {
return longUrl;
}
public void setLongUrl(String longUrl) {
this.longUrl = longUrl;
}
}
| .version 52 0
.class public super MinifyUrlData
.super java/lang/Object
.field private longUrl Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:03:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:03:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,425 |
Constants4Matching | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author hieupx
*/
public class Constants4Matching {
public static final double ADDITIONAL_VALUE_1 = 0.3;
public static final double ADDITIONAL_VALUE_2 = 0.5;
public static final int LOG_BASE = 50;
}
| .version 52 0
.class public super Constants4Matching
.super java/lang/Object
.field public static final ADDITIONAL_VALUE_1 D = +0.3
.field public static final ADDITIONAL_VALUE_2 D = +0.5
.field public static final LOG_BASE I = 50
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:11:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:11:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,426 |
Toll | public class Toll {
/* Variables */
private String tollId;
private String name;
private double price;
public Toll() {}
public Toll(String name, double price) {
this.name = name;
this.price = price;
}
public String getTollId() {
return tollId;
}
public void setTollId(String tollId) ... | .version 52 0
.class public super Toll
.super java/lang/Object
.field private tollId Ljava/lang/String;
.field private name Ljava/lang/String;
.field private price D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:37:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:37:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,427 |
AbstractRunnable | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | .version 52 0
.class public super abstract AbstractRunnable
.super java/lang/Object
.implements java/lang/Runnable
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:31:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:31:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 132,428 |
NoopOutputStream | import java.io.IOException;
import java.io.OutputStream;
/**
* Potentially useful for log suppression; eg by creating something like "new
* PrintStream(NoopOutputStream.Instance)" and passing that to a redirect.
*/
public class NoopOutputStream extends OutputStream {
static OutputStream Instance = new NoopOutputS... | .version 52 0
.class public super NoopOutputStream
.super java/io/OutputStream
.field static Instance Ljava/io/OutputStream;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:07:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:07:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 132,429 |
Choice | /** Created by Fisher on 12/8/14. */
public class Choice {
private String mText;
private int mNextPage;
public Choice(String text, int nextPage) {
mText = text;
mNextPage = nextPage;
}
public String getText() {
return mText;
}
public void setText(String text) {
mText = text;
}
publ... | .version 52 0
.class public super Choice
.super java/lang/Object
.field private mText Ljava/lang/String;
.field private mNextPage I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:22:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:22:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,430 |
GetHashes | public class GetHashes {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
| .version 52 0
.class public super GetHashes
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:09:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:09:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,431 |
MetricDataParams | /*
* Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | .version 52 0
.class public super MetricDataParams
.super java/lang/Object
.field protected tenantId Ljava/lang/String;
.field protected name Ljava/lang/String;
.field protected tags Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:33:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:33:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,432 |
Fortune | public final class Fortune {
public int id;
public String message;
public Fortune(int id, String message) {
this.id = id;
this.message = message;
}
public int getId() {
return id;
}
public String getMessage() {
return message;
}
}
| .version 52 0
.class public final super Fortune
.super java/lang/Object
.field public id I
.field public message Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:45:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:45:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,433 |
TableLine | import java.util.regex.Matcher;
import java.util.regex.Pattern;
/** Created by reeda on 31/08/2016. */
public class TableLine {
public String option;
public String description;
public String type;
public String defaultType;
public TableLine(String line) {
// parse the whole line.
int index = line.in... | .version 52 0
.class public super TableLine
.super java/lang/Object
.field public option Ljava/lang/String;
.field public description Ljava/lang/String;
.field public type Ljava/lang/String;
.field public defaultType Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 5 locals 13
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:05:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:05:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,434 |
NaturezaDespesa | /**
* @author Barbara
*/
public class NaturezaDespesa {
private int id;
private String codigo;
private String subItem;
private String descricao;
public NaturezaDespesa(int id, String codigo, String subItem, String descricao) {
this.id = id;
this.codigo = codigo;
this.subItem = subItem;
thi... | .version 52 0
.class public super NaturezaDespesa
.super java/lang/Object
.field private id I
.field private codigo Ljava/lang/String;
.field private subItem Ljava/lang/String;
.field private descricao Ljava/lang/String;
.method public <init> : (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:51:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:51:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,435 |
NonResourceBundle | /*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super NonResourceBundle
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 27
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:25:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:25:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,436 |
牧师 | /** Description:职业技能 Author:Icelemon1314 icelemon1024@gamil.com Create:2015-5-27 */
public class 牧师 {
public static final int 魔力吸收 = 2300000;
public static final int 快速移动 = 2301001;
public static final int 群体治愈 = 2301002;
public static final int 神之保护 = 2301003;
public static final int 祝福 = 2301004;
public ... | .version 52 0
.class public super '牧师'
.super java/lang/Object
.field public static final '魔力吸收' I = 2300000
.field public static final '快速移动' I = 2301001
.field public static final '群体治愈' I = 2301002
.field public static final '神之保护' I = 2301003
.field public static final '祝福' I = 2301004
.field public static ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:57:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:57:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,437 |
CuttingRod | /** http://www.geeksforgeeks.org/dynamic-programming-set-13-cutting-a-rod/ */
public class CuttingRod {
public int maxValue(int price[]) {
int max[] = new int[price.length + 1];
for (int i = 1; i <= price.length; i++) {
for (int j = i; j <= price.length; j++) {
max[j] = Math.max(max[j], max[j -... | .version 52 0
.class public super CuttingRod
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:12:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:12:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,438 |
First | import java.util.Scanner;
/** Created by xms on 2017/9/10. */
public class First {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
}
}
| .version 52 0
.class public super First
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:39:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:39:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,439 |
AnchorBean | import java.io.Serializable;
public class AnchorBean implements Serializable {
/** */
private static final long serialVersionUID = 1L;
private String anchorID;
private String playId;
private String playVersionId;
private String htmlId;
private String htmlFile;
public String getAnchorID() {
retur... | .version 52 0
.class public super AnchorBean
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private anchorID Ljava/lang/String;
.field private playId Ljava/lang/String;
.field private playVersionId Ljava/lang/String;
.field private htmlId Ljav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:24:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:24:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,440 |
Model | /*
* This file is part of Cubeshaft
* Copyright Naronco 2013
* Sharing and using is only allowed with written permission of Naronco
*/
public class Model {}
| .version 52 0
.class public super Model
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:59:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:59:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,441 |
MemcacheClosedException | /*
* Copyright (c) 2014-2015 Spotify AB
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | .version 52 0
.class public super MemcacheClosedException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:03:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:03:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,442 |
UnsupportedOperatingSystemException | public class UnsupportedOperatingSystemException extends RuntimeException {
private final String operatingSystem;
public UnsupportedOperatingSystemException(final String operatingSystem) {
super("Unsupported OS: " + operatingSystem);
this.operatingSystem = operatingSystem;
}
public String getOperati... | .version 52 0
.class public super UnsupportedOperatingSystemException
.super java/lang/RuntimeException
.field private final operatingSystem Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invok... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:08:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:08:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,443 |
SortedMapEx1 | import java.util.SortedMap;
import java.util.TreeMap;
public class SortedMapEx1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
SortedMap<Integer, String> sortedMap1 = new TreeMap<Integer, String>();
sortedMap1.put(517, "Sreehari");
sortedMap1.put(518, "Shantiswar");
... | .version 52 0
.class public super SortedMapEx1
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:20:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:20:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,444 |
DateAPILegacySupport | /*
* ============================================================
* The SSE USTC Software License
*
* DateAPILegacySupport.java
* 2015年8月28日
*
* Copyright (c) 2006 China Payment and Remittance Service Co.,Ltd
* All rights reserved.
* ============================================================
*/
import java... | .version 52 0
.class public super DateAPILegacySupport
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 23
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:45:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:45:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,445 |
BranchStyle | import java.awt.*;
/**
* @author Andrew Rambaut
* @author Philippe Lemey
* @version $Id$
*/
public class BranchStyle {
public BranchStyle() {}
public BranchStyle(String widthProperty, String colorProperty) {
this.widthProperty = widthProperty;
this.colorProperty = colorProperty;
}
public String g... | .version 52 0
.class public super BranchStyle
.super java/lang/Object
.field private widthProperty Ljava/lang/String;
.field private widthPropertyMinimum D
.field private widthPropertyMaximum D
.field private widthBase D
.field private widthScale D
.field private colorProperty Ljava/lang/String;
.field private... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:48:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:48:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,446 |
BoxPlot | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | .version 52 0
.class public super BoxPlot
.super java/lang/Object
.field private static final LINE Ljava/lang/String; = '–'
.field private array Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Long;>;
.end fieldattributes
.field private average F
.field private max F
.field private ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:04:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:04:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,447 |
Geometry | /******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either vers... | .version 52 0
.class public super Geometry
.super java/lang/Object
.field private static final GEOMETRY_TYPE_TRIANGLES B = 0
.field private static final GEOMETRY_TYPE_INSTANCE B = 1
.field private indices Ljava/nio/IntBuffer;
.field private vertices Ljava/nio/FloatBuffer;
.field private normals Ljava/nio/FloatBu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:15:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.EOFException;
import org.evosuite.runtime.EvoRunner;
import org.e... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:15:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,448 |
graphSobre | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Maxx
*/
public class graphSobre extends javax.swing.JFrame {
/** Creates new form graphSobre */
public graphSobre... | .version 52 0
.class public super graphSobre
.super javax/swing/JFrame
.field private jButton1 Ljavax/swing/JButton;
.field private jLabel1 Ljavax/swing/JLabel;
.field private jLabel2 Ljavax/swing/JLabel;
.field private jLabel3 Ljavax/swing/JLabel;
.field private jLabel4 Ljavax/swing/JLabel;
.field private jLab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:58:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:58:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,449 |
FacebookPage | /** Created by bsara on 6/28/14. */
public class FacebookPage {}
| .version 52 0
.class public super FacebookPage
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:06:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:06:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,450 |
F1Score | public class F1Score {
private double P;
private double R;
private double F;
public F1Score() {
P = 0;
R = 0;
F = 0;
}
public F1Score(int N1, int N2, int N3) {
if (N1 == 0 || N2 == 0) {
new F1Score();
} else {
P = ((double) N3 / (double) N1) * 100.0;
R = ((double) N3 ... | .version 52 0
.class public super F1Score
.super java/lang/Object
.field private P D
.field private R D
.field private F D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dconst_0
L6: putfield Field ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:05:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:05:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,451 |
DashboardServiceException | /**
* Copyright 2010 David Froehlich <david.froehlich@businesssoftware.at>, Samuel Kogler
* <samuel.kogler@gmail.com>, Stephan Stiboller <stistc06@htlkaindorf.at>
*
* <p>This file is part of Codesearch.
*
* <p>Codesearch is free software: you can redistribute it and/or modify it under the terms of the
* GNU Gene... | .version 52 0
.class public super DashboardServiceException
.super java/lang/Exception
.field private static final serialVersionUID J = -2617014263508638043L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:07:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:07:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,452 |
TokenMgrError | /* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 3.0 */
/**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this ... | .version 52 0
.class public super TokenMgrError
.super java/lang/Error
.field static final LEXICAL_ERROR I = 0
.field static final STATIC_LEXER_ERROR I = 1
.field static final INVALID_LEXICAL_STATE I = 2
.field static final LOOP_DETECTED I = 3
.field errorCode I
.method protected static final addEscapes : (Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:46:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:46:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,453 |
InputValidationException | public class InputValidationException extends Exception {
private static final long serialVersionUID = 1L;
}
| .version 52 0
.class public super InputValidationException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:45:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:45:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,454 |
CustomLatch | /*
* WireSpider
*
* Copyright (c) 2015 kazyx
*
* This software is released under the MIT License.
* http://opensource.org/licenses/mit-license.php
*/
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
public class CustomLatch {
private final CountDownLatch mLatch;
private boo... | .version 52 0
.class public super CustomLatch
.super java/lang/Object
.field private final mLatch Ljava/util/concurrent/CountDownLatch;
.field private isUnlockedByFailure Z
.method public <init> : (I)V
.code stack 4 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:21:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.concurrent.TimeUnit;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:21:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,455 |
User | public class User {
private String FirstName;
private String LoadName;
public User(String firstName, String loadName) {
super();
FirstName = firstName;
LoadName = loadName;
}
public String getFirstName() {
return FirstName;
}
public void setFirstName(String firstName) {
FirstName ... | .version 52 0
.class public super User
.super java/lang/Object
.field private FirstName Ljava/lang/String;
.field private LoadName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> (... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:48:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:48:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,456 |
Collaborator | public class Collaborator {
public String publicProperty = "property value";
public String firstMethod(String param) {
throw new UnsupportedOperationException("firstMethod was called from implementation.");
}
public String secondMethod(String param, String param2) {
throw new UnsupportedOperationExcep... | .version 52 0
.class public super Collaborator
.super java/lang/Object
.field public publicProperty Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc 'property value'
L7: putfield ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:35:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:35:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,457 |
MovingAverage | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* <p>See the NOTICE file(s) distributed with this work for additional information.
*
* <p>This program and the accompanying materials are made available under the terms of the Eclipse
* Public License 2.0 which is available at http://www.eclipse.... | .version 52 0
.class public super MovingAverage
.super java/lang/Object
.field private final win Ljava/util/Queue; .fieldattributes
.signature Ljava/util/Queue<Ljava/math/BigDecimal;>;
.end fieldattributes
.field private final period I
.field private sum Ljava/math/BigDecimal;
.field static final synthetic ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:14:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigDecimal;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:14:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,458 |
Funcoes | public class Funcoes {
public String tiraNaoNumero(String para) {
String retorno = "";
String decimal = "";
String aux;
// se possui os dois, necessário tratar qual é o da casa decimal
if (para.contains(",") && para.contains(".")) {
// se está cheio destes símbolos, então considera que não ... | .version 52 0
.class public super Funcoes
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:06:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:06:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,459 |
NwtUtil | import java.io.FileWriter;
import java.io.IOException;
public class NwtUtil {
private static FileWriter fw;
public static void log(String fmt, Object... args) {
try {
if (fw == null) {
fw = new FileWriter("server.log.txt");
}
fw.append(
String.format("%-4d %s\n", System.cu... | .version 52 0
.class public super NwtUtil
.super java/lang/Object
.field private static fw Ljava/io/FileWriter;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:51:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:51:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,460 |
AbstractModel | /* ===================================================
* Copyright 2015 Alex Muthmann
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | .version 52 0
.class public super abstract AbstractModel
.super java/lang/Object
.field private id Ljava/lang/Long;
.method public <init> : (Ljava/lang/Long;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:56:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:56:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 132,461 |
CurrencyPairTest | /**
* Created with IntelliJ IDEA. User: brutus Date: 28.12.13 Time: 23:22 To change this template use
* File | Settings | File Templates.
*/
public class CurrencyPairTest {}
| .version 52 0
.class public super CurrencyPairTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:51:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:51:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,462 |
Movie | /*
* Copyright (c) [2011-2016] "Pivotal Software, Inc." / "Neo Technology" / "Graph Aware Ltd."
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except in compliance with the License.
*
* This product may include a number of subcomponents w... | .version 52 0
.class public super Movie
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private title Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:46:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:46:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,463 |
Variant | /*
* #%L
* Fork of Apache Jakarta POI.
* %%
* Copyright (C) 2008 - 2012 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | .version 52 0
.class public super Variant
.super java/lang/Object
.field public static final VT_EMPTY I = 0
.field public static final VT_NULL I = 1
.field public static final VT_I2 I = 2
.field public static final VT_I4 I = 3
.field public static final VT_R4 I = 4
.field public static final VT_R8 I = 5
.field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:21:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:21:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,464 |
FutureTaskTest | import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
import java.util.concurrent.FutureTask;
public class FutureTaskTest {
public static void main(String[] args) throws InterruptedException, ExecutionException {
FutureTask<String> f =
(FutureTask<String>)
Exe... | .version 52 0
.class public super FutureTaskTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:56:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:56:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,465 |
DBSongInfo | import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.TreeSet;
/** Created by DuanJiaNing on 2017/7/20. */
public class DBSongInfo {
public int id;
public String path;
public long lastPlayTime;
public int playTimes;
public String remark;
public long create;
pub... | .version 52 0
.class public super DBSongInfo
.super java/lang/Object
.field public id I
.field public path Ljava/lang/String;
.field public lastPlayTime J
.field public playTimes I
.field public remark Ljava/lang/String;
.field public create J
.field public sort I
.field public favorite Z
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:07:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:07:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,466 |
TrimValues | public class TrimValues {
private float videoStart, audioStart, duration;
/**
* Given the length and clap positions for each member of a video/audio pair, calculate the
* parameters needed to trim the clips.
*
* @param vClipLen video clip length
* @param _vClapPos video clap position, as an offset f... | .version 52 0
.class public super TrimValues
.super java/lang/Object
.field private videoStart F
.field private audioStart F
.field private duration F
.field static final synthetic $assertionsDisabled Z
.method public <init> : (FFFFF)V
.code stack 3 locals 9
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:13:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:13:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,467 |
HDFSProperties | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public final super HDFSProperties
.super java/lang/Object
.field public static final HDFS_HOST Ljava/lang/String; = 'hdfs.host'
.field public static final HDFS_PORT Ljava/lang/String; = 'hdfs.port'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:58:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:58:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 132,468 |
chemistry | import java.util.Scanner;
public class chemistry {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
boolean primero = true;
double anterior = -1;
while (true) {
String cad = sc.next();
if (cad.equals("999")) break;
if (primero) {
anterior = Doub... | .version 52 0
.class public super chemistry
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:43:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:43:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,469 |
RubberDuck | public class RubberDuck {}
| .version 52 0
.class public super RubberDuck
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:07:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:07:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,470 |
UnexpectedInvocation | /*
* Copyright (c) 2006 Rogério Liesenfeld
* This file is subject to the terms of the MIT license (see LICENSE.txt).
*/
/** Thrown to indicate that one or more unexpected invocations occurred during the test. */
public final class UnexpectedInvocation extends Error {
public UnexpectedInvocation(String detailMessa... | .version 52 0
.class public final super UnexpectedInvocation
.super java/lang/Error
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Error <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:32:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:32:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,471 |
MaxTableRowViewModel | public class MaxTableRowViewModel {
String name;
String m5BkColor;
String m5val;
String m5;
String m5code;
String m15BkColor;
String m15val;
String m15;
String m15code;
String m30BkColor;
String m30val;
String m30;
String m30code;
String h1BkColor;
String h1val;
String h1;
String h... | .version 52 0
.class public super MaxTableRowViewModel
.super java/lang/Object
.field name Ljava/lang/String;
.field m5BkColor Ljava/lang/String;
.field m5val Ljava/lang/String;
.field m5 Ljava/lang/String;
.field m5code Ljava/lang/String;
.field m15BkColor Ljava/lang/String;
.field m15val Ljava/lang/String;
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:47:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:47:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,472 |
StringOverflowException | /*
Copyright 2013 Industrie IT Pty Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | .version 52 0
.class public super StringOverflowException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:59:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:59:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,473 |
Contract | import java.util.List;
/** Created by hem on 01.06.2017. */
public class Contract {
private List<String> includes;
private List<String> excludes;
public List<String> getIncludes() {
return includes;
}
public void setIncludes(List<String> includes) {
this.includes = includes;
}
public List<Str... | .version 52 0
.class public super Contract
.super java/lang/Object
.field private includes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private excludes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:50:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:50:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,474 |
Person | /**
* todo: describe Person
*
* @author Steve Ebersole
*/
public class Person {
private Long id;
private String name;
private Object data;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(... | .version 52 0
.class public super Person
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private name Ljava/lang/String;
.field private data Ljava/lang/Object;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:06:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:06:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,475 |
Font | /**
* 字体.
*
* @author ScienJus
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @date 15/12/19.
*/
public class Font {
public static final Font DEFAULT_FONT = defaultFont();
private static Font defaultFont() {
Font font = new Font();
font.setColor("000000");
font.setStyle(new int[] {0... | .version 52 0
.class public super Font
.super java/lang/Object
.field public static final DEFAULT_FONT LFont;
.field private style [I
.field private color Ljava/lang/String;
.field private name Ljava/lang/String;
.field private size I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:46:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:46:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,476 |
BestTimetoBuyandSellStock | public class BestTimetoBuyandSellStock {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] a = {7, 1, 5, 3, 6, 4};
int b = maxProfit(a);
System.out.println(b);
}
public static int maxProfit(int[] prices) {
int target = 0;
if (prices.length == 0) {
re... | .version 52 0
.class public super BestTimetoBuyandSellStock
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:39:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:39:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,477 |
TLEString | /*
Copyright (c) 2014 Hiroaki Tateshita
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | .version 52 0
.class public super TLEString
.super java/lang/Object
.field public static AVAILABLE I
.field public static NO_AVAILABLE I
.field private status I
.field private line1 Ljava/lang/String;
.field private line2 Ljava/lang/String;
.field private noradCatalogID Ljava/lang/String;
.method public <init... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:52:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:52:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,478 |
EndpointConfig | public class EndpointConfig {
public static String NOTIFICATION_CENTER_IP;
}
| .version 52 0
.class public super EndpointConfig
.super java/lang/Object
.field public static NOTIFICATION_CENTER_IP Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:04:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:04:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,479 |
Resource | public class Resource {
private final String name;
private final long size;
private final long time;
public Resource(final String name, final long size, final long time) {
this.name = name;
this.size = size;
this.time = time;
}
public String getName() {
return name;
}
public long get... | .version 52 0
.class public super Resource
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final size J
.field private final time J
.method public <init> : (Ljava/lang/String;JJ)V
.code stack 3 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:07:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:07:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,480 |
UserDao | public class UserDao {
public String getNameById(int userId) {
// TODO Auto-generated method stub
return null;
}
}
| .version 52 0
.class public super UserDao
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:22:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:22:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,481 |
NiFiCommandResponse | /*
* Copyright 2016 Apache NiFi Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | .version 52 0
.class public super NiFiCommandResponse
.super java/lang/Object
.field private headers Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
.end fieldattributes
.field private code I
.field private body Ljava/lang/String;
.field pr... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:07:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:07:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,482 |
StoppedByUserException | public class StoppedByUserException extends RuntimeException {
public StoppedByUserException() {}
public StoppedByUserException(String message) {
super(message);
}
public StoppedByUserException(String message, Throwable cause) {
super(message, cause);
}
public StoppedByUserException(Throwable ca... | .version 52 0
.class public super StoppedByUserException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:26:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:26:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,483 |
ParameterException | /*
* dalserver-interop library - implementation of DAL server for interoperability
* Copyright (C) 2015 Diversity Arrays Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eithe... | .version 52 0
.class public super ParameterException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:05:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:05:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,484 |
TwilightCalculator | /*
* Decompiled with CFR 0_115.
*/
class TwilightCalculator {
private static final float ALTIDUTE_CORRECTION_CIVIL_TWILIGHT = -0.10471976f;
private static final float C1 = 0.0334196f;
private static final float C2 = 3.49066E-4f;
private static final float C3 = 5.236E-6f;
public static final int DAY = 0;
... | .version 52 0
.class super TwilightCalculator
.super java/lang/Object
.field private static final ALTIDUTE_CORRECTION_CIVIL_TWILIGHT F = -0.10471975803375244f
.field private static final C1 F = +0.03341960161924362f
.field private static final C2 F = +0.00034906598739326f
.field private static final C3 F = +5.236... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:14:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:14:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,485 |
Main | import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) {
// write your code here
String result = "";
try {
BufferedReader read... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:30:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:30:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,486 |
InetAddress | /*
* $Header: /cvshome/build/ee.foundation/src/java/net/InetAddress.java,v 1.6 2006/03/14 01:20:23 hargrave Exp $
*
* (C) Copyright 2001 Sun Microsystems, Inc.
* Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | .version 52 0
.class public final super InetAddress
.super java/lang/Object
.implements java/io/Serializable
.method public equals : (Ljava/lang/Object;)Z
.code stack 1 locals 2
L0: iconst_0
L1: ireturn
L2:
.linenumbertable
L0 22
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:00:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:00:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,487 |
BookFlightsResponse | import java.io.Serializable;
public class BookFlightsResponse implements Serializable {
private static final long serialVersionUID = 1L;
protected String out;
/**
* Gets the value of the out property.
*
* @return possible object is {@link String }
*/
public String getOut() {
return out;
}
... | .version 52 0
.class public super BookFlightsResponse
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field protected out Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:00:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:00:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,488 |
RevokedException | public class RevokedException extends Exception {
// generated serial UID (to shut up Eclipse)
private static final long serialVersionUID = 7467925598945879897L;
public RevokedException() {
super("Smartcard was revoked");
}
;
}
| .version 52 0
.class public super RevokedException
.super java/lang/Exception
.field private static final serialVersionUID J = 7467925598945879897L
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Smartcard was revoked'
L3: invokespecial Method java/lang/Exception <init> ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:35:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:35:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,489 |
BindingException | /*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the Lic... | .version 52 0
.class public super BindingException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -1772743876005498590L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:14:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:14:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,490 |
BArray | /*
* Pixel Dungeon
* Copyright (C) 2012-2014 Oleg Dolya
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | .version 52 0
.class public super BArray
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:21:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Arrays;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:21:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,491 |
DeckTester | public class DeckTester {
/**
* The main method in this class checks the Deck operations for consistency.
*
* @param args is not used.
*/
public static void main(String[] args) {
/* *** TO BE IMPLEMENTED IN ACTIVITY 2 *** */
}
}
| .version 52 0
.class public super DeckTester
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:22:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:22:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,492 |
Comun | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Vector;
// clase con metodos estaticos comunes que podran ser reutilizables por distintas clases
public final class Comun {
// busca la primera ocurrencia de la ... | .version 52 0
.class public final super Comun
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:39:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:39:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,493 |
NoMalformedTreeException2Sample | /*
* AutoRefactor - Eclipse plugin to automatically refactor Java code bases.
*
* Copyright (C) 2015 Jean-Noël Rouvignac - initial API and implementation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... | .version 52 0
.class public super NoMalformedTreeException2Sample
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 28
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:36:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:36:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,494 |
HttpReader | import java.io.IOException;
import java.io.InputStream;
import java.net.SocketException;
/**
* Http reader : read http frame separated by \r\n from inputstream
*
* @author Bertrand Martel
*/
public class HttpReader {
/**
* Read a character sequence from the inpustream. Return the character sequence as String... | .version 52 0
.class public super HttpReader
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:25:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.InputStream;
import java.io.PushbackInputStream;
import java.io.SequenceInputStream;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:25:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,495 |
MigrationContext | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | .version 52 0
.class public super MigrationContext
.super java/lang/Object
.field protected assignee Ljava/lang/String;
.field protected owner Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:17:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:17:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,496 |
News | import java.io.Serializable;
public class News implements Serializable {
private static final long serialVersionUID = -6641292855569752036L;
private String title;
private String content;
private String objectId;
public String getTitle() {
return title;
}
public void setTitle(String title) {
t... | .version 52 0
.class public super News
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -6641292855569752036L
.field private title Ljava/lang/String;
.field private content Ljava/lang/String;
.field private objectId Ljava/lang/String;
.method public <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:49:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:49:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,497 |
Person | import java.io.Serializable;
@SuppressWarnings("serial")
public class Person implements Serializable {
private String name;
private int age;
public Person() {
System.out.println("in no param constructor");
}
public Person(String str, int n) {
System.out.println("Inside Person's Constructor");
n... | .version 52 0
.class public super Person
.super java/lang/Object
.implements java/io/Serializable
.field private name Ljava/lang/String;
.field private age I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: getstatic Field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:52:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:52:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,498 |
Test | import java.util.*;
public class Test {
/* Multiple lines comment
*/
int i; /**/
}
| .version 52 0
.class public super Test
.super java/lang/Object
.field i I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:21:10 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:21:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,499 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.