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 |
|---|---|---|---|---|---|
Currency | /*
* Copyright 2007 Sun Microsystems, Inc.
* All rights reserved. You may not modify, use,
* reproduce, or distribute this software except in
* compliance with the terms of the License at:
* http://developer.sun.com/berkeley_license.html
*/
import java.text.NumberFormat;
import java.util.*;
public class Curre... | .version 52 0
.class public super Currency
.super java/lang/Object
.field private locale Ljava/util/Locale;
.field private amount D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aconst_null
L6: putf... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:04:11 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
* Sat Jul 02 11:04: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;
... | 134,200 |
Cachorro | import java.util.Date;
public class Cachorro {
private String nome;
private String raca;
private int numeroCanil;
private Date dataDeNascimento;
private boolean temPedigree;
private String telefone;
public Date getDataDeNascimento() {
return dataDeNascimento;
}
public void setDataDeNascimento(... | .version 52 0
.class public super Cachorro
.super java/lang/Object
.field private nome Ljava/lang/String;
.field private raca Ljava/lang/String;
.field private numeroCanil I
.field private dataDeNascimento Ljava/util/Date;
.field private temPedigree Z
.field private telefone Ljava/lang/String;
.method public ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:39:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:39:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,201 |
PaperSize | /* Copyright 2012 Yaqiang Wang,
* yaqiang.wang@gmail.com
*
* 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 later version... | .version 52 0
.class public super PaperSize
.super java/lang/Object
.field private _name Ljava/lang/String;
.field private _width I
.field private _height I
.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 15:52:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:52:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,202 |
IPUtil | public class IPUtil {
/**
* ip补全为15位
*
* @param ip
* @return
*/
public static String ipComplete(String ip) {
if (ip == null || "".equals(ip)) {
return "";
}
String ips[] = ip.split("\\.");
String newIp = "";
for (int i = 0; i < ips.length; i++) {
String ip1 = ips[i];
... | .version 52 0
.class public super IPUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:59:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:59:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,203 |
ClassForNameTarget | public class ClassForNameTarget {
static {
System.out.println("ClassForName初始化的时候加载静态代码块");
}
}
| .version 52 0
.class public super ClassForNameTarget
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:28: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
* Mon Jul 04 14:28: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;
... | 134,204 |
User | public class User {
private int userId;
private String userName;
private String team;
private String email;
private String password;
private String admin;
public String getAdmin() {
return admin;
}
public void setAdmin(String admin) {
this.admin = admin;
}
public String getUserName() {... | .version 52 0
.class public super User
.super java/lang/Object
.field private userId I
.field private userName Ljava/lang/String;
.field private team Ljava/lang/String;
.field private email Ljava/lang/String;
.field private password Ljava/lang/String;
.field private admin Ljava/lang/String;
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:00: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
* Fri Jul 01 19:00: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;
... | 134,205 |
InvalidKeySpecException | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public super InvalidKeySpecException
.super java/security/GeneralSecurityException
.field private static final serialVersionUID J = 3546139293998810778L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15: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
* Fri Jul 01 15: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;
... | 134,206 |
TorpedoStore | import java.util.Random;
/** Class storing and managing the torpedos of a ship */
public class TorpedoStore {
private int torpedos = 0;
private Random generator = new Random();
public TorpedoStore(int numberOfTorpedos) {
this.torpedos = numberOfTorpedos;
}
public boolean fire(int numberOfTorpedos) {
... | .version 52 0
.class public super TorpedoStore
.super java/lang/Object
.field private torpedos I
.field private generator Ljava/util/Random;
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:36:24 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 19:36: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;
... | 134,207 |
Author | public class Author {
private String firstName;
private String lastName;
private String nickName; // mandatory
private String email; // mandatory used as id
private String info; // data of original code author (if from other)
public Author(String firstName, String lastName, String nickName, String email, S... | .version 52 0
.class public super Author
.super java/lang/Object
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field private nickName Ljava/lang/String;
.field private email Ljava/lang/String;
.field private info Ljava/lang/String;
.method public <init> : (Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:45:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:45: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;
... | 134,208 |
FbUser | import java.io.Serializable;
public class FbUser implements Serializable {
private String id, first_name, last_name, email;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getEmail() {
return email;
}
public void setEmail(String email) ... | .version 52 0
.class public super FbUser
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/String;
.field private first_name Ljava/lang/String;
.field private last_name Ljava/lang/String;
.field private email Ljava/lang/String;
.method public <init> : ()V
.code stack 1 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:46: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 18:46: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;
... | 134,209 |
CharacterEncodingTest | /*
* Copyright (C) 2015 Andreas Maier
* CONRAD is developed as an Open Source project under the GNU General Public License (GPL).
*/
/**
* This is a test case to check whether the character encoding of your eclipse project is correctly
* configured. If you get an error compiling this file, you need to set your ch... | .version 52 0
.class public super CharacterEncodingTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:19:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:19:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,210 |
LiteralTemplateExample | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class public super LiteralTemplateExample
.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 26
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:45:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20: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;
... | 134,211 |
QueryTest | import java.io.*;
import java.nio.file.*;
import java.sql.*;
import java.util.*;
/**
* This program demonstrates several complex database queries.
*
* @version 1.30 2012-06-05
* @author Cay Horstmann
*/
public class QueryTest {
private static final String allQuery = "SELECT Books.Price, Books.Title FROM Books";... | .version 52 0
.class public super QueryTest
.super java/lang/Object
.field private static final allQuery Ljava/lang/String; = 'SELECT Books.Price, Books.Title FROM Books'
.field private static final authorPublisherQuery Ljava/lang/String; = 'SELECT Books.Price, Books.Title FROM Books, BooksAuthors, Authors, Publish... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:34:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.file.NoSuchFileException;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import ... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:34:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,212 |
Product | public class Product {
private String name;
private double price;
private boolean onSale;
private double weight;
public Product() {
name = "unknown";
price = 0.0;
onSale = false;
weight = 0.0;
}
public Product(
String initialName, double initialPrice, boolean initialOnSale, doubl... | .version 52 0
.class public super Product
.super java/lang/Object
.field private name Ljava/lang/String;
.field private price D
.field private onSale Z
.field private weight D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:27: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 20:27: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;
... | 134,213 |
XmlRpcException | /*
* Copyright 1999,2005 The Apache Software Foundation.
*
* 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 ap... | .version 52 0
.class public super XmlRpcException
.super java/lang/Exception
.field public final code I
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: aload_2
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: aload_0
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:20:25 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: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;
... | 134,214 |
WaitForInvestigationUserEntity | public class WaitForInvestigationUserEntity {
/**
* @lanyangjia
*/
private int waitId;
private int investigationId;
private String waitUserName;
private int flag; // 是否已经回收
private int isfill;
public int getIsfill() {
return isfill;
}
public void setIsfill(int isfill) {
this.isfill = ... | .version 52 0
.class public super WaitForInvestigationUserEntity
.super java/lang/Object
.field private waitId I
.field private investigationId I
.field private waitUserName Ljava/lang/String;
.field private flag I
.field private isfill I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:21:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:21:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,215 |
DownloadError | public class DownloadError extends RuntimeException {
private static final long serialVersionUID = 7835308901669107488L;
public DownloadError() {}
public DownloadError(Throwable e) {
super(e);
}
public DownloadError(String str) {
super(str);
}
}
| .version 52 0
.class public super DownloadError
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 7835308901669107488L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:02:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:02: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;
... | 134,216 |
Ats | import java.lang.annotation.Annotation;
public class Ats {
private final Class c;
private Annotation a;
public Ats(Class c) {
this.c = c;
}
public <A extends Annotation> boolean has(Class<A> annotation) {
return c.isAnnotationPresent(annotation);
}
public <A extends Annotation> A get(Class<A> ... | .version 52 0
.class public super Ats
.super java/lang/Object
.field private final c Ljava/lang/Class;
.field private a Ljava/lang/annotation/Annotation;
.method public <init> : (Ljava/lang/Class;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:54:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.annotation.Annotation;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:54: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;
... | 134,217 |
CharConstants | public final class CharConstants {
private CharConstants() {} // prevent instantiation
public static final char NUL = '\0';
public static final char BKSP = '\b';
public static final char TAB = '\t';
public static final char LF = '\n';
public static final char FF = '\f';
public static final char CR = '\r'... | .version 52 0
.class public final super CharConstants
.super java/lang/Object
.field public static final NUL C = 0
.field public static final BKSP C = 8
.field public static final TAB C = 9
.field public static final LF C = 10
.field public static final FF C = 12
.field public static final CR C = 13
.field pub... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:11:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:11:44 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... | 134,218 |
MapsType | public class MapsType {
public MapsType() {}
public static final String Typical = "typical"; // 普通地图
public static final String Satellite = "satellite"; // 航片
public static final String Airscape = "airscape"; // 卫片
public static final String None = "none"; // 无地图类型
}
| .version 52 0
.class public super MapsType
.super java/lang/Object
.field public static final Typical Ljava/lang/String; = 'typical'
.field public static final Satellite Ljava/lang/String; = 'satellite'
.field public static final Airscape Ljava/lang/String; = 'airscape'
.field public static final None Ljava/lang/... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:43: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 19:43: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;
... | 134,219 |
ComplexValueEncoding | // $HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
Department of Geography, University of Bonn
and
lat/lon GmbH
This library is free software; you can redistribute it and/or modify it under
... | .version 52 0
.class public super ComplexValueEncoding
.super java/lang/Object
.field protected encoding Ljava/net/URI;
.field protected format Ljava/lang/String;
.field protected schema Ljava/net/URL;
.method public <init> : (Ljava/lang/String;Ljava/net/URI;Ljava/net/URL;)V
.code stack 2 locals 4
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:40:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.net.URI;
import java.net.URL;
import java.net.URLStreamHandler;
import org.evosuite.runtime.EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:40:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,220 |
BubbleSortOptimised | public class BubbleSortOptimised {
public static void sort(Integer[] array) {
int unsortedBelow = array.length;
while (unsortedBelow != 0) {
int lastSwap = 0;
for (int i = 1; i < unsortedBelow; i++) {
if (array[i - 1] > array[i]) {
swap(array, i, i - 1);
lastSwap = i;
... | .version 52 0
.class public super BubbleSortOptimised
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:39:43 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 15:39: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;
... | 134,221 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG 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 4 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:31:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:31: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;
... | 134,222 |
Build | import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Map;
/** Jenkins build. */
public class Build {
public static final transient DateFormat DATE_FORMATTER =
new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
private String timestamp;
private int number;... | .version 52 0
.class public super Build
.super java/lang/Object
.field public static final transient DATE_FORMATTER Ljava/text/DateFormat;
.field private timestamp Ljava/lang/String;
.field private number I
.field private jobName Ljava/lang/String;
.field private result Ljava/lang/String;
.field private startTi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:08:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.ZoneId;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:08: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;
... | 134,223 |
Threads | /** Copyright (c) 2005-2012 springside.org.cn */
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
/**
* 线程相关工具类.
*
* @author calvin
* @version 2013-01-15
*/
public class Threads {
/** sleep等待,单位为毫秒,忽略InterruptedException. */
public static void sleep(long millis) {
try {
... | .version 52 0
.class public super Threads
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:58:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.TimeUnit;
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 19:58: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;
... | 134,224 |
RuntimeEnvironmentDetails | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | .version 52 0
.class public super RuntimeEnvironmentDetails
.super java/lang/Object
.field private deployerImplementationVersion Ljava/lang/String;
.field private deployerName Ljava/lang/String;
.field private deployerSpiVersion Ljava/lang/String;
.field private javaVersion Ljava/lang/String;
.field private plat... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:01:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:01:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,225 |
Tool | public class Tool {
private long id;
private String name;
private String description;
public Tool(long id, String name, String description) {
super();
this.id = id;
this.name = name;
this.description = description;
}
public long getId() {
return id;
}
public String getName() {
... | .version 52 0
.class public super Tool
.super java/lang/Object
.field private id J
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.method public <init> : (JLjava/lang/String;Ljava/lang/String;)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:40:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:40: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;
... | 134,226 |
UUIDUtil | import java.net.InetAddress;
/**
* 生成类似Hibernate中UUID 32位主键序列
*
* @version: V1.0
*/
public class UUIDUtil {
private static final int IP;
private static int IptoInt(byte[] bytes) {
int result = 0;
for (int i = 0; i < 4; i++) {
result = (result << 8) - Byte.MIN_VALUE + (int) bytes[i];
}
r... | .version 52 0
.class public super UUIDUtil
.super java/lang/Object
.field private static final IP I
.field private static counter S
.field private static final JVM I
.field private static final sep Ljava/lang/String; = ''
.method private static IptoInt : ([B)I
.code stack 3 locals 3
L0: iconst_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:41:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:41:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,227 |
PrivilegeJson | /*
* 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 Mohamed Sayyaff
*/
public class PrivilegeJson {
/** Privilegecode property */
private String privilegeCode;
/** ... | .version 52 0
.class public super PrivilegeJson
.super java/lang/Object
.field private privilegeCode Ljava/lang/String;
.field private checked Z
.field private privilegeName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:53:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:53:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,228 |
Solution | import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the
* characters in s can be replaced to get t. All occurrences of a character must be replaced with
* another character while preserving the orde... | .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 18
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:27:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:27: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;
... | 134,229 |
TicketParser | /*
* PHEX - The pure-java Gnutella-servent.
* Copyright (C) 2001 - 2008 Phex Development Group
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
*... | .version 52 0
.class public super TicketParser
.super java/lang/Object
.field private static final GOODNESS_PATTERN Ljava/util/regex/Pattern;
.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 03:46:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:46: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;
... | 134,230 |
City | public class City {
private int id;
private String cityName;
private String cityCode;
private int provinceId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
... | .version 52 0
.class public super City
.super java/lang/Object
.field private id I
.field private cityName Ljava/lang/String;
.field private cityCode Ljava/lang/String;
.field private provinceId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:37:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:37: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;
... | 134,231 |
Province | public class Province {
private int id;
private String provinceName;
private String provinceCode;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
... | .version 52 0
.class public super Province
.super java/lang/Object
.field private id I
.field private provinceName Ljava/lang/String;
.field private provinceCode 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
* Mon Jul 04 06:38: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
* Mon Jul 04 06:38: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;
... | 134,232 |
OptionalResource | /*
* The MIT License
*
* Copyright 2016 Simon Berndt.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... | .version 52 0
.class public final super OptionalResource
.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 35
L4 36
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:12:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.InputStream;
import java.io.SequenceInputStream;
import java.util.Optional;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPa... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:12: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;
... | 134,233 |
FlagSystemForm | /*
karate geek
Copyright (C) 2012 michael theodorides <mc.theodorides@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License,... | .version 52 0
.class public super FlagSystemForm
.super javax/swing/JFrame
.field private jButton1 Ljavax/swing/JButton;
.field private jButton10 Ljavax/swing/JButton;
.field private jButton11 Ljavax/swing/JButton;
.field private jButton15 Ljavax/swing/JButton;
.field private jButton16 Ljavax/swing/JButton;
.fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:34:24 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 12:34: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;
... | 134,234 |
PaymentStatus | public class PaymentStatus {}
| .version 52 0
.class public super PaymentStatus
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:13: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
* Sat Jul 02 08:13: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;
... | 134,235 |
MacUtils | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* MAC地址工具
*
* @author Blooms
* @version 2013-12-21
*/
public class MacUtils {
/** 获取当前操作系统名称. return 操作系统名称 例如:windows,Linux,Unix等. */
public static String getOSName() {
return System.getProperty("os.name").t... | .version 52 0
.class public super MacUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:54:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:54: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;
... | 134,236 |
SunService | public class SunService {}
| .version 52 0
.class public super SunService
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:46: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 09:46: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;
... | 134,237 |
Stock | public class Stock {
public Stock(String name, Double value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getValue() {
return value;
}
public void setValue(Double value) ... | .version 52 0
.class public super Stock
.super java/lang/Object
.field private name Ljava/lang/String;
.field private value Ljava/lang/Double;
.method public <init> : (Ljava/lang/String;Ljava/lang/Double;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:59: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 12:59: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;
... | 134,238 |
DeepNoSuchFieldException | /*
* Copyright 2014, Stratio.
*
* 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 wri... | .version 52 0
.class public super DeepNoSuchFieldException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 4552228341917254900L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:06:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:06: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;
... | 134,239 |
HessianRemote | /*
* Copyright (c) 2001-2004 Caucho Technology, Inc. All rights reserved.
*
* The Apache Software License, Version 1.1
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code mu... | .version 52 0
.class public super HessianRemote
.super java/lang/Object
.field private type Ljava/lang/String;
.field private url Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:10:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:10: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;
... | 134,240 |
Person | /** Created by Harish on 9/2/2016. */
public class Person {
String name;
int photoId;
public Person(String name, int photoId) {
this.name = name;
this.photoId = photoId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int get... | .version 52 0
.class public super Person
.super java/lang/Object
.field name Ljava/lang/String;
.field photoId I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:40: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 09:40: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;
... | 134,241 |
Constants | /**
* Application constants
*
* @author Mourya,Rajala (rajala.mourya@gmail.com)
* @created 07/16/2016 03:19:13 PM
* @version 1.0
*/
public class Constants {
public static final double baseWeight = 130;
}
| .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final baseWeight D = +130.0
.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
* Mon Jul 04 02:50:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:50:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,242 |
importStaticMethodDemo | /** Created with GeneralTest. User: IFT8 Date: 2014/9/30 */
import static java.lang.System.out;
import static java.util.Arrays.sort;
public class importStaticMethodDemo {
public static void main(String[] args) {
String[] strings = {"a", "z", "x", "s", "d"};
for (String string : strings) {
// 省去System
... | .version 52 0
.class public super importStaticMethodDemo
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:10: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
* Sat Jul 02 08:10: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;
... | 134,243 |
ValidParentheses | import java.util.*;
public class ValidParentheses {
/**
* @param args
*/
public static boolean isValid(String s) {
Stack<String> stack = new Stack<String>();
Map<String, String> oper = new HashMap<String, String>();
oper.put("(", ")");
oper.put("[", "]");
oper.put("{", "}");
for (int... | .version 52 0
.class public super ValidParentheses
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:38:08 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 08:38:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,244 |
SuperTest | /*
* Copyright (C) 2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class super SuperTest
.super java/lang/Object
.field thingies C
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: bipush 98
L7: putfield Field SuperTest thingies C
L10: return
L11:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:42: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 08:42: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;
... | 134,245 |
SwitchableOutputStream | import java.io.IOException;
import java.io.OutputStream;
abstract class SwitchableOutputStream extends OutputStream {
public SwitchableOutputStream() {
super();
}
protected abstract void internalWrite(byte[] b, int off, int len) throws IOException;
protected abstract long getSwitchDuration();
/*
*... | .version 52 0
.class super abstract SwitchableOutputStream
.super java/io/OutputStream
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: return
L5:
.linenumbertable
L0 9
L4 10
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:01: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
* Fri Jul 01 22:01:18 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... | 134,246 |
ParseException | /*
* Copyright 2008-2011 the original author or authors.
*
* 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 ap... | .version 52 0
.class public super ParseException
.super java/lang/Exception
.field private static final serialVersionUID J = -7880698968187728548L
.field public static final ERROR_UNEXPECTED_CHAR I = 0
.field public static final ERROR_UNEXPECTED_TOKEN I = 1
.field public static final ERROR_UNEXPECTED_EXCEPTION I ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15: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
* Sat Jul 02 15:53:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,247 |
JsonValueWrapper | import java.io.Serializable;
/**
* Class is used to wrap JSON values coming from clients (OData consumers).
* JsonValueWrapperFieldBridge is used as a bridge which allows indexing of the JSON payload.
*
* @author Tomas Sykora <tomas@infinispan.org>
*/
public final class JsonValueWrapper implements Serializable {
... | .version 52 0
.class public final super JsonValueWrapper
.super java/lang/Object
.implements java/io/Serializable
.field private final json Ljava/lang/String;
.field private hashCode I
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:35: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 17:35: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;
... | 134,248 |
IdentityFactory | /*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | .version 52 0
.class public final super IdentityFactory
.super java/lang/Object
.field public static final FACTORY_METHOD Ljava/lang/String; = 'createIdentical'
.method private <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 14:29: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
* Sat Jul 02 14:29: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;
... | 134,249 |
Man | public class Man {
final String name;
String prefix;
String gender;
String LastName = "No hay";
private static final String TOTO = "valor1";
public Man(String name) {
this(name, "Sr.");
}
public Man(String name, String prefix) {
this(name, prefix, "M");
}
public Man(String name, String ... | .version 52 0
.class public super Man
.super java/lang/Object
.field final name Ljava/lang/String;
.field prefix Ljava/lang/String;
.field gender Ljava/lang/String;
.field LastName Ljava/lang/String;
.field private static final TOTO Ljava/lang/String; = 'valor1'
.method public <init> : (Ljava/lang/String;)V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:15:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:15:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,250 |
JumpGame2 |
/** https://leetcode.com/problems/jump-game-ii/description/ */
public class JumpGame2 {
public int jump(int[] a) {
if (a.length <= 1) return 0;
int startIdx = 0 + 1;
int endIdx = 0 + a[0];
boolean reached = false;
int count = 0;
while (!reached) {
++count;
int nextEndIdx = start... | .version 52 0
.class public super JumpGame2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:18:47 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 16:18: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;
... | 134,251 |
URLs | /*
* Copyright (c) 2013 the original author or authors
*
* 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 appli... | .version 52 0
.class public final super URLs
.super java/lang/Object
.method public static encode : (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
.code stack 4 locals 3
.catch java/io/UnsupportedEncodingException from L0 to L8 using L9
L0: aload_0
L1: aload_1
L2: invo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:15:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.charset.Charset;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:15:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,252 |
RobocarResponse | /** Created by antonio on 4/5/17. */
public class RobocarResponse {
private int code;
private String message;
public RobocarResponse() {}
public RobocarResponse(int code, String message) {
this.code = code;
this.message = message;
}
public int getCode() {
return code;
}
public void setC... | .version 52 0
.class public super RobocarResponse
.super java/lang/Object
.field private code I
.field private message 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:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:11:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:11:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,253 |
MappingJackson2XmlViewTest | public class MappingJackson2XmlViewTest {}
| .version 52 0
.class public super MappingJackson2XmlViewTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:00:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:00: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;
... | 134,254 |
SolutionFindingException | /*
* Copyright (c) 2012 Unai Aguilera
*
* 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... | .version 52 0
.class public super SolutionFindingException
.super java/lang/Exception
.field private static final serialVersionUID J = 6248837790859732749L
.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 12:43:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:43: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;
... | 134,255 |
VitessParameterMetaData | /*
* Copyright 2019 The Vitess Authors.
* 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 w... | .version 52 0
.class public super VitessParameterMetaData
.super java/lang/Object
.implements java/sql/ParameterMetaData
.field private final parameterCount I
.method <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iloa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:23:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.SQLException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:23: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;
... | 134,256 |
UtilFunction | public class UtilFunction {
public static double min(double a, double b) {
return ((a < b) ? a : b);
}
public static double max(double a, double b) {
return ((a > b) ? a : b);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
| .version 52 0
.class public super UtilFunction
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:52: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
* Sat Jul 02 07:52: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;
... | 134,257 |
ResourceNotFoundException | /*
* $Source$
* $Revision$
*
* Copyright (C) 2001 Myles Chippendale
*
* Part of Melati (http://melati.org), a framework for the rapid
* development of clean, maintainable web applications.
*
* Melati is free software; Permission is granted to copy, distribute
* and/or modify this software under the terms eith... | .version 52 0
.class super ResourceNotFoundException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.field resource Ljava/lang/String;
.field message Ljava/lang/String;
.method <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)V
.code stack 2 locals 4
L0: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:17: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 16:17: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;
... | 134,258 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG 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 4 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:11: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 11:11: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;
... | 134,259 |
ApplicationClock | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Clock;
import java.time.Instant;
import java.time.ZoneId;
import java.util.Date;
/**
* Clock that acts as time emitter for the application. Uses a java.time.clock.SystemClock (UTC) by
* default.
*/
public class ApplicationClock {
... | .version 52 0
.class public super ApplicationClock
.super java/lang/Object
.field public static final DATE_FORMAT Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field private static clock Ljava/time/Clock;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:57:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Clock;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:57: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;
... | 134,260 |
SimpleCharStream | /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.0 */
/**
* An implementation of interface CharStream, where the stream is assumed to contain only ASCII
* characters (without unicode processing).
*/
public class SimpleCharStream {
public static final boolean staticFlag = false;
int... | .version 52 0
.class public super SimpleCharStream
.super java/lang/Object
.field public static final staticFlag Z = 0
.field bufsize I
.field available I
.field tokenBegin I
.field public bufpos I
.field protected bufline [I
.field protected bufcolumn [I
.field protected column I
.field protected line I
.f... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:48:09 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.DataInpu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:48: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;
... | 134,261 |
RedefineMethodInBacktraceTarget | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super RedefineMethodInBacktraceTarget
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 28
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:59:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:59: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;
... | 134,262 |
XYImageAnnotationTest | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2022, by David Gilbert and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/index.html
... | .version 52 0
.class public super XYImageAnnotationTest
.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 42
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:43: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
* Sun Jul 03 15:43: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;
... | 134,263 |
Bug1784 | /*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | .version 52 0
.class public super Bug1784
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 27
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:21:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:21:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,264 |
Fare | /** */
/**
* @author antonio.cirasole
*/
public class Fare {
private Double value;
private String currency;
/**
* @return the value
*/
public Double getValue() {
return value;
}
/**
* @param value the value to set
*/
public void setValue(Double value) {
this.value = value;
}
/*... | .version 52 0
.class public super Fare
.super java/lang/Object
.field private value Ljava/lang/Double;
.field private currency 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:
.li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:09:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:09:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,265 |
SimpleFromValueProvider | public class SimpleFromValueProvider {
public String fromValue(String s) {
throw new RuntimeException("Force error");
}
}
| .version 52 0
.class public super SimpleFromValueProvider
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:22:48 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 12:22:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,266 |
AbstractAccount | public abstract class AbstractAccount {
protected double balance;
public AbstractAccount() {
this.balance = 0;
}
public void deposit(double balance) {
if (balance > 0) this.balance += balance;
else throw new IllegalArgumentException("Du må sette inn minst en eller fler kroner");
}
public void... | .version 52 0
.class public super abstract AbstractAccount
.super java/lang/Object
.field protected balance D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dconst_0
L6: putfield Field AbstractAccount... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:59:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:59:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 134,267 |
UserConstants | /** Created by Ivaylo on 17.3.2017 г.. */
public class UserConstants {
public static final String USER_NAME = "admin";
public static final String USER_PASSWORD = "admin";
}
| .version 52 0
.class public super UserConstants
.super java/lang/Object
.field public static final USER_NAME Ljava/lang/String; = 'admin'
.field public static final USER_PASSWORD Ljava/lang/String; = 'admin'
.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 07:46: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 07:46: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;
... | 134,268 |
SomeFunctions | import java.util.Arrays;
public class SomeFunctions {
public static void main(String[] args) {
int[] myArr = getMyArr();
System.out.println(Arrays.toString(myArr));
iAmAVoidFunc();
int myNum = getANum();
System.out.println(myNum);
String hello = "Hello";
saySomething(hello);
St... | .version 52 0
.class public super SomeFunctions
.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
* Mon Jul 04 00:03: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
* Mon Jul 04 00:03: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;
... | 134,269 |
ExceptionAntiflood | /** Created on 02/02/2016. */
public class ExceptionAntiflood extends Exception {
public ExceptionAntiflood(String detailMessage) {
super(detailMessage);
}
}
| .version 52 0
.class public super ExceptionAntiflood
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:39:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:39: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;
... | 134,270 |
Node | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
import java.util.UUID;
/**
* TODO : javadoc
*
* @author Steve Ebersole
*/
pub... | .version 52 0
.class public super Node
.super java/lang/Object
.field private id Ljava/util/UUID;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:02:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Random;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:02: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;
... | 134,271 |
FutureTest | import java.io.*;
import java.util.*;
import java.util.concurrent.*;
/**
* @version 1.01 2012-01-26
* @author Cay Horstmann
*/
public class FutureTest {
public static void main(String[] args) {
try (Scanner in = new Scanner(System.in)) {
System.out.print("Enter base directory (e.g. /usr/local/jdk5.0/src... | .version 52 0
.class public super FutureTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:22:27 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
* Mon Jul 04 01:22: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;
... | 134,272 |
JdtMessageIds | /** Message identifiers for messages sent by the RemoteTestRunner. */
public class JdtMessageIds {
/** The header length of a message, all messages have a fixed header length */
public static final int MSG_HEADER_LENGTH = 8;
/**
* Notification that a test trace has started. The end of the trace is signaled by ... | .version 52 0
.class public super JdtMessageIds
.super java/lang/Object
.field public static final MSG_HEADER_LENGTH I = 8
.field public static final TRACE_START Ljava/lang/String; = '%TRACES '
.field public static final TRACE_END Ljava/lang/String; = '%TRACEE '
.field public static final EXPECTED_START Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:09: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 07:09: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;
... | 134,273 |
Name | /** Created by Nitin.Khobragade on 2/4/2015. */
public class Name {
private static final String SINGLE_SPACE = " ";
private String prefix;
private String given;
private String middle;
private String surname;
private String suffix;
public String getPrefix() {
return prefix;
}
public void setPrefi... | .version 52 0
.class public super Name
.super java/lang/Object
.field private static final SINGLE_SPACE Ljava/lang/String; = ' '
.field private prefix Ljava/lang/String;
.field private given Ljava/lang/String;
.field private middle Ljava/lang/String;
.field private surname Ljava/lang/String;
.field private suff... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:31: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
* Sat Jul 02 16:31: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;
... | 134,274 |
Envios | import java.io.DataOutputStream;
import java.io.IOException;
public class Envios implements Runnable {
// private DataOutputStream saida;
private boolean executando = true;
private String Menssagem;
private DataOutputStream saida;
public Envios(DataOutputStream saida2) {
this.saida = saida2;
}
@O... | .version 52 0
.class public super Envios
.super java/lang/Object
.implements java/lang/Runnable
.field private executando Z
.field private Menssagem Ljava/lang/String;
.field private saida Ljava/io/DataOutputStream;
.method public <init> : (Ljava/io/DataOutputStream;)V
.code stack 2 locals 2
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:28:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.OutputStream;
import java.io.Pi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:28: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;
... | 134,275 |
TestRandom | import java.util.Random;
/**
* @author 矛戈 on 2017/10/16.
*/
public class TestRandom {
public static void main(String[] args) throws ClassNotFoundException {
System.out.println(TestRandom.class.getClassLoader());
Class<?> aClass = TestRandom.class.getClassLoader().loadClass("com.niux.spring.ByteBuffer2");
... | .version 52 0
.class public super TestRandom
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:11:26 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:11: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;
... | 134,276 |
Main | // "Replace with collect" "true"
import java.util.List;
import java.util.stream.Collectors;
public class Main {
public void testPrimitiveMap(List<String> data) {
List<String> list =
data.stream()
.filter(str -> str.startsWith("xyz"))
.mapToInt(String::length)
.filter(... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:02:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:02:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,277 |
Photo | /** Created by donglua on 15/6/30. */
public class Photo {
private int id;
private String path;
public Photo(int id, String path) {
this.id = id;
this.path = path;
}
public Photo() {}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof Photo)) ret... | .version 52 0
.class public super Photo
.super java/lang/Object
.field private id I
.field private path Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:07: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 11:07: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;
... | 134,278 |
MyServer | import java.io.IOException;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class MyServer {
public static void main(String[] args) {
try {
ServerSocket server = new ServerSocket(8888);
Socket client = server.accept(); // ½ÓÊÕ¿Í»§¶ËÇëÇó
OutputStream out... | .version 52 0
.class public super MyServer
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:10:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:10: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;
... | 134,279 |
Link | /*
* Copyright 2017 Rundeck, Inc. (http://rundeck.com)
*
* 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 appli... | .version 52 0
.class public super Link
.super java/lang/Object
.field private href Ljava/lang/String;
.field private contentType 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 17:09:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:09: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;
... | 134,280 |
CacheMap | public class CacheMap {
private String key; // 缓存ID
private Object value; // 缓存数据
private long timeOut; // 更新时间
private boolean expired; // 是否终止
public CacheMap() {
super();
}
public CacheMap(String key, Object value, long timeOut, boolean expired) {
this.key = key;
this.value = value;
... | .version 52 0
.class public super CacheMap
.super java/lang/Object
.field private key Ljava/lang/String;
.field private value Ljava/lang/Object;
.field private timeOut J
.field private expired Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:50:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:50: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;
... | 134,281 |
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.easemob.easeui";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
publi... | .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.easemob.easeui'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:54:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:54:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,282 |
D2 | import java.io.Serializable;
public class D2 implements Serializable {
protected int width;
protected int height;
public D2(int width, int height) {
this.width = width;
this.height = height;
}
public int getWidth() {
return width;
}
public void setWidth(int width) {
this.width = width... | .version 52 0
.class public super D2
.super java/lang/Object
.implements java/io/Serializable
.field protected width I
.field protected height I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:09: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 03:09: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;
... | 134,283 |
A | public class A {
Bar.B[] field = new Bar.B[] {new Bar.B()};
void f() {
int temp;
}
}
class Bar {
static class B {}
}
| .version 52 0
.class public super A
.super java/lang/Object
.field field [LBar$B;
.method public <init> : ()V
.code stack 6 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_1
L6: anewarray Bar$B
L9: dup
L10: iconst_0
L11: ne... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:42:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:42: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;
... | 134,284 |
Euler3 |
public class Euler3 {
public static void main(String[] args) {
Double n = new Double(600851475143.0), max_prime;
for (Double i = new Double(2.0); i < n; i++) {
// if (i%3 == 0 || i%5 == 0) sum+= i;
}
System.out.println();
}
}
| .version 52 0
.class public super Euler3
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:29:59 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 16:29: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;
... | 134,285 |
Rune | /** */
/**
* @author Cameron
*/
public class Rune {
private String description;
private int id;
private String name;
private int tier;
public String getDescription() {
return description;
}
public int getId() {
return id;
}
public String getName() {
return name;
}
public int ge... | .version 52 0
.class public super Rune
.super java/lang/Object
.field private description Ljava/lang/String;
.field private id I
.field private name Ljava/lang/String;
.field private tier I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:59: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 10:59: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;
... | 134,286 |
Ticker | import java.lang.ref.WeakReference;
import java.util.function.Consumer;
/**
* Ticker allows precise sequencing (ticking) for code running certain action with precise frequency
* - for example, executing an action every 20 ms. The time of the action can very and ticker will
* make sure it begins every 20 ms.<br>
* ... | .version 52 0
.class public super Ticker
.super java/lang/Object
.field private static final tickerGranularityHack Ljava/lang/Thread;
.field private tickTime J
.field private catchUpMaxDelta J
.field private warningMessagesConsumer Ljava/util/function/Consumer; .fieldattributes
.signature Ljava/util/function... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:18:36 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.util.function.Consumer;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:18: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;
... | 134,287 |
NotAloneTest | import java.util.Arrays;
public class NotAloneTest {
public static void main(String[] args) {
NotAloneTest test = new NotAloneTest();
System.out.println(Arrays.toString(test.notAlone(new int[] {1, 2, 3}, 2)));
System.out.println(Arrays.toString(test.notAlone(new int[] {1, 2, 3, 2, 5, 2}, 2)));
Syst... | .version 52 0
.class public super NotAloneTest
.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
* Sat Jul 02 09:24:43 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 09:24: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;
... | 134,288 |
StreamingActor | import java.util.Objects;
/** Actor for Streaming API */
public class StreamingActor {
private String endpoint;
private String key;
public StreamingActor(String endpoint, String key) {
this.endpoint = endpoint;
this.key = key;
}
public String getEndpoint() {
return endpoint;
}
public Str... | .version 52 0
.class public super StreamingActor
.super java/lang/Object
.field private endpoint Ljava/lang/String;
.field private key Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:18:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:18: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;
... | 134,289 |
BluetoothConstants | public class BluetoothConstants {
// Message types sent from the BluetoothChatService Handler
public static final int MESSAGE_STATE_CHANGE = 1;
public static final int MESSAGE_READ = 2;
public static final int MESSAGE_WRITE = 3;
public static final int MESSAGE_DEVICE_NAME = 4;
public static final int MESSA... | .version 52 0
.class public super BluetoothConstants
.super java/lang/Object
.field public static final MESSAGE_STATE_CHANGE I = 1
.field public static final MESSAGE_READ I = 2
.field public static final MESSAGE_WRITE I = 3
.field public static final MESSAGE_DEVICE_NAME I = 4
.field public static final MESSAGE_T... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:12: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 05:12: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;
... | 134,290 |
Person | // Facebook PagingData POJO
public class Person {
private String id;
private String name;
private String first_name;
private String last_name;
private String link;
private String username;
private String gender;
private String updated_time;
public String getId() {
return id;
}
public void s... | .version 52 0
.class public super Person
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private first_name Ljava/lang/String;
.field private last_name Ljava/lang/String;
.field private link Ljava/lang/String;
.field private username Ljava/lang/String; ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:12:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:12: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;
... | 134,291 |
User | // This code example is from the following source:
//
// Book Title: Programming with Objects, A Comparative Presentation
// of Object Oriented Programming with C++ and Java
//
// Book Author: Avinash Kak
//
// Chapter: Chapter 3 ---- The NOtion Of A Class And Some Other Key Ideas
//
// Section: ... | .version 52 0
.class super User
.super java/lang/Object
.field private name Ljava/lang/String;
.field private age I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:52: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
* Fri Jul 01 19:52: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;
... | 134,292 |
MultiplicityViolationException | /*
* USE - UML based specification environment
* Copyright (C) 1999-2004 Mark Richters, University of Bremen
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* Li... | .version 52 0
.class public super MultiplicityViolationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:49:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:49:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,293 |
StreamTest | import java.util.Arrays;
import java.util.List;
public class StreamTest {
public static void main(String[] args) {
testReduce();
}
private static void testReduce() {
List<Integer> list = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);
String text = list.stream().map(a -> Integer.toString(a)).reduc... | .version 52 0
.class public super StreamTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:24:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:24: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;
... | 134,294 |
Box | import java.awt.*;
/**
*
*
* <h2>What is a Box for the GameBoard2D library ?</h2>
*
* <p>For the GameBoard2D library, a box is a concept. A box represents 2 things, depending of the
* point of view.
*
* <p>First, a box is <b>an area</b> of the board. Those areas are physically viewable in the
* "cache" image ... | .version 52 0
.class public super Box
.super java/lang/Object
.field private point Ljava/awt/Point;
.field private cacheColor Ljava/awt/Color;
.method public <init> : (Ljava/awt/Point;Ljava/awt/Color;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:09:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import java.awt.Point;
import java.io.BufferedInputStream;
import java.io.PipedInputStream;
import java.io.SequenceInputStream;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:09:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 134,295 |
HttpOperationException | /**
* Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
*
* <p>Contact: SYSTAP, LLC 2501 Calvert ST NW #106 Washington, DC 20008 licenses@systap.com
*
* <p>This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free S... | .version 52 0
.class public super HttpOperationException
.super java/io/IOException
.field private static final serialVersionUID J = 1L
.field public final status I
.field public final mimeType Ljava/lang/String;
.field public final content Ljava/lang/String;
.method <init> : (ILjava/lang/String;Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:51: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
* Mon Jul 04 04:51: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;
... | 134,296 |
GetDataFromFile | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
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.InputStream... | .version 52 0
.class public super GetDataFromFile
.super java/lang/Object
.field static expName Ljava/lang/String;
.field static start J
.field static stop J
.field static macId Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:32:19 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
* Sat Jul 02 05:32: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;
... | 134,297 |
X | public class X {}
| .version 52 0
.class public super X
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:37:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:37: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;
... | 134,298 |
E | import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
public class E {... | .version 52 0
.class public super E
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertable
.end code
.end meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:27:27 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.util.Collection;
import java.util.Comparator;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:27: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;
... | 134,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.