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 |
|---|---|---|---|---|---|
Letter | public class Letter {
private final char letter;
private final double frequency;
public Letter(char letter, double frequency) {
this.letter = letter;
this.frequency = frequency;
}
public double getFrequency() {
return frequency;
}
public char getLetter() {
return letter;
}
@Overrid... | .version 52 0
.class public super Letter
.super java/lang/Object
.field private final letter C
.field private final frequency D
.method public <init> : (CD)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield F... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:24: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
* Fri Jul 01 16:24: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;
... | 139,900 |
KeyUtil | import java.util.Random;
/** Created by Ldlood on 2017/7/22. */
public class KeyUtil {
/**
* 生产主键
*
* @return
*/
public static synchronized String genUniqueKey() {
Random random = new Random();
Integer result = random.nextInt(900000) + 100000;
return System.currentTimeMillis() + String.v... | .version 52 0
.class public super KeyUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:17:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:17: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;
... | 139,901 |
FileUtil | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class FileUtil {
public static String readFromFi... | .version 52 0
.class public super FileUtil
.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 12
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:07:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:07: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;
... | 139,902 |
DeleteTopicRuleResult | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | .version 52 0
.class public super DeleteTopicRuleResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.lin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:43: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
* Sat Jul 02 07:43: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;
... | 139,903 |
SocketRequester | import java.io.*;
import java.net.*;
public class SocketRequester {
Socket requestSocket;
ObjectOutputStream out;
ObjectInputStream in;
String message;
SocketRequester() {}
void run() {
try {
// 1. creating a socket to connect to the server
requestSocket = new Socket("localhost", 2004);
... | .version 52 0
.class public super SocketRequester
.super java/lang/Object
.field requestSocket Ljava/net/Socket;
.field out Ljava/io/ObjectOutputStream;
.field in Ljava/io/ObjectInputStream;
.field message Ljava/lang/String;
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:54:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ObjectOutputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:54:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,904 |
NoPublicKey | /** No Public key could be found or has not been yet generated */
public class NoPublicKey extends Exception {
private static final long serialVersionUID = -5104434202527552166L;
}
| .version 52 0
.class public super NoPublicKey
.super java/lang/Exception
.field private static final serialVersionUID J = -5104434202527552166L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.li... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:28: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
* Sun Jul 03 19:28: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;
... | 139,905 |
CincoOro | import java.util.Random;
/**
* Class to generate numbers for 5 de oro.
*
* @author fedeperez89
*/
public class CincoOro {
private static final int NUMBER_RANGE = 48;
private static final int NUMBER_COUNT = 5;
private int[] mNumbers;
public CincoOro() {
mNumbers = new int[] {-1, -1, -1, -1, -1};
}
... | .version 52 0
.class public super CincoOro
.super java/lang/Object
.field private static final NUMBER_RANGE I = 48
.field private static final NUMBER_COUNT I = 5
.field private mNumbers [I
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:46:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:46: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;
... | 139,906 |
Vector3D | import java.io.Serializable;
public class Vector3D implements Serializable {
public Vector3D(float x, float y, float z) {
super();
this.x = x;
this.y = y;
this.z = z;
}
public float x = 0;
public float y = 0;
public float z = 0;
public float getX() {
return x;
}
public void setX... | .version 52 0
.class public super Vector3D
.super java/lang/Object
.implements java/io/Serializable
.field public x F
.field public y F
.field public z F
.method public <init> : (FFF)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:43:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:43:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,907 |
Message | public final class Message {
private final long id;
private final String sourceClientJid;
private final String sourceIPAddress;
private final String targetClientJid;
private final String messageType;
private final String message;
private final long timestamp;
private final int priority;
public Messa... | .version 52 0
.class public final super Message
.super java/lang/Object
.field private final id J
.field private final sourceClientJid Ljava/lang/String;
.field private final sourceIPAddress Ljava/lang/String;
.field private final targetClientJid Ljava/lang/String;
.field private final messageType Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:23: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
* Mon Jul 04 02:23: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;
... | 139,908 |
DrugDose | /** Created by ASUS-NB on 2017/8/2. */
public class DrugDose {
private String drugName;
private String dose;
public String getDrugName() {
return drugName;
}
public void setDrugName(String drugName) {
this.drugName = drugName;
}
public String getDose() {
return dose;
}
public void setD... | .version 52 0
.class public super DrugDose
.super java/lang/Object
.field private drugName Ljava/lang/String;
.field private dose Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:36:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:36: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;
... | 139,909 |
Solution | import java.util.TreeSet;
/** Created by Alan on 5/15/2016. */
public class Solution {
public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {
if (nums.length <= 0 || k <= 0) {
return false;
}
TreeSet<Integer> set = new TreeSet<>();
for (int i = 0; i < nums.length; i++) {
... | .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 8
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:25: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 23:25: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;
... | 139,910 |
Less20 | /** created by Maxim Orlov on 18 Nov 2014 */
public class Less20 {
public boolean less20(int n) {
return (n % 20 == 19 || n % 20 == 18);
}
}
| .version 52 0
.class public super Less20
.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
* Sun Jul 03 16:34: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
* Sun Jul 03 16:34: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;
... | 139,911 |
User | /** User - 用户类 */
public class User {
// public static final int MAN = 0; // 男生
// public static final int WOMAN = 1; // 女生
// public static final int OTHER = 2; // 其他
private int id; // 用户id
private String name; // 用户名
private String password; // 用户密码
private int sex; // 用户性别
private St... | .version 52 0
.class public super User
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private password Ljava/lang/String;
.field private sex I
.field private email Ljava/lang/String;
.field private phone Ljava/lang/String;
.field private admin Ljava/lang/String;
.me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:09:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:09: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;
... | 139,912 |
ToCover2 | public class ToCover2 {
public int run(int i) {
if (i == 0) {
i++;
}
return i;
}
}
| .version 52 0
.class public super ToCover2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:53: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 02:53: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;
... | 139,913 |
Shape | public abstract class Shape {
private double side;
public Shape(double side) {
this.side = side;
}
public double getSide() {
return side;
}
public void setSide(double side) {
this.side = side;
}
public abstract double areaOFShapes();
@Override
public String toString() {
return "... | .version 52 0
.class public super abstract Shape
.super java/lang/Object
.field private side D
.method public <init> : (D)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Shape side D
L9: return
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:53: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
* Sun Jul 03 23:53:16 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... | 139,914 |
Postnumer | public class Postnumer {
String id;
int numer;
String heiti;
String sveitarfelag;
String heimili;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return heiti;
}
public void setName(String name) {
this.heiti = nam... | .version 52 0
.class public super Postnumer
.super java/lang/Object
.field id Ljava/lang/String;
.field numer I
.field heiti Ljava/lang/String;
.field sveitarfelag Ljava/lang/String;
.field heimili Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:25: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
* Fri Jul 01 20:25: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;
... | 139,915 |
Post | import java.util.List;
public class Post {
private String title;
private String content;
private List<String> tags;
private String publishDate;
private String uploadImagePath;
private String uploadImageUrl;
private String postUrl;
private String author;
private boolean staticPageCheckbox;
private b... | .version 52 0
.class public super Post
.super java/lang/Object
.field private title Ljava/lang/String;
.field private content Ljava/lang/String;
.field private tags Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private publishDate Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:42:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:42: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;
... | 139,916 |
FileUtils | import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
/** java文件操作封装 杨威 2013年8月22日 17:48:46 */
public class FileUtils {
/**
* 创建文件夹,如果存在则返回已存在的,不存在则创建, 可能的问题,如果目录很长中间没有的目录也会被创建,一旦创建失败,中间的目录可能已经生成
*
* @param folderPath 要创建的目录
* @return
*/
public static Fil... | .version 52 0
.class public super FileUtils
.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 15
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 10:57:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.File;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 10:57: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;
... | 139,917 |
ass | public class ass {
public static void main(String[] args) {
int input1 = 366;
int a[] = {
11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 51, 53, 59, 61, 67, 71, 73, 79, 83, 87, 89, 91, 97
};
for (int j = 0; j < a.length; j++) {
if (input1 == a[j]) {
System.out.println("1");
}
... | .version 52 0
.class public super ass
.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 met... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 10:59:56 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 10:59: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;
... | 139,918 |
AbstractScubaRuntimeException | @SuppressWarnings("serial")
abstract class AbstractScubaRuntimeException extends RuntimeException {
protected AbstractScubaRuntimeException() {
super();
}
protected AbstractScubaRuntimeException(final String message) {
super(message);
}
protected AbstractScubaRuntimeException(final Throwable cause) ... | .version 52 0
.class super abstract AbstractScubaRuntimeException
.super java/lang/RuntimeException
.method protected <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 8
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:49: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 18:49:06 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... | 139,919 |
XTOthername | public class XTOthername {
/*
<othernames>
<othername is-important="true" is-preferred="false" sequence="0" date="1871" italicize-name="1">
<name>Heliconius cydno pachinus></name>
<authority>Salvin</authority>
<comments>[Lamas (2004) views <em>pachinus</em> as a subs... | .version 52 0
.class public super XTOthername
.super java/lang/Object
.field private isImportant Ljava/lang/Boolean;
.field private isPreferred Ljava/lang/Boolean;
.field private sequence Ljava/lang/Integer;
.field private date Ljava/lang/String;
.field private italicizeName Ljava/lang/Boolean;
.field private n... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 10:57: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 10:57: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;
... | 139,920 |
ToBean2 | public class ToBean2 {
private Float beanFloat;
private String beanString;
public Float getBeanFloat() {
return beanFloat;
}
public void setBeanFloat(Float beanFloat) {
this.beanFloat = beanFloat;
}
public String getBeanString() {
return beanString;
}
public void setBeanString(String ... | .version 52 0
.class public super ToBean2
.super java/lang/Object
.field private beanFloat Ljava/lang/Float;
.field private beanString Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:22:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:22: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;
... | 139,921 |
WildcardMatching109 | /**
* ±¾ÌâÌâÒ⣺ͨÅä·ûÆ¥Åä ×Ö·û´®ÖÐÓУ¿ºÍ*,ÅжÏÁ½¸ö×Ö·û´®ÊÇ·ñÏàµÈ
*
* <p>'?' Matches any single character. '*' Matches any sequence of characters (including the empty
* sequence). Some examples: isMatch("aa","a") ¡ú false isMatch("aa","aa") ¡ú true
* isMatch("aaa","aa") ¡ú false isMatch("aa", "*") ¡ú true isMatch(... | .version 52 0
.class public super WildcardMatching109
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:45: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
* Fri Jul 01 11:45: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;
... | 139,922 |
GCG | /**
* GREATEST COMMON DIVISORS: Calculate the GCG of two positive integers
*
* @author viceg
*/
public class GCG {
/**
* Naive algorithm to solve the GCG problem
*
* @param a First number
* @param b Second number
* @return GCD
*/
public long naiveGCD(long a, long b) {
long gcd = 0;
fo... | .version 52 0
.class public super GCG
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:57:03 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 05:57: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;
... | 139,923 |
LinkedListWithHashRm | public class LinkedListWithHashRm {}
| .version 52 0
.class public super LinkedListWithHashRm
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:37:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:37: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;
... | 139,924 |
RoomRequestNotFoundException | public class RoomRequestNotFoundException extends RuntimeException {
public RoomRequestNotFoundException() {
super("A RoomRequest couldn't be found");
}
public RoomRequestNotFoundException(String message) {
super(message);
}
}
| .version 52 0
.class public super RoomRequestNotFoundException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc "A RoomRequest couldn't be found"
L3: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L6: retu... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:37: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 00:37: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;
... | 139,925 |
Matrix | /*
* Copyright 2012 University of Helsinki.
*
* This file is part of BMVis.
*
* BMVis 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 3 of the
* License, or (at your option) any l... | .version 52 0
.class public final super Matrix
.super java/lang/Object
.field private data [[D
.field private c I
.field private r I
.method public getArray : ()[[D
.code stack 1 locals 1
L0: aload_0
L1: getfield Field Matrix data [[D
L4: areturn
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:16:22 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:16:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,926 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.netcompss.ffmpeg4android";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.netcompss.ffmpeg4android'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:52:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:52: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;
... | 139,927 |
MyWekaResult | /*
* 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 Davide
*/
public class MyWekaResult {
String name;
double value;
public MyWekaResult() {}
public MyWekaResul... | .version 52 0
.class public super MyWekaResult
.super java/lang/Object
.field name Ljava/lang/String;
.field value D
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:43:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:43: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;
... | 139,928 |
ChartEvent | import java.util.Vector;
public class ChartEvent {
public int time;
public int dist;
String train;
String station;
// 事件类型
// TrainEvent是:会 越 让
// StationEvent是:通 到 发
int eventType;
String desc;
String comment;
public static Vector<ChartEvent> sortByTime(Vector<ChartEvent> events) {
Vecto... | .version 52 0
.class public super ChartEvent
.super java/lang/Object
.field public time I
.field public dist I
.field train Ljava/lang/String;
.field station Ljava/lang/String;
.field eventType I
.field desc Ljava/lang/String;
.field comment Ljava/lang/String;
.method public <init> : ()V
.code stack 1 l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:45:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Vector;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:45:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,929 |
CollectionUtils | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public final super CollectionUtils
.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 26
L4 27
.end l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:21:25 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.lang.ref.PhantomReference;
import java.lang.ref.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:21:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,930 |
WeChatCompress | /** Created by jihongwen on 16/8/4. 微信压缩 */
public class WeChatCompress {
static final int THUMB_SIZE = 500;
// image data file data
static final int MAX_IMAGE_DATA_LENGTH = 1024 * 1024 * 10;
static final int MAX_THUMB_IMAGE_DATA_LENGTH = 1024 * 32;
}
| .version 52 0
.class public super WeChatCompress
.super java/lang/Object
.field static final THUMB_SIZE I = 500
.field static final MAX_IMAGE_DATA_LENGTH I = 10485760
.field static final MAX_THUMB_IMAGE_DATA_LENGTH I = 32768
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:11: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 07:11: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;
... | 139,931 |
Attr | /**
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
*
* <p>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 option) any ... | .version 52 0
.class public super Attr
.super java/lang/Object
.field private name Ljava/lang/String;
.field private defaultValue 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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:08: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 16:08: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;
... | 139,932 |
TextureCoordinate | public class TextureCoordinate {
public float u, v, w;
public TextureCoordinate(float u, float v) {
this(u, v, 0F);
}
public TextureCoordinate(float u, float v, float w) {
this.u = u;
this.v = v;
this.w = w;
}
}
| .version 52 0
.class public super TextureCoordinate
.super java/lang/Object
.field public u F
.field public v F
.field public w F
.method public <init> : (FF)V
.code stack 4 locals 3
L0: aload_0
L1: fload_1
L2: fload_2
L3: fconst_0
L4: invokespecial Method TextureCoordinate <init> (... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:43: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 13:43: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;
... | 139,933 |
ReliabilityKind | /*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to 2013 PrismTech
* Limited and its licensees. All rights reserved. See file:
*
* $OSPL_HOME/LICENSE
*
* for full copyright notice and license terms.
*
*/
/**
* Indicates the level of... | .version 52 0
.class public super ReliabilityKind
.super java/lang/Object
.field public static final _BESTEFFORT I = 0
.field public static final _RELIABLE I = 1
.field public static final BESTEFFORT LReliabilityKind;
.field public static final RELIABLE LReliabilityKind;
.method public value : ()I
.code st... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:49: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:49: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;
... | 139,934 |
FormatException | /*************************************************************************
* copyright file="FormatException.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the FormatException.java.
**************************************************************************/
... | .version 52 0
.class public super FormatException
.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 18
L4 20
.end li... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:35: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 11:35: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;
... | 139,935 |
UsageCollectionException | public class UsageCollectionException extends Exception {
/** */
private static final long serialVersionUID = -5774742572112063208L;
public UsageCollectionException() {}
// Constructor that accepts a message
public UsageCollectionException(String message) {
super(message);
}
}
| .version 52 0
.class public super UsageCollectionException
.super java/lang/Exception
.field private static final serialVersionUID J = -5774742572112063208L
.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
* Sat Jul 02 21:58: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
* Sat Jul 02 21:58: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;
... | 139,936 |
ArtifactResolverException | /** Thrown by the ArtifactResolver when failing to resolve an Artifact. */
public class ArtifactResolverException extends Exception {
public ArtifactResolverException(String message) {
super(message);
}
public ArtifactResolverException(String message, Throwable cause) {
super(message, cause);
}
}
| .version 52 0
.class public super ArtifactResolverException
.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:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:24:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.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 22:24:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,937 |
Value | public class Value implements Comparable {
final int myVal;
final int herVal;
public Value(int myVal, int herVal) {
super();
this.myVal = myVal;
this.herVal = herVal;
}
public boolean equals(Object o) {
return o instanceof Value && myVal == ((Value) o).myVal && herVal == ((Value) o).herVal;
... | .version 52 0
.class public super Value
.super java/lang/Object
.implements java/lang/Comparable
.field final myVal I
.field final herVal 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: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:14:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:14: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;
... | 139,938 |
AccumulatorResult | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008-2017. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | .version 52 0
.class public super AccumulatorResult
.super java/lang/Object
.field public value J
.field public count 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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:23: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
* Sun Jul 03 23:23: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;
... | 139,939 |
BaseInstance | public class BaseInstance {
protected String uid;
protected String name;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
| .version 52 0
.class public super BaseInstance
.super java/lang/Object
.field protected uid Ljava/lang/String;
.field protected 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: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:32: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 11:32: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;
... | 139,940 |
LoggerConfig | /** Created by JMIM on 6/29/2015. */
public class LoggerConfig {
public static final boolean ON = true;
} // end class.
| .version 52 0
.class public super LoggerConfig
.super java/lang/Object
.field public static final ON Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:25: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 07:25: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;
... | 139,941 |
StaticMethods2 | /*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* 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 app... | .version 52 0
.class public super StaticMethods2
.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
* Sun Jul 03 16:14:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:14:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,942 |
PublishFilesHelper | import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.time.Instant;
import java.util.List;
/** Created by masepi on 11.08.16. */
public class PublishFilesHelper {
static PublishFilesHelp... | .version 52 0
.class public super PublishFilesHelper
.super java/lang/Object
.field static publishFilesHelper LPublishFilesHelper;
.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
* Mon Jul 04 05:34:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.file.Path;
import java.util.LinkedList;
import java.util.concurrent.ExecutorService;
import java.util... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:34:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,943 |
Answer | public class Answer {
private Long id;
private String optionTag;
private String text;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getOptionTag() {
return optionTag;
}
public void setOptionTag(String optionTag) {
this.optionTag = ... | .version 52 0
.class public super Answer
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private optionTag Ljava/lang/String;
.field private text Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:26:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:26: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;
... | 139,944 |
WateringDuration | /** Value holder for the configured duration for a watering station. */
class WateringDuration {
private int stationId;
private int minutes;
public int getStationId() {
return stationId;
}
public void setStationId(int stationId) {
this.stationId = stationId;
}
public int getMinutes() {
ret... | .version 52 0
.class super WateringDuration
.super java/lang/Object
.field private stationId I
.field private minutes I
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:25:32 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:25:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,945 |
DiffFormatException | /*
* DiffFormatException.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public ... | .version 52 0
.class public super DiffFormatException
.super java/lang/IllegalArgumentException
.field private static final serialVersionUID J = 7949356716139877435L
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:36: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
* Sun Jul 03 18:36: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;
... | 139,946 |
FlockDBException | /**
* Thrown to indicate, that either the FlockDB server threw an FlockException and propagated it to
* the client (us), or a ThriftException was thrown, which may indicate a network communication
* error. A FlockDBException wraps the original exception, so that some information concerning the
* original problem sh... | .version 52 0
.class public super FlockDBException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/Exception;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/Throwable;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:38:00 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.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:38: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;
... | 139,947 |
ExistingContributorException | /**
* Exception to indicate that an activist does already contribute to a project.
*
* @author Rico Bergmann
*/
public class ExistingContributorException extends RuntimeException {
private static final long serialVersionUID = -2196435583324697128L;
public ExistingContributorException() {}
public ExistingCon... | .version 52 0
.class public super ExistingContributorException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -2196435583324697128L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:12: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 03:12: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;
... | 139,948 |
Flyweight | /**
* Flyweight.
*
* @author blinkfox on 2018-12-19.
*/
public abstract class Flyweight {
/** 外部状态. */
protected final String extrinsic;
/** 内部状态. */
private String intrinsic;
/**
* 构造方法,要求享元角色必须接受外部状态.
*
* @param extrinsic 外部状态
*/
public Flyweight(String extrinsic) {
this.extrinsic =... | .version 52 0
.class public super abstract Flyweight
.super java/lang/Object
.field protected final extrinsic Ljava/lang/String;
.field private intrinsic Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <in... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:27: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
* Sun Jul 03 16:27:56 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... | 139,949 |
LibraryKey | public class LibraryKey {
private String _id;
private String value;
private String[] ids;
private String count;
public String get_id() {
return _id;
}
public void set_id(String _id) {
this._id = _id.replace("__", "|");
}
public String getValue() {
return value;
}
public void setVal... | .version 52 0
.class public super LibraryKey
.super java/lang/Object
.field private _id Ljava/lang/String;
.field private value Ljava/lang/String;
.field private ids [Ljava/lang/String;
.field private count Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:12:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:12: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;
... | 139,950 |
Utils | /** Created by marek on 28/11/15. */
public class Utils {
public static final int TASK_STATE_TODAY = 0;
public static final int TASK_STATE_BACKLOG = 1;
public static final int TASK_STATE_FINISHED = 2;
}
| .version 52 0
.class public super Utils
.super java/lang/Object
.field public static final TASK_STATE_TODAY I = 0
.field public static final TASK_STATE_BACKLOG I = 1
.field public static final TASK_STATE_FINISHED I = 2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:58:59 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:58:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,951 |
Prueba1String | /*
* 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 dam132
*/
public class Prueba1String {
/**
* @param s
*/
public static void main(String[] s) {
String c... | .version 52 0
.class public super Prueba1String
.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 12
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:32: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 15:32: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;
... | 139,952 |
DeadLockSample | public class DeadLockSample {
private Object lockObjA = new Object();
private Object lockObjB = new Object();
public void methodA() {
synchronized (lockObjA) {
try {
Thread.sleep(5000);
synchronized (lockObjB) {
System.out.println("methodA");
}
} catch (Interrup... | .version 52 0
.class public super DeadLockSample
.super java/lang/Object
.field private lockObjA Ljava/lang/Object;
.field private lockObjB Ljava/lang/Object;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:09:53 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 13:09:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,953 |
Pessoa | /*
* 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 Lucas
*/
public class Pessoa {
private int idPessoa;
private String nome;
private String tipo;
private String ... | .version 52 0
.class public super Pessoa
.super java/lang/Object
.field private idPessoa I
.field private nome Ljava/lang/String;
.field private tipo Ljava/lang/String;
.field private ra Ljava/lang/String;
.field private email Ljava/lang/String;
.field private instituicao Ljava/lang/String;
.field private cpf ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:45: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
* Fri Jul 01 20:45: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;
... | 139,954 |
TryFinally | // Test case for issue #293: https://github.com/typetools/checker-framework/issues/293
// Thanks to Ed Price for the test case.
// Design space:
// try
// ..
// catch: 7 varieties
// * absent
// * catch Throwable
// * catch Exception
// for each of the "present" types of catch:
// * no action
// ... | .version 52 0
.class public super TryFinally
.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 21
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:13:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:13: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;
... | 139,955 |
CookieUtils | import java.net.HttpCookie;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
public class CookieUtils {
static final DateFormat cookiesDateFormat =
new SimpleDateFormat("EEE, dd MMM yyyy hh:mm:ss z", Locale.ENGLISH);
public static String cookieToString(HttpCookie cookie) {... | .version 52 0
.class public super CookieUtils
.super java/lang/Object
.field static final cookiesDateFormat 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
* Mon Jul 04 16:18:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.HttpCookie;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:18: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;
... | 139,956 |
karim3 | /*
made by ARIES Abd elkarim 11/09/2008 07:10:19
*/
import java.awt.Graphics;
public class karim3 extends java.applet.Applet {
double k_function(double x) {
return (1 / Math.sin(5 * x));
}
public void paint(Graphics k_graph) {
int x0, y0, x1, y1, r, w;
double i, l, p, pi = 3.141592654;
w = get... | .version 52 0
.class public super karim3
.super java/applet/Applet
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/applet/Applet <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:12:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:12: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;
... | 139,957 |
AuthorStat | public class AuthorStat {
/*
* 文章数:150 评论数:338 访问量:970440 无忧币:12689 博客积分:6074 博客等级:8 注册日期:2006-11-11
*/
private int articleNum;
private int commentNum;
private int visitNum;
private int credit;
private int rank;
private String registerDate;
public int getArticleNum() {
return articleNum;
}
... | .version 52 0
.class public super AuthorStat
.super java/lang/Object
.field private articleNum I
.field private commentNum I
.field private visitNum I
.field private credit I
.field private rank I
.field private registerDate Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:13:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:13: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;
... | 139,958 |
TYunResourceCollectionEntity | import java.io.Serializable;
import java.util.Date;
/**
* 资源单-用户关系表
*
* @author zc
* @email chao.zhou@unicall.net.cn
* @date 2017-06-19 13:52:10
*/
public class TYunResourceCollectionEntity implements Serializable {
private static final long serialVersionUID = 1L;
//
private String id;
// 资源单id
privat... | .version 52 0
.class public super TYunResourceCollectionEntity
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private id Ljava/lang/String;
.field private resourceId Ljava/lang/String;
.field private memberId Ljava/lang/String;
.field private ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:41:17 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
* Mon Jul 04 04:41: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;
... | 139,959 |
OwnerRepresentation | import java.io.Serializable;
public class OwnerRepresentation implements Serializable {
private static final long serialVersionUID = 1L;
private String key;
private String displayName;
public OwnerRepresentation() {}
public OwnerRepresentation(String key, String displayName) {
this.key = key;
thi... | .version 52 0
.class public super OwnerRepresentation
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private key Ljava/lang/String;
.field private displayName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:47: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
* Sat Jul 02 14:47: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;
... | 139,960 |
Constants | /** Created by flyfox 369191470@qq.com on 2017/4/20. */
public class Constants {
/** 后台路径 */
public static final String[] BACK_PATHS = {"demo", "system", "report", "admin"};
/** 后台忽略路径 */
public static final String[] BACK_ANON_PATHS = {
"admin/login", "admin/imagecode", "admin/captcha.jpg", "admin/trans",... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final BACK_PATHS [Ljava/lang/String;
.field public static final BACK_ANON_PATHS [Ljava/lang/String;
.field public static final BACK_LOGIN_URL Ljava/lang/String; = '/admin/login'
.method public <init> : ()V
.code stack 1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:32: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 04:32: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;
... | 139,961 |
Test | /**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* <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
*
* <p... | .version 52 0
.class public super Test
.super java/lang/Object
.field private m_beforeClass Ljava/lang/reflect/Method;
.field private m_afterClass Ljava/lang/reflect/Method;
.field private m_before Ljava/lang/reflect/Method;
.field private m_after Ljava/lang/reflect/Method;
.field private tests Ljava/util/List; ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:20:26 GMT 2022
*/
import static org.junit.Assert.*;
import java.lang.reflect.Method;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:20: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;
... | 139,962 |
HexUtils | public class HexUtils {
public static final float DELTA_WIDTH = (float) (Math.sqrt(3) / 2);
private static final float DELTA_HEIHT = 0.75f;
private static final byte[] direction = {-1, 5, 0, 4, -1, 1, 3, 2, -1};
public static final byte[] dq = {1, 1, 0, -1, -1, 0};
public static final byte[] dr = {-1, 0, 1,... | .version 52 0
.class public super HexUtils
.super java/lang/Object
.field public static final DELTA_WIDTH F
.field private static final DELTA_HEIHT F = +0.75f
.field private static final direction [B
.field public static final dq [B
.field public static final dr [B
.field public static final angle [F
.method ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:27: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 06:27: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;
... | 139,963 |
KeyboardTextsTable | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public final super KeyboardTextsTable
.super java/lang/Object
.field private static final sNameToIndexesMap Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.field private static final sLocaleToTextsTableMap Lj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:34:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:34: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;
... | 139,964 |
a7xeltektt | // This file is automatically generated.
/*
* Samsung Galaxy A7 (2016)
*
* DEVICE: a7xeltektt
* MODEL: SM-A710K
*/
final class a7xeltektt {
public static final String DATA = "Samsung|Galaxy A7 (2016)|Galaxy A";
}
| .version 52 0
.class final super a7xeltektt
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'Samsung|Galaxy A7 (2016)|Galaxy A'
.method <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
* Sun Jul 03 18:51: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 18:51: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;
... | 139,965 |
Os | /*************************GO-LICENSE-START*********************************
* Copyright 2015 ThoughtWorks, 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... | .version 52 0
.class public super Os
.super java/lang/Object
.field private static final OS_NAME Ljava/lang/String;
.field private static final OS_ARCH Ljava/lang/String;
.field private static final OS_VERSION Ljava/lang/String;
.field private static final PATH_SEP Ljava/lang/String;
.field private family Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:16:36 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 00:16: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;
... | 139,966 |
ConversionException | /*******************************************************************************
* Copyright 2016 Guy Davenport
*
* 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.apach... | .version 52 0
.class public super ConversionException
.super java/lang/Exception
.field static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: invokevirtual Method java/lang/Throwable getMessage ()Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:03:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:03: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;
... | 139,967 |
Animal | /** Created by Rajesh on 6/25/2016. */
public class Animal { // dog,horse,elephant
int legsCount;
String sound;
String color;
String gender;
public void makeSound() {
System.out.println("dont know ");
}
}
| .version 52 0
.class public super Animal
.super java/lang/Object
.field legsCount I
.field sound Ljava/lang/String;
.field color Ljava/lang/String;
.field gender Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:33:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:33:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,968 |
TreeNode | /** Created by wuyunfeng on 2017/6/26. */
public class TreeNode {}
| .version 52 0
.class public super TreeNode
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:41: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
* Sat Jul 02 19:41: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;
... | 139,969 |
ChocolatecraftBooleans | /*Copyright 2012, infina (C. Bouton)
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
notice, this list of conditions and the following d... | .version 52 0
.class public super ChocolatecraftBooleans
.super java/lang/Object
.field public static LOG_POISON_DEFAULT Z
.field public static LOG_POISON Z
.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 19:09: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:09: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;
... | 139,970 |
User | public class User {
private Integer userId;
private String username;
private String password;
private String email;
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public ... | .version 52 0
.class public super User
.super java/lang/Object
.field private userId Ljava/lang/Integer;
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.field private email Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:20:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:20: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;
... | 139,971 |
PredictAttribute | import java.io.Serializable;
/**
* @author xautjzd
*/
public class PredictAttribute implements Serializable {
private static final long serialVersionUID = 1L;
private double X_Average;
private double Y_Average;
private double Z_Average;
private double X_Deviation;
private double Y_Deviation;
private... | .version 52 0
.class public super PredictAttribute
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private X_Average D
.field private Y_Average D
.field private Z_Average D
.field private X_Deviation D
.field private Y_Deviation D
.field priv... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:18:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:18: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;
... | 139,972 |
GetReportTest | /** User: alkedr Date: 04.02.2015 */
public class GetReportTest {
private static final Integer item = 1;
private static final Integer extractedItem = 42;
private static final String itemOfWrongClass = "blah";
// @Test
// public void reportIsEmpty() {
// assertThat(new NoOpReportingMatcher().ge... | .version 52 0
.class public super GetReportTest
.super java/lang/Object
.field private static final item Ljava/lang/Integer;
.field private static final extractedItem Ljava/lang/Integer;
.field private static final itemOfWrongClass Ljava/lang/String; = 'blah'
.method public <init> : ()V
.code stack 1 locals... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:31: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
* Mon Jul 04 02:31: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;
... | 139,973 |
LetterCombinationsofaPhoneNumber | import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
public class LetterCombinationsofaPhoneNumber {
public List<String> letterCombinations(String digits) {
List<String> result;
if (digits == null || digits.length() == 0) {
result = new ArrayList... | .version 52 0
.class public super LetterCombinationsofaPhoneNumber
.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 linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:33:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:33: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;
... | 139,974 |
NoSuchElementException | /*
* Copyright 2008-2011 Zuse Institute Berlin (ZIB)
*
* 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 applica... | .version 52 0
.class public super NoSuchElementException
.super java/lang/Exception
.field private static final serialVersionUID J = 6714125977083001944L
.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 07:10:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:10: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;
... | 139,975 |
ConvertList | import java.util.ArrayList;
import java.util.List;
/**
* В классе ConvertList из 3-го задания 1-го урока написать метод: public List<Integer> convert
* (List<int[]> list) В этом методе вы должны пройтись по всем элементам всех массивов в списке list
* и добавить их в один общий лист Integer. Массивы в списке list м... | .version 52 0
.class public super ConvertList
.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 18
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:52:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:52: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;
... | 139,976 |
ServiceException | /***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/**
* Exception, that is thrown when an error occured while performing a non authorised operation or a
* service error occu... | .version 52 0
.class public super ServiceException
.super java/lang/Exception
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Authorisation failed!'
L3: invokespecial Method ServiceException <init> (Ljava/lang/String;)V
L6: return
L7:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:05:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:05: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;
... | 139,977 |
JbArrayList | public class JbArrayList {
private transient Object[] elements;
}
| .version 52 0
.class public super JbArrayList
.super java/lang/Object
.field private transient elements [Ljava/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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:43: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
* Mon Jul 04 05:43: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;
... | 139,978 |
KeyValues | /**
* ============================================================================ Copyright The Ohio
* State University Research Foundation, The University of Chicago - Argonne National Laboratory,
* Emory University, SemanticBits LLC, and Ekagra Software Technologies Ltd.
*
* <p>Distributed under the OSI-approve... | .version 52 0
.class public super KeyValues
.super java/lang/Object
.implements java/io/Serializable
.field private values Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:47:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:47: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;
... | 139,979 |
ResourceSyncController | /*
* Copyright (c) 2010-2013 Evolveum
*
* 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 agre... | .version 52 0
.class public super ResourceSyncController
.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
* Sat Jul 02 05:53: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
* Sat Jul 02 05:53: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;
... | 139,980 |
PrintAllSubstrings | public class PrintAllSubstrings {
public static void main(String[] args) {
new PrintAllSubstrings("Aditya");
}
public PrintAllSubstrings(String aString) {
printAllSubstrings(aString);
}
public void printAllSubstrings(String aString) {
for (int i = 0; i < aString.length(); i++) {
for (int j... | .version 52 0
.class public super PrintAllSubstrings
.super java/lang/Object
.method public static main : ([Ljava/lang/String;)V
.code stack 3 locals 1
L0: new PrintAllSubstrings
L3: dup
L4: ldc 'Aditya'
L6: invokespecial Method PrintAllSubstrings <init> (Ljava/lang/String;)V
L9: pop
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:54:52 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 06:54: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;
... | 139,981 |
DeleteStackResult | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | .version 52 0
.class public super DeleteStackResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:31:59 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 10:31: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;
... | 139,982 |
HttpException | public class HttpException extends RuntimeException {
private final int status;
public HttpException(int status) {
super();
this.status = status;
}
public HttpException(int status, String message) {
super(message);
this.status = status;
}
public HttpException(int status, String message, T... | .version 52 0
.class public super HttpException
.super java/lang/RuntimeException
.field private final status I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Htt... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:13:42 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
* Sat Jul 02 04:13: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;
... | 139,983 |
P6 | public class P6 {
public static void main(String[] args) {
int ss = 0;
int sum = 0;
for (int i = 1; i <= 100; i++) {
sum += i;
ss += i * i;
}
System.out.println(sum * sum - ss);
}
}
| .version 52 0
.class public super P6
.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 meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:21:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:21: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;
... | 139,984 |
SerialisationFailedException | public class SerialisationFailedException extends RuntimeException {
public SerialisationFailedException(Throwable throwable) {
super(throwable);
}
}
| .version 52 0
.class public super SerialisationFailedException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/Throwable;)V
L5: return
L6... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:31:21 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
* Sun Jul 03 18:31: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;
... | 139,985 |
Item | public class Item {
public String name;
public String description;
private String id;
public long create;
public Item() {}
public Item(String name, String description, long create) {
this.name = name;
this.description = description;
this.create = create;
}
public Item(String name, Strin... | .version 52 0
.class public super Item
.super java/lang/Object
.field public name Ljava/lang/String;
.field public description Ljava/lang/String;
.field private id Ljava/lang/String;
.field public create J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:41: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 17:41: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;
... | 139,986 |
LessThanParam | /**
* 封装小于的参数
*
* @author Darwin(Tianxin)
*/
public class LessThanParam {
Object value;
public LessThanParam(Object value) {
this.value = value;
}
public Object getValue() {
return value;
}
}
| .version 52 0
.class public super LessThanParam
.super java/lang/Object
.field value Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field Less... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:52: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
* Sat Jul 02 07:52: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;
... | 139,987 |
FileUtil | import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.jar.JarFile;
import java.util.jar.JarInputStream;
import ja... | .version 52 0
.class public super FileUtil
.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 17
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:23:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:23: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;
... | 139,988 |
TestMessage | /** Created by afrieze on 3/9/17. */
public class TestMessage {
private String text;
private int someNumber;
public TestMessage() {}
public TestMessage(String text, int someNumber) {
this.text = text;
this.someNumber = someNumber;
}
public String getText() {
return text;
}
public void s... | .version 52 0
.class public super TestMessage
.super java/lang/Object
.field private text Ljava/lang/String;
.field private someNumber I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:04: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 02:04: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;
... | 139,989 |
ZeroMap | /*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super ZeroMap
.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 35
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:14:01 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.Random;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:14:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,990 |
SigningTokenException | // Copyright 2021 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | .version 52 0
.class public super SigningTokenException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: aconst_null
L3: invokespecial Method SigningTokenException <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:46:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:46: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;
... | 139,991 |
NewSpecExample49 | /*
* jaspex-mls: a Java Software Speculative Parallelization Framework
* Copyright (C) 2015 Ivo Anjo <ivo.anjo@ist.utl.pt>
*
* This file is part of jaspex-mls.
*
* jaspex-mls 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... | .version 52 0
.class public super NewSpecExample49
.super java/io/FilterReader
.method private <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: new java/io/StringReader
L4: dup
L5: ldc 'Hello World'
L7: invokespecial Method java/io/StringReader <init> (Ljava/lang/String;)V
L10: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:07:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:07:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,992 |
Sequence | /** Created by Hongxin Zhang on 7/15/20. */
public class Sequence {
String id;
String molecule;
String query;
Integer version;
String seq;
String desc;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getMolecule() {
return molecule;
... | .version 52 0
.class public super Sequence
.super java/lang/Object
.field id Ljava/lang/String;
.field molecule Ljava/lang/String;
.field query Ljava/lang/String;
.field version Ljava/lang/Integer;
.field seq Ljava/lang/String;
.field desc Ljava/lang/String;
.method public <init> : ()V
.code stack 1 loca... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:09:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:09: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;
... | 139,993 |
Zoo1 | public class Zoo1 {
public static void main(String args[]) {
Feeder f = new Feeder("小李");
// 饲养员小李喂养一只狮子
f.feedLion(new Lion());
// 饲养员小李喂养十只猴子
for (int i = 0; i < 10; i++) {
f.feedMonkey(new Monkey());
}
// 饲养员小李喂养5只鸽子
for (int i = 0; i < 5; i++) {
f.feedPigeon(new Pigeon(... | .version 52 0
.class public super Zoo1
.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
* Fri Jul 01 09:31:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:31: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;
... | 139,994 |
UID | /*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 1996, 2011. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication ... | .version 52 0
.class public final super UID
.super java/lang/Object
.implements java/io/Serializable
.field private static hostUnique I
.field private static hostUniqueSet Z
.field private static final lock Ljava/lang/Object;
.field private static lastTime J
.field private static lastCount S
.field private sta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:45:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:45: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;
... | 139,995 |
SSHUtil | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... | .version 52 0
.class public super SSHUtil
.super java/lang/Object
.field public static final PASSPHRASE_PROMPT Ljava/util/regex/Pattern;
.field public static final PASSWORD_PROMPT Ljava/util/regex/Pattern;
.field public static final PASSWORD_PROMPT_SUFFIX Ljava/lang/String; = 'password:'
.field public static fina... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:32:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:32: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;
... | 139,996 |
ShellSorter | import java.util.ArrayList;
import java.util.List;
public class ShellSorter {
public static void sort(int[] array) {
List<Integer> columns = new ArrayList<Integer>();
int c = 1;
while (c < array.length) {
columns.add(c);
c = 3 * c + 1;
}
for (int s = columns.size() - 1; s >= 0; s--) {... | .version 52 0
.class public super ShellSorter
.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 5
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:54:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:54: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;
... | 139,997 |
ByteFlip | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class ByteFlip {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStr... | .version 52 0
.class public super ByteFlip
.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 07:52:09 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 07:52: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;
... | 139,998 |
EditDistance | /*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the "License"). You may not use this file except
* in compliance with the License.
*
* You can obtain a copy of the license at
* https://jwsdp.dev.java.net/CDDLv1.0.html
* See the License for the spe... | .version 52 0
.class public super EditDistance
.super java/lang/Object
.field private cost [I
.field private back [I
.field private final a Ljava/lang/String;
.field private final b Ljava/lang/String;
.method public static editDistance : (Ljava/lang/String;Ljava/lang/String;)I
.code stack 4 locals 2
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:55:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:55: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;
... | 139,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.