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 |
|---|---|---|---|---|---|
Node | public class Node implements Comparable<Node> {
public String label;
public float rank;
@Override
public String toString() {
return label + ":" + rank;
}
@Override
public int compareTo(Node o) {
return label.compareTo(o.label);
}
}
| .version 52 0
.class public super Node
.super java/lang/Object
.implements java/lang/Comparable
.field public label Ljava/lang/String;
.field public rank F
.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
* Fri Jul 01 22:59: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
* Fri Jul 01 22:59: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;
... | 140,100 |
FieldsNotSetInConstructor | class FieldsNotSetInConstructor {
Object a, b, c, d, e;
FieldsNotSetInConstructor() {
a = this;
}
FieldsNotSetInConstructor(Object x) {
a = x;
b = x;
}
@Override
public int hashCode() {
return a.hashCode() + b.hashCode() + c.hashCode() + e.hashCode();
}
@Override
public String t... | .version 52 0
.class super FieldsNotSetInConstructor
.super java/lang/Object
.field a Ljava/lang/Object;
.field b Ljava/lang/Object;
.field c Ljava/lang/Object;
.field d Ljava/lang/Object;
.field e Ljava/lang/Object;
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:16: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
* Fri Jul 01 17:16: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;
... | 140,101 |
ServerDumpUtil | /*******************************************************************************
* Copyright (c) 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | .version 52 0
.class public super ServerDumpUtil
.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 19
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:36:17 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 05:36: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;
... | 140,102 |
HMSNumberFormat | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2016, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | .version 52 0
.class public super HMSNumberFormat
.super java/text/NumberFormat
.field private formatter Ljava/text/NumberFormat;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/text/NumberFormat <init> ()V
L4: aload_0
L5: new java/text/DecimalF... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:16:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.text.FieldPosition;
import java.text.Format;
import java.text.ParsePosition;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:16:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,103 |
WeekViewUtil | import java.util.Calendar;
/** Created by jesse on 6/02/2016. */
public class WeekViewUtil {
/////////////////////////////////////////////////////////////////
//
// Helper methods.
//
/////////////////////////////////////////////////////////////////
/**
* Checks if two times are on the same day.
... | .version 52 0
.class public super WeekViewUtil
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:46:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.DateTimeException;
import java.time.Month;
import java.time.ZoneId;
import java.time.ZoneOffset;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:46:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,104 |
APIEndpoints | public class APIEndpoints {
public static final String STEAMAPI_BASE = "https://api.steampowered.com";
public static final String COMMUNITY_BASE = "https://steamcommunity.com";
public static final String MOBILEAUTH_BASE = STEAMAPI_BASE + "/IMobileAuthService/%s/v0001";
public static final String MOBILEAUTH_GETW... | .version 52 0
.class public super APIEndpoints
.super java/lang/Object
.field public static final STEAMAPI_BASE Ljava/lang/String; = 'https://api.steampowered.com'
.field public static final COMMUNITY_BASE Ljava/lang/String; = 'https://steamcommunity.com'
.field public static final MOBILEAUTH_BASE Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:52: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
* Fri Jul 01 03:52: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;
... | 140,105 |
Quote | /** Created by markheckler on 6/14/16. */
public class Quote {
private Long id;
private String text;
private String source;
public Quote() { // JSON
}
public Quote(String text, String source) {
this.text = text;
this.source = source;
}
public Long getId() {
return id;
}
public String... | .version 52 0
.class public super Quote
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private text Ljava/lang/String;
.field private source Ljava/lang/String;
.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
* Fri Jul 01 07:17:58 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:17:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,106 |
CppConstants | public class CppConstants {
private static final String SOA_NS = "temenos::soa::common";
public static final String SIZE_TYPE = "size_t";
public static final String SOA_UTILITY_CLASS = SOA_NS + "::Utility";
public static final String SOA_LOGGER_CLASS = SOA_NS + "::Logger";
public static final String SOA_VAROB... | .version 52 0
.class public super CppConstants
.super java/lang/Object
.field private static final SOA_NS Ljava/lang/String; = 'temenos::soa::common'
.field public static final SIZE_TYPE Ljava/lang/String; = 'size_t'
.field public static final SOA_UTILITY_CLASS Ljava/lang/String; = 'temenos::soa::common::Utility' ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:34: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
* Fri Jul 01 23:34: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;
... | 140,107 |
HashtableOfObject | /*******************************************************************************
* Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | .version 52 0
.class public final super HashtableOfObject
.super java/lang/Object
.implements java/lang/Cloneable
.field private valueMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method public <init> : ()V
.code stack 2 loca... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:52:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Set;
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 22:52: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;
... | 140,108 |
City | /** Created by longfenghuang on 16/4/29. */
public class City {
private int id;
private String cityName;
private String cityCode;
private int provinceId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCityName() {
return cityName;
}
... | .version 52 0
.class public super City
.super java/lang/Object
.field private id I
.field private cityName Ljava/lang/String;
.field private cityCode Ljava/lang/String;
.field private provinceId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:11: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
* Sun Jul 03 23:11: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;
... | 140,109 |
Car | /** Created by ccao on 2017-08-20. */
public class Car {
private String color;
private String type;
private String manufacture;
private String createdDate;
private int distance;
private String brandName;
public Car() {
this.distance = 0;
}
public String getColor() {
return color;
}
publ... | .version 52 0
.class public super Car
.super java/lang/Object
.field private color Ljava/lang/String;
.field private type Ljava/lang/String;
.field private manufacture Ljava/lang/String;
.field private createdDate Ljava/lang/String;
.field private distance I
.field private brandName Ljava/lang/String;
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:13:41 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:13:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,110 |
Element | public class Element {
private Element parent;
private String name;
private Object object;
public Element(Element parent, String name, Object object) {
this.parent = parent;
this.name = name;
this.object = object;
}
public Element getParent() {
return this.parent;
}
public String getN... | .version 52 0
.class public super Element
.super java/lang/Object
.field private parent LElement;
.field private name Ljava/lang/String;
.field private object Ljava/lang/Object;
.method public <init> : (LElement;Ljava/lang/String;Ljava/lang/Object;)V
.code stack 2 locals 4
L0: aload_0
L1: invokesp... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:26: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
* Fri Jul 01 09:26: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;
... | 140,111 |
Range | // : net/mindview/util/Range.java
// Array creation methods that can be used without
// qualifiers, using Java SE5 static imports:
public class Range {
// Produce a sequence [0..n)
public static int[] range(int n) {
int[] result = new int[n];
for (int i = 0; i < n; i++) result[i] = i;
return result;
... | .version 52 0
.class public super Range
.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
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:57:54 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 21:57: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;
... | 140,112 |
ScriptError | /**
* Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others. All rights reserved. This
* program and the accompanying materials are made available under the terms of the Eclipse Public
* License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
... | .version 52 0
.class public final super ScriptError
.super java/lang/Object
.field private final column I
.field private final length I
.field private final line I
.field private final message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;III)V
.code stack 2 locals 5
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:14: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
* Sat Jul 02 12:14: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;
... | 140,113 |
TestJdbc143 | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Date;
public class TestJdbc143 {
private static Connection getConn() {
String driver = "com.mysql.jdbc.Driver";
String url =
"jdbc:mysql://111.235.158.31:3306/w... | .version 52 0
.class public super TestJdbc143
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:22: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:22:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,114 |
UrgentDataTest | /*
* Copyright 2001 Sun Microsystems, Inc. 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 Software Foundati... | .version 52 0
.class public super UrgentDataTest
.super java/lang/Object
.field opref Ljava/lang/Object;
.field isClient Z
.field isServer Z
.field clHost Ljava/lang/String;
.field listener Ljava/net/ServerSocket;
.field client Ljava/net/Socket;
.field server Ljava/net/Socket;
.field clPort I
.field clis Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:44:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:44: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;
... | 140,115 |
Dimension | public class Dimension {
int width, height;
public Dimension(int width, int height) {
this.width = width;
this.height = height;
}
public int getWidth() {
return this.width;
}
public int getHeight() {
return this.height;
}
}
| .version 52 0
.class public super Dimension
.super java/lang/Object
.field width I
.field height 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 Field Dimension width I
L9: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:11: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
* Sat Jul 02 00:11: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;
... | 140,116 |
FileImport | import java.io.File;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import java.util.concurrent.Callable;
public class FileImport {
public static final String PATH = "C:\\Temp\\jaxb\\rickitest\\inbound";
... | .version 52 0
.class public super FileImport
.super java/lang/Object
.field public static final PATH Ljava/lang/String; = 'C:\\Temp\\jaxb\\rickitest\\inbound'
.field public static final WORKING Ljava/lang/String; = 'C:\\Temp\\jaxb\\rickitest\\working'
.field public static final PROCESSED Ljava/lang/String; = 'C:\\... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:00:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:00: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;
... | 140,117 |
SetMatrixZeroes | public class SetMatrixZeroes {
/**
* @param matrix: A list of lists of integers
* @return: Void
*/
public void setZeroes(int[][] matrix) {
if (matrix == null || matrix.length == 0 || matrix[0].length == 0) {
return;
}
int m = matrix.length;
int n = matrix[0].length;
boolean firs... | .version 52 0
.class public super SetMatrixZeroes
.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 2
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:43:50 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 04:43:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,118 |
ValidationUtil | public class ValidationUtil {
/*
* Phone Number formats: (nnn)nnn-nnnn; nnnnnnnnnn; nnn-nnn-nnnn ^\\(? : May
* start with an option "(" . (\\d{3}) : Followed by 3 digits. \\)? : May
* have an optional ")" [- ]? : May have an optional "-" after the first 3
* digits or after optional ) character. (\\d{3}) ... | .version 52 0
.class public super ValidationUtil
.super java/lang/Object
.field public static final PHONE_REGEX Ljava/lang/String; = '^\\(?(\\d{3})\\)?[ -]?(\\d{3})[ -]?(\\d{4})[ ]?(x)?(\\d{1,5})?$'
.field public static final FAX_REGEX Ljava/lang/String; = '^\\(?(\\d{3})\\)?[ -]?(\\d{3})[ -]?(\\d{4})[ ]?$'
.field ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:52: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
* Fri Jul 01 21:52: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;
... | 140,119 |
Main | import java.io.*;
import java.util.*;
public class Main {
public static final Scanner scanner = new Scanner(System.in);
// 단어를 검사하는 세 방향에 대하여 한 글자당 행/열에 대한 변화량
public static int[] deltaR = new int[] {0, 1, 1};
public static int[] deltaC = new int[] {1, 1, 0};
public static void testCase(int caseIndex) {
... | .version 52 0
.class public super Main
.super java/lang/Object
.field public static final scanner Ljava/util/Scanner;
.field public static deltaR [I
.field public static deltaC [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:21: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 17:21: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;
... | 140,120 |
ScheduleDate | /** Created by toukirul on 12/7/2017. */
public class ScheduleDate {
private String date;
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
}
| .version 52 0
.class public super ScheduleDate
.super java/lang/Object
.field private date 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 7
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:50: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
* Mon Jul 04 11:50: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;
... | 140,121 |
NumberTools | /*******************************************************************************
* Copyright 2009-2011 Benjamin Fagin
*
* 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.apa... | .version 52 0
.class public super NumberTools
.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 linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:59:10 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:59: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;
... | 140,122 |
PropertiesString | /*
* Copyright 2016-present mklinger GmbH - http://www.mklinger.de
*
* 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 requir... | .version 52 0
.class public super PropertiesString
.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 linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:31:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Properties;
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
* Sun Jul 03 20:31:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,123 |
CheckSum | import java.nio.charset.Charset;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/** SHA-256, MD5, ... */
public class CheckSum {
/** SHA-256. */
public static String sha256(String orig) {
MessageDigest messageDigest;
try {
messageDigest = MessageDigest.getInstance(... | .version 52 0
.class public super CheckSum
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:19: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
* Fri Jul 01 06:19: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;
... | 140,124 |
EnumOption | import java.io.Serializable;
/** Created by ceefour on 7/1/15. */
public class EnumOption implements Serializable {
private String id;
private String name;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
publ... | .version 52 0
.class public super EnumOption
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.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
* Fri Jul 01 07:24: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 07:24: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;
... | 140,125 |
DoubleVec | import java.util.*;
public class DoubleVec {
public DoubleVec() {
this.data = new double[0];
this.n = 0;
}
public DoubleVec(int cap) {
this.data = new double[cap];
this.n = 0;
}
public DoubleVec(double[] data) {
this.data = data.clone();
this.n = data.length;
}
public double ge... | .version 52 0
.class public super DoubleVec
.super java/lang/Object
.field private data [D
.field private n I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: newarray double
L8: putf... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:17:14 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:17: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;
... | 140,126 |
Structure | /***********************************************************************
*
* This file is part of KEEL-software, the Data Mining tool for regression,
* classification, clustering, pattern mining and so on.
*
* Copyright (C) 2004-2010
*
* F. Herrera (herrera@decsai.ugr.es)
* L. Sánchez (luciano@uniovi.es)
* J. ... | .version 52 0
.class super Structure
.super java/lang/Object
.field public Gene [D
.field public n_genes I
.field public Perf D
.field public n_e I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:40:09 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:40: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;
... | 140,127 |
ModelError | public class ModelError extends java.lang.Error {
public ModelError(String message, Throwable cause) {
super(message, cause);
// TODO Auto-generated constructor stub
}
public ModelError(String message) {
super(message);
// TODO Auto-generated constructor stub
}
public ModelError(Throwable c... | .version 52 0
.class public super ModelError
.super java/lang/Error
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Error <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:13:11 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 08:13:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,128 |
Counter | /**
* @author Nikita Zenkin.
* @since 28.05.2017.
* @version 1.
*/
/** Class for count summ of even numbers in loop. */
public class Counter {
/**
* Method for summ even numbers.
*
* @return int.
* @param start int, start number of loop.
* @param finish int, finish number of loop.
*/
public i... | .version 52 0
.class public super Counter
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:11: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 02:11: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;
... | 140,129 |
CustomResponse | public class CustomResponse {
private int id;
private String note;
public CustomResponse() {}
public CustomResponse(int id, String note) {
this.id = id;
this.note = note;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getNote() {
... | .version 52 0
.class public super CustomResponse
.super java/lang/Object
.field private id I
.field private note 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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:33: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
* Fri Jul 01 08:33: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;
... | 140,130 |
Stopwatch | public class Stopwatch {
private static long nanos;
public static void Start() {
nanos = System.nanoTime();
}
;
public static long Stop() {
return System.nanoTime() - nanos;
}
;
}
| .version 52 0
.class public super Stopwatch
.super java/lang/Object
.field private static nanos J
.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 lin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:03:47 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.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:03: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;
... | 140,131 |
SolverException | public class SolverException extends Exception {
private static final long serialVersionUID = 1L;
public SolverException(String message) {
super(message);
}
}
| .version 52 0
.class public super SolverException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:14:42 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 11:14:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,132 |
MathUtils | /*
* This file is part of the PSL software.
* Copyright 2011-2015 University of Maryland
* Copyright 2013-2019 The Regents of the University of California
*
* 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... | .version 52 0
.class public final super MathUtils
.super java/lang/Object
.field public static final EPSILON D = +1e-06
.field public static final RELAXED_EPSILON D = +0.005
.field public static final STRICT_EPSILON D = +1e-08
.field public static final EPSILON_FLOAT D = +9.999999974752427e-07
.field public stat... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:38:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigInteger;
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
* Sun Jul 03 23:38: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;
... | 140,133 |
PurapConfigurationException | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* 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 Softwar... | .version 52 0
.class public super PurapConfigurationException
.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 27
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:26: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 05:26: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;
... | 140,134 |
DagCycleException | /** */
/**
* @author ming luo
*/
public final class DagCycleException extends Exception {
public DagCycleException(final String string) {
super(string);
}
/** */
private static final long serialVersionUID = 2114201844906144728L;
}
| .version 52 0
.class public final super DagCycleException
.super java/lang/Exception
.field private static final serialVersionUID J = 2114201844906144728L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <i... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14: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
* Mon Jul 04 14: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;
... | 140,135 |
RandomUtil | import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Random;
public class RandomUtil {
public static Date getRandomDate(Random rnd, int startYear) {
Calendar cal = new GregorianCalendar();
cal.set(
rnd.nextInt(Calendar.getInstance().get(Calendar.YEA... | .version 52 0
.class public super RandomUtil
.super java/lang/Object
.field private static final usernames [Ljava/lang/String;
.field private static final character [Ljava/lang/String;
.field private static final sessionParts [Ljava/lang/String;
.field private static final compHosts [Ljava/lang/String;
.field pr... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:55:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Random;
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
* Fri Jul 01 08:55: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;
... | 140,136 |
ejercicio1 | /*
* Copyright 2014 Ferran Díaz Martínez
*
* 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 52 0
.class public super ejercicio1
.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 22
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:23:06 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.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:23: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;
... | 140,137 |
NoInternetException | /** Created by michalu on 01.05.15. */
public class NoInternetException extends Exception {
public NoInternetException(String message) {
super(message);
}
}
| .version 52 0
.class public super NoInternetException
.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:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:14:41 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 21:14:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,138 |
IndividualAllocType | public class IndividualAllocType {
public static final int SUB_ALLOCATE = 1;
public static final int THIRD_PARTY_ALLOCATION = 2;
}
| .version 52 0
.class public super IndividualAllocType
.super java/lang/Object
.field public static final SUB_ALLOCATE I = 1
.field public static final THIRD_PARTY_ALLOCATION I = 2
.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
* Sun Jul 03 18:03: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
* Sun Jul 03 18:03: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;
... | 140,139 |
Point | /**
* @FileName: Point.java @Package asura.framework.algorithm.shortpath
*
* @author zhangshaobin
* @created 2015年6月20日 下午5:34:23
* <p>Copyright 2011-2015 asura
*/
/**
* 空间的点
*
* <PRE>
* <BR> 修改记录
* <BR>-----------------------------------------------
* <BR> 修改日期 修改人 修改内容
* </PRE>
*
* @author zha... | .version 52 0
.class public super Point
.super java/lang/Object
.field private name I
.field private x I
.field private y I
.field private z I
.method public <init> : (IIII)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11: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
* Fri Jul 01 11: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;
... | 140,140 |
NestBridgeConfiguration | /**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* <p>All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | .version 52 0
.class public super NestBridgeConfiguration
.super java/lang/Object
.field public static final ACCESS_TOKEN Ljava/lang/String; = 'accessToken'
.field public productId Ljava/lang/String;
.field public productSecret Ljava/lang/String;
.field public static final PINCODE Ljava/lang/String; = 'pincode'
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:07:16 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:07: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;
... | 140,141 |
Die | /*
* Copyright © 1997 Bart Massey
* [This program is licensed under the "MIT License"]
* Please see the file COPYING in the source
* distribution of this software for license terms.
*/
import java.awt.*;
import java.util.*;
class Die extends Canvas implements Runnable {
private static volatile Random prng = nu... | .version 52 0
.class super Die
.super java/awt/Canvas
.implements java/lang/Runnable
.field private static volatile prng Ljava/util/Random;
.field private dotsize Ljava/awt/Dimension;
.field private size I
.field private tracking Z
.field private clickmode Z
.field private volatile visible_value B
.field priv... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:59:48 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.awt.AWTEventMulticaster;
import java.awt.Checkbo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03: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;
... | 140,142 |
FontInfo | /*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo Project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your ... | .version 52 0
.class super FontInfo
.super java/lang/Object
.field public fontFamily Ljava/lang/String;
.field public fontStyle Ljava/lang/String;
.field public fontVariant Ljava/lang/String;
.field public fontWeight Ljava/lang/String;
.field public fontSize Ljava/lang/String;
.method <init> : ()V
.code s... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:19: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
* Mon Jul 04 15:19: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;
... | 140,143 |
Definition | /******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... | .version 52 0
.class public super abstract Definition
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 212475213815814453L
.field protected final seperator Ljava/lang/String; = '/&/'
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:32: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
* Mon Jul 04 16:32:19 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... | 140,144 |
Constants | /* This file is part of VoltDB.
* Copyright (C) 2008-2017 VoltDB Inc.
*
* 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 version 3 of the
* License, or (at your option) any la... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final DEFAULT_HEARTBEAT_TIMEOUT_SECONDS I = 90
.field public static final VOLT_TMP_DIR Ljava/lang/String; = 'volt.tmpdir'
.field public static final DEFAULT_INTERNAL_PORT I = 3021
.field public static final DEFAULT_ZK_PORT I ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:12: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 23:12: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;
... | 140,145 |
Usuario | /*
* 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 alunoccc
*/
public class Usuario {
private String cpfUsuario;
private String logUsuario;
private String pwdUsua... | .version 52 0
.class public super Usuario
.super java/lang/Object
.field private cpfUsuario Ljava/lang/String;
.field private logUsuario Ljava/lang/String;
.field private pwdUsuario Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:15: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
* Fri Jul 01 19:15: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;
... | 140,146 |
ConfigReaderIOException | public class ConfigReaderIOException extends Exception {
public ConfigReaderIOException(Throwable reason) {
super(reason);
}
}
| .version 52 0
.class public super ConfigReaderIOException
.super java/lang/Exception
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.lin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:09:11 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:09:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,147 |
ClientConstants | /* Datamodel license.
* Exclusive rights on this code in any form
* are belong to it's author. This code was
* developed for commercial purposes only.
* For any questions and any actions with this
* code in any form you have to contact to it's
* author.
* All rights reserved.
*/
/**
* @author Marat
*/
public... | .version 52 0
.class public super ClientConstants
.super java/lang/Object
.field public static final T_MTD_USERS Ljava/lang/String; = 'MTD_USERS'
.field public static final T_MTD_GROUPS Ljava/lang/String; = 'MTD_GROUPS'
.field public static final F_USR_NAME Ljava/lang/String; = 'USR_NAME'
.field public static fin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:28:16 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:28: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;
... | 140,148 |
SwapOddEvenBits | /** Exercise 5.6 150 qs */
public class SwapOddEvenBits {
public int swap(int num) {
int mask1 = 0xAAAAAAAA;
int mask2 = 0x55555555;
return (num << 1 & mask1) | (num >> 1 & mask2);
}
public static void main(String args[]) {
SwapOddEvenBits soe = new SwapOddEvenBits();
System.out.println(soe.... | .version 52 0
.class public super SwapOddEvenBits
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:58: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
* Sat Jul 02 05:58: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;
... | 140,149 |
TestConst | public class TestConst {
public static final String TEST_OWNER = "TEST_OWNER";
public static final String TEST_REPO = "TEST_REPO";
public static final String TEST_ERROR = "TEST_ERROR";
public static final int API_DELAY = 500;
}
| .version 52 0
.class public super TestConst
.super java/lang/Object
.field public static final TEST_OWNER Ljava/lang/String; = 'TEST_OWNER'
.field public static final TEST_REPO Ljava/lang/String; = 'TEST_REPO'
.field public static final TEST_ERROR Ljava/lang/String; = 'TEST_ERROR'
.field public static final API_D... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:16: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
* Mon Jul 04 02:16: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;
... | 140,150 |
Counter | /** */
/**
* @author M. Togna
*/
public class Counter {
private int count;
public Counter(int startFrom) {
this.count = startFrom;
}
public Counter() {
this(0);
}
public int current() {
return count;
}
public int increment() {
++count;
return current();
}
}
| .version 52 0
.class public super Counter
.super java/lang/Object
.field private count I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Counter count I
L9: return
L10... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:17: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 01:17: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;
... | 140,151 |
Util | /*
* Copyright (C) 2014 Robert Stupp, Koeln, Germany, robert-stupp.de
*
* 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 final super Util
.super java/lang/Object
.field static final ENTRY_OFF_LRU_NEXT J = 0L
.field static final ENTRY_OFF_LRU_PREV J = 8L
.field static final ENTRY_OFF_NEXT J = 16L
.field static final ENTRY_OFF_REFCOUNT J = 24L
.field static final ENTRY_OFF_SENTINEL J = 28L
.field static final E... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:34:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.ProtocolFamily;
import java.net.StandardProtocolFamily;
import java.nio.ByteBuffer;
import java.nio.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:34: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;
... | 140,152 |
RepositoryException | /*
* 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 super RepositoryException
.super java/lang/Exception
.field private static final serialVersionUID J = 4568261126290589269L
.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 13:10:44 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
* Mon Jul 04 13:10: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;
... | 140,153 |
TypedNull | /*
* Copyright 2019-2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | .version 52 0
.class public super TypedNull
.super java/lang/Object
.field private final type Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.method public <init> : (Ljava/lang/Class;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:25: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
* Sat Jul 02 09:25: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;
... | 140,154 |
Word | public class Word {
public String getContent() {
// TODO Auto-generated method stub
return null;
}
}
| .version 52 0
.class public super Word
.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 me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:09: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
* Sun Jul 03 16:09:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,155 |
Unit | /*
Copyright 2015 Akexorcist
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
distrib... | .version 52 0
.class public super Unit
.super java/lang/Object
.field public static final METRIC Ljava/lang/String; = 'metric'
.field public static final IMPERIAL Ljava/lang/String; = 'imperial'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:30:41 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:30:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,156 |
PathEffect | // Generated automatically from android.graphics.PathEffect for testing purposes
public class PathEffect {
protected void finalize() {}
public PathEffect() {}
}
| .version 52 0
.class public super PathEffect
.super java/lang/Object
.method protected finalize : ()V
.code stack 0 locals 1
L0: return
L1:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end method
.method public <init> : ()V
.code stack 1 locals 1
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:34: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
* Sat Jul 02 21:34: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;
... | 140,157 |
IterableHelper | import java.util.Iterator;
class IterableHelper {
public static <T> T getOnlyElement(Iterable<T> iterable) {
final Iterator<T> iterator = iterable.iterator();
if (!iterator.hasNext()) {
throw new IllegalStateException("Expected at leas one element");
}
final T result = iterator.next();
i... | .version 52 0
.class super IterableHelper
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end method... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:27:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedHashSet;
import java.util.Locale;
import java.util.Set;
import java.util.Stack;
import java.ut... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:27:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,158 |
Strings | /*
* Copyright (c) 2009, Miroslav Batchkarov, University of Sussex
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright noti... | .version 52 0
.class public super abstract Strings
.super java/lang/Object
.field public static final about Ljava/lang/String; = 'Project Plovdiv v3.3.3 \n November 2016 \n Miroslav Batchkarov \n University of Sussex, \nBrighton, UK \n mmb28 (at) sussex.ac.uk \nhttps://github.com/mbatchkarov/Plovdiv'
.field public ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:47:41 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 09:47:41 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... | 140,159 |
Device | /** Created by Parth on 09-11-2014. */
import java.math.BigInteger;
import java.net.InetAddress;
import java.security.MessageDigest;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Copyright (c) 2011 Carson McDonald
*
* <p>Permission is hereby granted, free of charge, to any person obtaining ... | .version 52 0
.class public super Device
.super java/lang/Object
.field private static logger Ljava/util/logging/Logger;
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private inetAddress Ljava/net/InetAddress;
.field private port I
.method public <init> : (Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:31:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.InetAddress;
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
* Sun Jul 03 15:31: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;
... | 140,160 |
ReflectUtils | import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/** 反射工具类 Created by tangzan on 2016/4/1. */
public class ReflectUtils {
/**
* 得到指定类型的指定位置的泛型实参
*
* @param clazz
* @param index
* @param <T>
* @return
*/
@SuppressWarnings("unchecked")
public static <T> Class<T> find... | .version 52 0
.class public super ReflectUtils
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:24: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 02:24: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;
... | 140,161 |
Adaptee | public class Adaptee {
public void show() {
System.out.println("希望调用的业务");
}
}
| .version 52 0
.class public super Adaptee
.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
* Sat Jul 02 21:22:31 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 21:22:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,162 |
AssertSchemaResult | public class AssertSchemaResult {
public final String label;
public final String key;
public boolean unique = false;
public String action = "KEPT";
public AssertSchemaResult(String label, String key) {
this.label = label;
this.key = key;
}
public AssertSchemaResult unique() {
this.unique = t... | .version 52 0
.class public super AssertSchemaResult
.super java/lang/Object
.field public final label Ljava/lang/String;
.field public final key Ljava/lang/String;
.field public unique Z
.field public action Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:17: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
* Sat Jul 02 09:17: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;
... | 140,163 |
SourceControlExcutionException | public class SourceControlExcutionException extends Exception {
public SourceControlExcutionException() {
// TODO Auto-generated constructor stub
}
public SourceControlExcutionException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
public SourceControlExcutionExcep... | .version 52 0
.class public super SourceControlExcutionException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 7
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:18:03 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:18: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;
... | 140,164 |
TextUtil | /*
* Copyright (C) 2015 Arles. All rights reserved.
* <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 ... | .version 52 0
.class public super TextUtil
.super java/lang/Object
.field public static final EMPTY_STRING 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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:41:09 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 17:41: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;
... | 140,165 |
IndentPrintWriter | /*
* Copyright 2002-2005 WYMIWYG (http://wymiwyg.org)
*
* 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 ... | .version 52 0
.class public super IndentPrintWriter
.super java/io/PrintWriter
.field private base Ljava/io/PrintWriter;
.method public <init> : (Ljava/io/PrintWriter;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/PrintWriter <init> (Ljava/io/Writer;)V
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:36:26 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.io.MockPrintWriter;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:36: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;
... | 140,166 |
Calculator | /** Calculator */
/**
* . Calculator, provides 4 arithmetics actions
*
* @author Bukreyev Ilya
* @version 1.0
* @since 20/03/2017
*/
class Calculator {
/**
* .
*
* @param result - stores the final result of the operation
*/
private double result;
/**
* . getResult
*
* @return result
... | .version 52 0
.class super Calculator
.super java/lang/Object
.field private result D
.method <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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:50: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
* Sat Jul 02 08:50: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;
... | 140,167 |
RawSqlGeneratorTest | public abstract class RawSqlGeneratorTest {
// @Test
// public void constructorWithNoDelimiterPassed() throws Exception {
// new DatabaseTestTemplate().testOnAllDatabases(new DatabaseTest() {
// public void performTest(Database database) {
// RawSqlStatement statement = ... | .version 52 0
.class public super abstract RawSqlGeneratorTest
.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 02:49: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 02:49:22 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... | 140,168 |
GoodbyeResponse | public class GoodbyeResponse {
public final String name;
public final String message;
public final Integer code;
public GoodbyeResponse(String name, String message, Integer code) {
this.name = name;
this.message = message;
this.code = code;
}
}
| .version 52 0
.class public super GoodbyeResponse
.super java/lang/Object
.field public final name Ljava/lang/String;
.field public final message Ljava/lang/String;
.field public final code Ljava/lang/Integer;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V
.code stack 2 l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:25: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
* Sat Jul 02 01:25: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;
... | 140,169 |
KHRSeparateDepthStencilLayouts | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
/**
* This extension allows image memory barriers for depth/stencil images to have just one of the
* {@link VK10#VK_IMAGE_ASPECT_DEPTH_BIT IMAGE_ASPECT_DEPTH_BIT} or {@link
* VK10#V... | .version 52 0
.class public final super KHRSeparateDepthStencilLayouts
.super java/lang/Object
.field public static final VK_KHR_SEPARATE_DEPTH_STENCIL_LAYOUTS_SPEC_VERSION I = 1
.field public static final VK_KHR_SEPARATE_DEPTH_STENCIL_LAYOUTS_EXTENSION_NAME Ljava/lang/String; = 'VK_KHR_separate_depth_stencil_layou... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:59: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 18:59:13 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... | 140,170 |
DateUtil | import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
/**
* @Author 刘雄伟 @Date 2016/6/28 10:34 @Description 日期工具类
*/
public class DateUtil {
public static SimpleDateFormat sdf1 = new Simple... | .version 52 0
.class public super DateUtil
.super java/lang/Object
.field public static sdf1 Ljava/text/SimpleDateFormat;
.field public static sdf2 Ljava/text/SimpleDateFormat;
.field public static final DATE_FORMAT_YYYYMMDDHHMMSS Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field public static yyyyMMddHHmmss Ljav... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:37:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.System;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:37: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;
... | 140,171 |
Log | /*
* 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.
*
* This program is distributed in the hope that it will be use... | .version 52 0
.class public super Log
.super java/lang/Object
.field private static final _log Ljava/util/logging/Logger;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:13:59 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.testdata.FileSystemHandling;
import org.junit.runner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:13: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;
... | 140,172 |
DynamicSubProcessModel | public class DynamicSubProcessModel {
private String processDefinitionKey;
private String executionId;
private String activityId;
private String processInstanceId;
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
public void setProcessDefinitionKey(String processDefinitio... | .version 52 0
.class public super DynamicSubProcessModel
.super java/lang/Object
.field private processDefinitionKey Ljava/lang/String;
.field private executionId Ljava/lang/String;
.field private activityId Ljava/lang/String;
.field private processInstanceId Ljava/lang/String;
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:09: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
* Sat Jul 02 07:09: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;
... | 140,173 |
JSONObjectBuilderTest | /*
* Copyright 2012 Nodeable Inc
*
* 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 l... | .version 52 0
.class public super JSONObjectBuilderTest
.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 19
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:28: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 11:28: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;
... | 140,174 |
DivisorPattern | public class DivisorPattern {
public static void main(String[] args) {
int N = Integer.parseInt(args[0]);
for (int i = 1; i <= N; i++) {
if (i < 10) System.out.print(" " + i + " ");
else // (10 <= i < 100)
System.out.print(i + " ");
}
System.out.println("");
for (int i = 1; i <= ... | .version 52 0
.class public super DivisorPattern
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:25:34 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 01:25: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;
... | 140,175 |
MissingNodeException | public class MissingNodeException extends RuntimeException {
public MissingNodeException(String refType, String refId) {
super(String.format("Could not find %s:%s", refType, refId));
}
}
| .version 52 0
.class public super MissingNodeException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 6 locals 3
L0: aload_0
L1: ldc 'Could not find %s:%s'
L3: iconst_2
L4: anewarray java/lang/Object
L7: dup
L8: iconst... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:32: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 15:32: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;
... | 140,176 |
Common | public class Common {
public static boolean isInteger(String s) {
try {
Integer.parseInt(s);
} catch (NumberFormatException e) {
return false;
}
// only got here if we didn't return false
return true;
}
public static boolean isFloat(String s) {
try {
Float.parseFloat(s);... | .version 52 0
.class public super Common
.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 11:26: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 11:26: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;
... | 140,177 |
ICSBufferedWriter | /*
* DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway
* Copyright (C) 2009 Mickael Guessant
*
* 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 2
* of the License, or (at ... | .version 52 0
.class public super ICSBufferedWriter
.super java/lang/Object
.field final buffer Ljava/lang/StringBuilder;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/lang/StringBuilder
L8: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:28: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 09:28: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;
... | 140,178 |
StringUtils | import java.util.Stack;
public class StringUtils {
public static boolean isEmpty(String str) {
return (str == null || str.length() == 0);
}
public static boolean isNotEmpty(String str) {
return !(str == null || str.length() == 0);
}
private static final Stack<StringBuilder> builders = new Stack();
... | .version 52 0
.class public super StringUtils
.super java/lang/Object
.field private static final builders Ljava/util/Stack; .fieldattributes
.signature Ljava/util/Stack<Ljava/lang/StringBuilder;>;
.end fieldattributes
.field private static final MaxCachedBuilderSize I = 8192
.field private static final MaxI... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:44: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
* Sat Jul 02 19:44: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;
... | 140,179 |
SolutionA | /**
* @ClassName SolutionA @Description 移除有序数组重复元素 @Author chentao @Date 2019/7/12 3:52 PM @ModifyDate
* 2019/7/12 3:52 PM @Version 1.0
*/
public class SolutionA {
public int removeDuplicates(int[] nums) {
if (nums.length == 0) {
return 0;
}
int i = 0;
for (int j = 1; j < nums.length; j++) ... | .version 52 0
.class public super SolutionA
.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
* Sat Jul 02 21:40: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
* Sat Jul 02 21:40: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;
... | 140,180 |
Puts | /**
* Pet - a comic pet simulator game Copyright (C) 2013-2015 Ricardo Fabbri and Edson "Presto" Correa
*
* <p>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,... | .version 52 0
.class public super Puts
.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 31
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:11:16 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.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:11: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;
... | 140,181 |
Validator | public class Validator {
private Validator() {}
public static boolean areArgumentsValid(String[] args) {
return !(args == null || args.length != 2);
}
}
| .version 52 0
.class public super Validator
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 6
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:08:09 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:08: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;
... | 140,182 |
Rectangle | public class Rectangle {
public float x, y;
public float width, height;
public Rectangle() {}
public Rectangle(float x, float y, float width, float height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
public void copyFrom(Rectangle source) {
this.x = source.x... | .version 52 0
.class public super Rectangle
.super java/lang/Object
.field public x F
.field public y F
.field public width F
.field public height F
.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 02:44: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
* Sat Jul 02 02:44: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;
... | 140,183 |
InsertionSortBasic | import java.util.Arrays;
/**
* This is a basic implementation of insertion sort. It does not extend Sort, nor does it employ any
* optimizations.
*/
public class InsertionSortBasic {
public void sort(Comparable<?>[] a) {
sort(a, 0, a.length);
}
public void sort(Comparable<?>[] a, int lo, int hi) {
f... | .version 52 0
.class public super InsertionSortBasic
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:50:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.reflect.Array;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRun... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:50: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;
... | 140,184 |
DataWriteUtils | // Openbravo POS is a point of sales application designed for touch screens.
// Copyright (C) 2007-2009 Openbravo, S.L.
// http://www.openbravo.com/product/pos
//
// This file is part of Openbravo POS.
//
// Openbravo POS is free software: you can redistribute it and/or modify
// it under the terms of... | .version 52 0
.class public super DataWriteUtils
.super java/lang/Object
.field private static tsf Ljava/text/DateFormat;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:32:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:32: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;
... | 140,185 |
Consts | /** Common constants Created by dzhey on 25/03/16. */
public final class Consts {
public static final String JOB_INTERFACE_TYPE_NAME =
"com.be.android.library.worker.interfaces.Job";
public static final String JOB_PARAMS_TYPE = "com.be.android.library.worker.models.JobParams";
public static final String JOB... | .version 52 0
.class public final super Consts
.super java/lang/Object
.field public static final JOB_INTERFACE_TYPE_NAME Ljava/lang/String; = 'com.be.android.library.worker.interfaces.Job'
.field public static final JOB_PARAMS_TYPE Ljava/lang/String; = 'com.be.android.library.worker.models.JobParams'
.field publi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:59:28 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 12:59:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,186 |
Solution | /**
* 198. House Robber You are a professional robber planning to rob houses along a street. Each house
* has a certain amount of money stashed, the only constraint stopping you from robbing each of them
* is that adjacent houses have security system connected and it will automatically contact the
* police if two a... | .version 52 0
.class public super Solution
.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 14
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:25:43 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:25:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,187 |
AssociationValidationView | /**
* Created by emma on 29/06/2016.
*
* @author emma
* <p>Model object used to display errors and warnings in an association form and return this to
* view
*/
public class AssociationValidationView {
private String field;
private String errorMessage;
private Boolean warning;
public Associatio... | .version 52 0
.class public super AssociationValidationView
.super java/lang/Object
.field private field Ljava/lang/String;
.field private errorMessage Ljava/lang/String;
.field private warning Ljava/lang/Boolean;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V
.code stack... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:09: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 06:09: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;
... | 140,188 |
StatRecovery | public class StatRecovery {
private int health, cold, food, drink;
public StatRecovery(int health, int cold, int food, int drink) {
this.health = health;
this.cold = cold;
this.food = food;
this.drink = drink;
}
public int getHealth() {
return health;
}
public int getCold() {
ret... | .version 52 0
.class public super StatRecovery
.super java/lang/Object
.field private health I
.field private cold I
.field private food I
.field private drink I
.method public <init> : (IIII)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:23: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 07:23: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;
... | 140,189 |
NavDrawerItem | public class NavDrawerItem {
private String title;
private int icon;
private String count = "0";
// boolean to set visiblity of the counter
private boolean isCounterVisible = false;
public NavDrawerItem() {}
public NavDrawerItem(String title, int icon) {
this.title = title;
this.icon = icon;
... | .version 52 0
.class public super NavDrawerItem
.super java/lang/Object
.field private title Ljava/lang/String;
.field private icon I
.field private count Ljava/lang/String;
.field private isCounterVisible Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:00:16 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 17:00: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;
... | 140,190 |
MapTest | import java.util.Set;
import java.util.TreeMap;
public class MapTest {
public static void main(String[] args) {
TreeMap<String, String> map = new TreeMap<>();
map.put("name", "zh");
map.put("age", "12131");
map.put("anther", "zmy");
Set<String> s = map.keySet();
for (String value : map.value... | .version 52 0
.class public super MapTest
.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
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:04: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 18:04: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;
... | 140,191 |
TextMessage | import java.io.Serializable;
public class TextMessage implements Serializable {
private String content;
public TextMessage(String content) {
super();
this.content = content;
}
public String getContent() {
return content;
}
}
| .version 52 0
.class public super TextMessage
.super java/lang/Object
.implements java/io/Serializable
.field private content Ljava/lang/String;
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:58: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 22:58: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;
... | 140,192 |
HQLEntity | import java.util.ArrayList;
import java.util.List;
public class HQLEntity {
private StringBuffer sbf = null;
private List paramList = null;
public HQLEntity() {
super();
this.sbf = new StringBuffer();
this.paramList = new ArrayList(5);
}
public HQLEntity(String basssql) {
super();
this.... | .version 52 0
.class public super HQLEntity
.super java/lang/Object
.field private sbf Ljava/lang/StringBuffer;
.field private paramList Ljava/util/List;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aco... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:22:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.StringWriter;
import java.sql.Date;
import java.time.LocalDate;
import java.time.Period;
import java.time.chrono.IsoChronology;
import java.util.LinkedLis... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:22: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;
... | 140,193 |
NativeView | /*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | .version 52 0
.class public super NativeView
.super java/awt/Canvas
.field public maHandle Ljava/lang/Integer;
.field public maSystem I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/awt/Canvas <init> ()V
L4: aload_0
L5: aconst_null
L6: p... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:45:51 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 12:45:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 140,194 |
PageInfo | /**
* @Author: ouyangan @Date : 2016/10/12
*/
public class PageInfo {
private int total;
private Object rows;
public PageInfo(int total, Object rows) {
this.total = total;
this.rows = rows;
}
@Override
public String toString() {
return "PageInfo{" + "total=" + total + ", rows=" + rows + '}';... | .version 52 0
.class public super PageInfo
.super java/lang/Object
.field private total I
.field private rows Ljava/lang/Object;
.method public <init> : (ILjava/lang/Object;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:20: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
* Sat Jul 02 11:20: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;
... | 140,195 |
Index | /*
* Copyright (2013) Fondazione Bruno Kessler (http://www.fbk.eu/)
*
* 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... | .version 52 0
.class public super abstract Index
.super java/lang/Object
.field public static final DEFAULT_NOTIFICATION_POINT I = 100000
.field protected notificationPoint I
.field protected indexName Ljava/lang/String;
.method protected <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:56: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
* Mon Jul 04 04:56:38 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... | 140,196 |
Generic | public class Generic {
public static <T extends Number> double minimum(T[] n) {
double min = n[0].doubleValue();
for (int i = 1; i < n.length; ++i) {
if (n[i].doubleValue() < min) min = n[i].doubleValue();
}
return min;
}
public static void main(String[] args) {
Integer[] noten = new In... | .version 52 0
.class public super Generic
.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 22:19:37 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 22:19: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;
... | 140,197 |
Junction | public class Junction {
public boolean valid;
public int x, y;
public double voltage;
public Junction() {
x = y = 0;
voltage = 0;
valid = false;
}
public void print() {
System.out.println(
"Voltage = " + voltage + "\tJunction:" + x + "," + y + "\tValidity:" + valid);
}
}
| .version 52 0
.class public super Junction
.super java/lang/Object
.field public valid Z
.field public x I
.field public y I
.field public voltage D
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:22: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 14:22: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;
... | 140,198 |
EmptyCurrentAddressException | /** Created by roman on 03.02.16. */
public class EmptyCurrentAddressException extends Exception {}
| .version 52 0
.class public super EmptyCurrentAddressException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:40: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
* Sun Jul 03 15:40: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;
... | 140,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.