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 |
|---|---|---|---|---|---|
Polynomial | import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Polynomial represents a polynomial from algebra with integer coefficients. e.g. 4x<sup>3</sup> +
* 3x<sup>2</sup> - 5x + 2
*
* <p>Polynomial extends ArrayList<Integer>, and contains the coefficients of the polynomial,... | .version 52 0
.class public super Polynomial
.super java/util/ArrayList
.field public static debug Z
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: iconst_1
L2: invokespecial Method java/util/ArrayList <init> (I)V
L5: aload_0
L6: iconst_0
L7: iconst_0
L8: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:34:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.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 08:34: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;
... | 135,600 |
Problem1128 | import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/** https://leetcode.com/problems/number-of-equivalent-domino-pairs/ */
public class Problem1128 {
public int numEquivDominoPairs(int[][] dominoes) {
int answer = 0;
Map<String, /*count*/ Integer> map = new HashMap<>();
int max = 0;... | .version 52 0
.class public super Problem1128
.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
* Sun Jul 03 22:53: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
* Sun Jul 03 22:53: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;
... | 135,601 |
Note | import java.util.Date;
public class Note {
private String issuer;
private String content;
private String sendingUserId;
private Date date;
private boolean fromTherapist;
public Note(String content, boolean fromTherapist) {
this.content = content;
this.fromTherapist = fromTherapist;
}
public ... | .version 52 0
.class public super Note
.super java/lang/Object
.field private issuer Ljava/lang/String;
.field private content Ljava/lang/String;
.field private sendingUserId Ljava/lang/String;
.field private date Ljava/util/Date;
.field private fromTherapist Z
.method public <init> : (Ljava/lang/String;Z)V
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:17:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:17:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,602 |
GearShift | /** Created by Billy Yuan on 2017/6/2. Email: billy112487983@gmail.com */
/*F1变速器一共有空挡,1-7前进档和倒挡,升档操作upShift,降档操作downShift*/
public class GearShift {
private static final int NEUTRAL_GEAR = 0;
private static final int FIRST_FORWARD_GEAR = 1;
private static final int SECOND_FORWARD_GEAR = 2;
private static fina... | .version 52 0
.class public super GearShift
.super java/lang/Object
.field private static final NEUTRAL_GEAR I = 0
.field private static final FIRST_FORWARD_GEAR I = 1
.field private static final SECOND_FORWARD_GEAR I = 2
.field private static final THIRD_FORWARD_GEAR I = 3
.field private static final FOURTH_FOR... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:56: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.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:56: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;
... | 135,603 |
PreferenceTest | import java.util.prefs.BackingStoreException;
/**
* @author suzheng
* @version v.1.0
*/
public class PreferenceTest {
public static void main(String[] args) throws BackingStoreException {
// Preferences preferences = Preferences.userRoot();
//
// preferences.addPreferenceChangeListener(e... | .version 52 0
.class public super PreferenceTest
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:20:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:20:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,604 |
TestArrayCopyToFromObject | /*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super TestArrayCopyToFromObject
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 31
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:11:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:11: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;
... | 135,605 |
Function | /*
* An bytecode compiler and interpreter for FOOL+ language in Java/ANTLR
*
* Course project for COMPILATORI E INTERPRETI (ANALISI STATICA DI PROGRAMMI)
* Copyright(R) 2017 Chun Tian, University of Bologna
*/
import java.io.*;
/***
* Excerpted from "Language Implementation Patterns", published by The Pragmati... | .version 52 0
.class public super Function
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -8903239810580923122L
.field name Ljava/lang/String;
.field nargs I
.field nlocals I
.field address I
.method public <init> : (Ljava/lang/String;III)V
.code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:38: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 03:38: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;
... | 135,606 |
Util | import java.lang.reflect.Array;
import java.util.logging.Logger;
final class Util {
static boolean textHasContent(String aText) {
return (aText != null) && (aText.trim().length() > 0);
}
static String quote(Object aObject) {
return SINGLE_QUOTE + String.valueOf(aObject) + SINGLE_QUOTE;
}
static St... | .version 52 0
.class final super Util
.super java/lang/Object
.field private static final SINGLE_QUOTE Ljava/lang/String; = "'"
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:40:21 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:40: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;
... | 135,607 |
NewWord | import java.util.ArrayList;
import java.util.List;
public class NewWord {
private String word;
private String representation;
private List<NewWord> similarWords = new ArrayList<NewWord>();
private int count;
public NewWord(String word, String representation, int count) {
this.word = word;
this.repre... | .version 52 0
.class public super NewWord
.super java/lang/Object
.field private word Ljava/lang/String;
.field private representation Ljava/lang/String;
.field private similarWords Ljava/util/List; .fieldattributes
.signature Ljava/util/List<LNewWord;>;
.end fieldattributes
.field private count I
.method... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:17:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:17: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;
... | 135,608 |
EndpointResponseHeader | public class EndpointResponseHeader {}
| .version 52 0
.class public super EndpointResponseHeader
.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 08:25:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:25: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;
... | 135,609 |
MeetingRoomsCalendarUpdate | /** Created by IntelliJ IDEA. User: heikkih Date: 2/20/12 Time: 2:27 PM */
public class MeetingRoomsCalendarUpdate {}
| .version 52 0
.class public super MeetingRoomsCalendarUpdate
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:49:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:49: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;
... | 135,610 |
Point | /**
* . check Point
*
* @author Alexander Golovatyuk
* @version $Id$
* @since 0.1
*/
public class Point {
/** . the first coordinate */
private int x;
/** . the second coordinate */
private int y;
/**
* . constructor
*
* @param x int
* @param y int
*/
public Point(int x, int y) {
t... | .version 52 0
.class public super Point
.super java/lang/Object
.field private x I
.field private y I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Point x I
L9: al... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:26:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:26:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,611 |
IpInfoBean | /**
* Copyright (c) 2015 Renato Del Gaudio
*
* <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, ... | .version 52 0
.class public super IpInfoBean
.super java/lang/Object
.field private ip Ljava/lang/String;
.field private hostname Ljava/lang/String;
.field private city Ljava/lang/String;
.field private region Ljava/lang/String;
.field private country Ljava/lang/String;
.field private loc Ljava/lang/String;
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:24:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:24:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,612 |
TornadoEvent | /*
* This file is part of AlmightyNotch.
*
* Copyright (c) 2014 <http://dev.bukkit.org/server-mods/almightynotch//>
*
* AlmightyNotch 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 versio... | .version 52 0
.class public super TornadoEvent
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:36:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:36: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;
... | 135,613 |
Rectangle | /** Created by ageneralov on 07.05.2016. */
public class Rectangle {
public double a;
public double b;
public Rectangle(double a, double b) {
this.a = a;
this.b = b;
}
public double area() {
return this.a * this.b;
}
}
| .version 52 0
.class public super Rectangle
.super java/lang/Object
.field public a D
.field public b D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Rectangle a D
L9: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:13: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
* Mon Jul 04 00:13: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;
... | 135,614 |
Blubb | /**
* @author <a href="mailto:herzog@raffael.ch">Raffael Herzog</a>
*/
public class Blubb {}
| .version 52 0
.class public super Blubb
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:39: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 04:39: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;
... | 135,615 |
TerminateVM | /**
* Terminate virtual machine using System class This example shows how to get currently running
* virtual machine by using exit method of Java System class.
*
* @author Keeyana Jones <keeyanajones@yahoo.com>
*/
public class TerminateVM {
public static void main(String[] args) {
/**
* To terminate vi... | .version 52 0
.class public super TerminateVM
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:16:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:16: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;
... | 135,616 |
Pet | /** Created by jarojas on 17/03/17. */
public class Pet {
private int id;
private String name;
private int rating;
private boolean like;
private int photoId;
public Pet(int id, String name, int rating, boolean like, int photoId) {
this.id = id;
this.name = name;
this.rating = rating;
this.l... | .version 52 0
.class public super Pet
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private rating I
.field private like Z
.field private photoId I
.method public <init> : (ILjava/lang/String;IZI)V
.code stack 2 locals 6
L0: aload_0
L1: invokespecial M... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:58:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:58:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,617 |
Constants | import java.text.DateFormat;
import java.text.SimpleDateFormat;
public class Constants {
public static final String name = "Deep: dependencies analyzer";
public static final float version = 1.2f;
public static final String setup_file = "deep.ini";
public static final DateFormat df = new SimpleDateFormat("HH:m... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final name Ljava/lang/String; = 'Deep: dependencies analyzer'
.field public static final version F = +1.2000000476837158f
.field public static final setup_file Ljava/lang/String; = 'deep.ini'
.field public static final df Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:49: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 20:49: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;
... | 135,618 |
RequestIndex | /**
* Simple POJO for Request.
*
* @author Mª Angeles Broullón Lozano.
*/
public class RequestIndex {
/** The path of the directory to index. */
private String dirPath;
/** Some description to index the files. */
private String description;
/** Some tags to index the files. */
private String tags;
/*... | .version 52 0
.class public super RequestIndex
.super java/lang/Object
.field private dirPath Ljava/lang/String;
.field private description Ljava/lang/String;
.field private tags Ljava/lang/String;
.field private group Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:35: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 03:35: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;
... | 135,619 |
BaseHeader | /** Created by kalen on 15/7/25. */
public abstract class BaseHeader {
public String message;
public boolean state;
}
| .version 52 0
.class public super abstract BaseHeader
.super java/lang/Object
.field public message Ljava/lang/String;
.field public state Z
.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
* Sun Jul 03 23:08:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:08:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,620 |
Impares | public class Impares extends Thread {
int acumulador = 0;
@Override
public void run() {
for (int i = 0; i <= 1000; i++) {
if (i % 2 != 0) {
acumulador += i;
}
}
System.out.println(acumulador);
}
}
| .version 52 0
.class public super Impares
.super java/lang/Thread
.field acumulador I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field Impares acumulador I
L9: return
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:34: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
* Mon Jul 04 06:34: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;
... | 135,621 |
EzidMetadata | import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
/** EZID metadata stored with the DOI. */
public class EzidMetadata {
public String getTitle() {
if (title == null || title.isEmpty()) {
throw ne... | .version 52 0
.class public super EzidMetadata
.super java/lang/Object
.field private static final SEPARATOR C = 58
.field private static final FIELD_TITLE Ljava/lang/String; = 'datacite.title'
.field private static final FIELD_CREATOR Ljava/lang/String; = 'datacite.creator'
.field private static final FIELD_PUBL... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:49:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:49: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;
... | 135,622 |
PositionException | /**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* <p>All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* <p... | .version 52 0
.class public super PositionException
.super java/lang/Exception
.field private static final serialVersionUID J = 2611760893640245224L
.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
* Sun Jul 03 19:07: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 19:07: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;
... | 135,623 |
Base64 | /** Created by Max on 24.02.2015. */
public class Base64 {
private static final char[] BASE64_ENC_TAB = {
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
'g', 'h', 'i', 'j', 'k', 'l', '... | .version 52 0
.class public super Base64
.super java/lang/Object
.field private static final BASE64_ENC_TAB [C
.field private static final BASE64_DEC_TAB [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
* Mon Jul 04 12:36:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:36: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;
... | 135,624 |
NameUtils | public abstract class NameUtils {
public static void validateIdentifier(String value, String name) {
if (value == null || value.length() == 0) {
throw new IllegalArgumentException(name + " is empty");
}
for (int i = 0; i < value.length(); i++) {
char ch = value.charAt(i);
if (!Character.... | .version 52 0
.class public super abstract NameUtils
.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
* Sat Jul 02 08:17:07 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:17:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,625 |
ReviewBoardServerException | /*
* Copyright 2015 Ritesh Kapoor
*
* 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 t... | .version 52 0
.class public super ReviewBoardServerException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:32: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 12:32: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;
... | 135,626 |
AboutOperators | public class AboutOperators {}
| .version 52 0
.class public super AboutOperators
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:11:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:11:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,627 |
ProtoDefs | public class ProtoDefs {
/* public static final short USBIP_VERSION = 0x0111; */
public static final short OP_REQUEST = (short) (0x80 << 8);
public static final short OP_REPLY = (0x00 << 8);
public static final byte ST_OK = 0x00;
public static final byte ST_NA = 0x01;
public static final byte OP_IMPORT =... | .version 52 0
.class public super ProtoDefs
.super java/lang/Object
.field public static final OP_REQUEST S = -32768
.field public static final OP_REPLY S = 0
.field public static final ST_OK B = 0
.field public static final ST_NA B = 1
.field public static final OP_IMPORT B = 3
.field public static final OP_RE... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:14:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:14: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;
... | 135,628 |
Account | /**
* Class Класс Account.
*
* @author Arseniy Kulkiov
* @since 11.08.2017
* @version 1
*/
public class Account {
/** Поле класса value - сумма на счету. */
private double value;
/** Поле класса requisites - реквизиты счета. */
private int requisites;
/**
* Конструктор.
*
* @param value - сумма... | .version 52 0
.class public super Account
.super java/lang/Object
.field private value D
.field private requisites I
.method public <init> : (DI)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Accoun... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:25:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:25: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;
... | 135,629 |
ArrayObject | public class ArrayObject {
private float[] verticesBuffer;
private float[] normalsBuffer;
private float[] txCoordsBuffer;
private short[] indicesBuffer;
public ArrayObject(
float[] verticesBuffer,
float[] normalsBuffer,
float[] txCoordsBuffer,
short[] indicesBuffer) {
super();
... | .version 52 0
.class public super ArrayObject
.super java/lang/Object
.field private verticesBuffer [F
.field private normalsBuffer [F
.field private txCoordsBuffer [F
.field private indicesBuffer [S
.method public <init> : ([F[F[F[S)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:48:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:48: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;
... | 135,630 |
YassSongListEvent | /*
* Yass - Karaoke Editor
* Copyright (C) 2009 Saruta
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | .version 52 0
.class public super YassSongListEvent
.super java/util/EventObject
.field public static final STARTING I = 0
.field public static final SEARCHING I = 1
.field public static final UPDATING I = 2
.field public static final LOADING I = 3
.field public static final LOADED I = 4
.field public static fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:57:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:57: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;
... | 135,631 |
HelloBean | public class HelloBean {
private int id;
private String name;
public synchronized int getId() {
return id;
}
public synchronized void setId(int id) {
this.id = id;
}
public synchronized String getName() {
return name;
}
public synchronized void setName(String name) {
this.name = na... | .version 52 0
.class public super HelloBean
.super java/lang/Object
.field private id I
.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:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:00: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 23:00: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;
... | 135,632 |
ShortestPathConfig | /* This file is part of LiveCG.
*
* Copyright (C) 2013 Sebastian Kuerten
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any late... | .version 52 0
.class public super ShortestPathConfig
.super java/lang/Object
.field private drawDualGraph Z
.field private drawNodeNumbers Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:57:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:57:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,633 |
LocRevenueWZMappingDto | /*
* Created on 9 Dec 2015 ( Time 12:11:59 )
* Generated by Telosys Tools Generator ( version 2.1.1 )
*/
import java.io.Serializable;
import java.util.Date;
public class LocRevenueWZMappingDto implements Serializable {
private static final long serialVersionUID = -8915969200923276281L;
private Long locrwzmpId... | .version 52 0
.class public super LocRevenueWZMappingDto
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -8915969200923276281L
.field private locrwzmpId Ljava/lang/Long;
.field private orgId Ljava/lang/Long;
.field private locId Ljava/lang/Long;
.field p... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:05:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:05:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,634 |
CardDeckLibrary | /** Created by vladimirryabchikov on 5/8/14. */
public class CardDeckLibrary {
public static final boolean DEBUG = false;
}
| .version 52 0
.class public super CardDeckLibrary
.super java/lang/Object
.field public static final DEBUG Z = 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 6
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:34:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:34:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,635 |
CalcNoiseResult | public class CalcNoiseResult {
/** sum of quantization noise > masking */
float over_noise;
/** sum of all quantization noise */
float tot_noise;
/** max quantization noise */
float max_noise;
/** number of quantization noise > masking */
int over_count;
/** SSD-like cost of distorted bands */
int o... | .version 52 0
.class public super CalcNoiseResult
.super java/lang/Object
.field over_noise F
.field tot_noise F
.field max_noise F
.field over_count I
.field over_SSD I
.field bits I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:27:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:27: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;
... | 135,636 |
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.victor.kaiser.pendergrast.settings";
public static final String BUILD_TYPE = "debug";
public static final String ... | .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.victor.kaiser.pendergrast.settings'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVO... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:29: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 11:29: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;
... | 135,637 |
DataCollectionContext | public class DataCollectionContext {
private String dataCollectionId;
private String serieId;
private String operationId;
public String getDataCollectionId() {
return dataCollectionId;
}
public void setDataCollectionId(String dataCollectionId) {
this.dataCollectionId = dataCollectionId;
}
... | .version 52 0
.class public super DataCollectionContext
.super java/lang/Object
.field private dataCollectionId Ljava/lang/String;
.field private serieId Ljava/lang/String;
.field private operationId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:12:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:12:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,638 |
TestJoin | public class TestJoin {
public static void main(String[] args) {
Caculator0 c0 = new Caculator0();
Caculator1 c1 = new Caculator1();
Caculator2 c2 = new Caculator2();
Thread t0 = new Thread(c0);
Thread t1 = new Thread(c1);
Thread t2 = new Thread(c2);
c2.setThread(t1);
c1.setThread(t0... | .version 52 0
.class public super TestJoin
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:15:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:15: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;
... | 135,639 |
InitiateJobResult | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | .version 52 0
.class public super InitiateJobResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private location Ljava/lang/String;
.field private jobId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:06:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:06: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;
... | 135,640 |
Constants | /** Created by J. Santiago Berrocoso on 20/4/16. jsbs87@gmail.com */
public class Constants {
public static final java.lang.String URL_INIT = "http://madriddespierto.com";
public static final String HEADER_APP = "Madrid Despierto-AndroidApp";
public static final long SPLASH_DELAY_TIME = 3000;
public static fina... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final URL_INIT Ljava/lang/String; = 'http://madriddespierto.com'
.field public static final HEADER_APP Ljava/lang/String; = 'Madrid Despierto-AndroidApp'
.field public static final SPLASH_DELAY_TIME J = 3000L
.field public st... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:57:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:57: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;
... | 135,641 |
InvalidCoverageReport | public class InvalidCoverageReport extends Exception {
private static final long serialVersionUID = 4416281368384493962L;
public InvalidCoverageReport() {
super();
}
public InvalidCoverageReport(String message, Throwable cause) {
super(message, cause);
}
public InvalidCoverageReport(String messag... | .version 52 0
.class public super InvalidCoverageReport
.super java/lang/Exception
.field private static final serialVersionUID J = 4416281368384493962L
.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 15:17:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:17:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,642 |
RobotMap | /**
* The RobotMap is a mapping from the ports sensors and actuators are wired into to a variable name.
* This provides flexibility changing wiring, makes checking the wiring easier and significantly
* reduces the number of magic numbers floating around.
*/
public class RobotMap {
// For example to map the left ... | .version 52 0
.class public super RobotMap
.super java/lang/Object
.field public static final FRONT_LEFT_TALON I = 0
.field public static final BACK_LEFT_TALON I = 0
.field public static final FRONT_RIGHT_TALON I = 0
.field public static final BACK_RIGHT_TALON I = 0
.field public static final DRIVE_ENCODER_1 I =... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:26:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:26: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;
... | 135,643 |
Base64DecoderException | // Copyright 2002, Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | .version 52 0
.class public super Base64DecoderException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:01: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
* Mon Jul 04 16:01: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;
... | 135,644 |
ResourceNotFoundException | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | .version 52 0
.class public super ResourceNotFoundException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/StringBuilder <init> ()V
L8: ldc 'Resource ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:07:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:07: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;
... | 135,645 |
Production3629 | public class Production3629 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production3629
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:37:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:37:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,646 |
UnknownIntervalException | import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/** Simple {@link RuntimeException} that is used when an interval is neither short nor long */
public class UnknownIntervalException extends RuntimeException {
private static final long serialVersionUID = -7030163248191... | .version 52 0
.class public super UnknownIntervalException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -7030163248191198652L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Run... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:25: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 13:25: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;
... | 135,647 |
Image | /**
* Copyright 2015 Joshua Cain
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... | .version 52 0
.class public super Image
.super java/lang/Object
.field private url Ljava/lang/String;
.field private title Ljava/lang/String;
.field private link Ljava/lang/String;
.field private width Ljava/lang/String;
.field private height Ljava/lang/String;
.field private description Ljava/lang/String;
.m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:50:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:50: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;
... | 135,648 |
AppCloudIntegrationTestConstants | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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... | .version 52 0
.class public super AppCloudIntegrationTestConstants
.super java/lang/Object
.field public static final APPCLOUD_PRODUCT_GROUP Ljava/lang/String; = 'AppCloud'
.field public static final DEFAULT_TENANT_ADMIN Ljava/lang/String; = '//appCloudProperties/defaultTenant/admin'
.field public static final DEF... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:36:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:36:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,649 |
DataPattern | /*
* Copyright 2002-2020 Raphael Mudge
*
* 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 must retain the above copyright notice, this list of
* conditions and the following ... | .version 52 0
.class public super DataPattern
.super java/lang/Object
.field public next LDataPattern;
.field public count I
.field public value C
.field public size I
.field public order Ljava/nio/ByteOrder;
.field private static patternCache Ljava/util/HashMap;
.method public <init> : ()V
.code stack 2... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:47:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.ByteOrder;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:47: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;
... | 135,650 |
PlayerStat | public class PlayerStat {
public String name;
public int statVal = 0;
public PlayerStat() {}
;
public PlayerStat(String name, int value) {
this.name = name;
this.statVal = value;
}
}
| .version 52 0
.class public super PlayerStat
.super java/lang/Object
.field public name Ljava/lang/String;
.field public statVal I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:46:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:46: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;
... | 135,651 |
RequestException | /**
* weixin request exception.
*
* @author duanbn
*/
public class RequestException extends Exception {
/**
* @param msg
*/
public RequestException(final String msg) {
super(msg);
}
/**
* @param t
*/
public RequestException(final Throwable t) {
super(t);
}
/**
* @param msg
... | .version 52 0
.class public super RequestException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:58:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:58: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;
... | 135,652 |
ToDoItem | import java.util.UUID;
/** Created by radu on 16/11/2016. */
public class ToDoItem {
private UUID id;
private String text;
private String address;
private boolean done;
public ToDoItem() {}
public ToDoItem(String text, String address, boolean done) {
this.id = UUID.randomUUID();
this.text = text;... | .version 52 0
.class public super ToDoItem
.super java/lang/Object
.field private id Ljava/util/UUID;
.field private text Ljava/lang/String;
.field private address Ljava/lang/String;
.field private done Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:40:37 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 17:40: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;
... | 135,653 |
Metric | import java.util.Objects;
/**
* @author ashish
*/
public class Metric implements Comparable<Metric> {
private final String name;
private final String unit;
private final int retention;
private final int frequeny;
public Metric(String name, String unit, int frequency, int retention) {
assert (name != n... | .version 52 0
.class public super Metric
.super java/lang/Object
.implements java/lang/Comparable
.field private final name Ljava/lang/String;
.field private final unit Ljava/lang/String;
.field private final retention I
.field private final frequeny I
.field static final synthetic $assertionsDisabled Z
.meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:04:39 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 10:04: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;
... | 135,654 |
StuckServer | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | .version 52 0
.class public final super StuckServer
.super java/lang/Object
.field private serverSocket Ljava/net/ServerSocket;
.field private clients Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/net/Socket;>;
.end fieldattributes
.method public <init> : ()V
.code stack ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:44:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:44: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;
... | 135,655 |
RuleData | /** author: boybook Nukkit Project */
public class RuleData {
public String name;
public boolean unknown1;
public boolean unknown2;
}
| .version 52 0
.class public super RuleData
.super java/lang/Object
.field public name Ljava/lang/String;
.field public unknown1 Z
.field public unknown2 Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:12:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:12: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;
... | 135,656 |
EnhancedScanRecordsWithExpression | // snippet-start:[dynamodb.java2.mapping.scanEx.import]
// snippet-end:[dynamodb.java2.mapping.scanEx.import]
/** This example is depreciated, see the Scenario example. */
public class EnhancedScanRecordsWithExpression {
public static void main(String[] args) {
System.out.println("This example is depreciated, ... | .version 52 0
.class public super EnhancedScanRecordsWithExpression
.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 linenumbe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:13:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:13:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,657 |
EmbeddedSquawkClassLoader | /*
* Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* only, as published by the Free Software Foundation... | .version 52 0
.class public super EmbeddedSquawkClassLoader
.super java/lang/ClassLoader
.method public static varargs runMain : (Ljava/lang/String;[Ljava/lang/String;)V
.code stack 6 locals 5
L0: new EmbeddedSquawkClassLoader
L3: dup
L4: invokespecial Method EmbeddedSquawkClassLoader <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:01:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:01: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;
... | 135,658 |
bankHacker | import java.util.Calendar;
import java.util.Random;
/** Created by Kill-o-bite on 11/17/2016. */
public class bankHacker {
protected String name;
protected String description;
private int progress;
private Random r = new Random();
int timeHelper;
final int start;
final int end;
int hourNow;
// Cale... | .version 52 0
.class public super bankHacker
.super java/lang/Object
.field protected name Ljava/lang/String;
.field protected description Ljava/lang/String;
.field private progress I
.field private r Ljava/util/Random;
.field timeHelper I
.field final start I
.field final end I
.field hourNow I
.method <in... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:08: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
* Mon Jul 04 05:08: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;
... | 135,659 |
BioTcpTimeQuery | /****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | .version 52 0
.class public super BioTcpTimeQuery
.super java/lang/Object
.field private static DAYTIME_PORT I
.field private static port I
.field private static charset Ljava/nio/charset/Charset;
.field private static decoder Ljava/nio/charset/CharsetDecoder;
.field private static dbuf Ljava/nio/ByteBuffer;
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:41:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:41: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;
... | 135,660 |
Address | /** Created by evacchi on 16/02/15. */
public class Address {
String id, street, zipCode, city, state;
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}... | .version 52 0
.class public super Address
.super java/lang/Object
.field id Ljava/lang/String;
.field street Ljava/lang/String;
.field zipCode Ljava/lang/String;
.field city Ljava/lang/String;
.field state Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:41:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:41:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,661 |
TestConstants | /*
* JaspertReports JSF Plugin Copyright (C) 2011 A. Alonso Dominguez
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any ... | .version 52 0
.class public super abstract TestConstants
.super java/lang/Object
.field public static final PROP_BASEDIR Ljava/lang/String; = 'basedir'
.field public static final PROP_DOCUMENT_ROOT Ljava/lang/String; = 'documentRoot'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:19:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:19:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,662 |
SpeedInfo | import java.util.Scanner;
public class SpeedInfo {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double speed = Double.parseDouble(scanner.nextLine());
if (speed <= 10) {
System.out.println("slow");
} else if (speed > 10 && speed <= 50) {
System.out.p... | .version 52 0
.class public super SpeedInfo
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:32:08 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.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:32: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;
... | 135,663 |
IPAddressUtil | import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
/** Created by whydk on 10/31/2016. */
public abstract class IPAddressUtil {
private static final int INADDR4SZ = 4;
private static final int INADDR16SZ = 16;
private static final int INT... | .version 52 0
.class public super abstract IPAddressUtil
.super java/lang/Object
.field private static final INADDR4SZ I = 4
.field private static final INADDR16SZ I = 16
.field private static final INT16SZ I = 2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:16:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:16:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,664 |
Account | /*
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super Account
.super java/lang/Object
.field private accountNo J
.field private 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 Accoun... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:41: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 00:41: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;
... | 135,665 |
Assertions | /*
* Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at
* http://www.ap... | .version 52 0
.class public final super Assertions
.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 18
L4 19
.end linenu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:08:25 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:08: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;
... | 135,666 |
Request | /*
* This file is part of blog (https://github.com/jens-meiss/blog).
*
* blog is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... | .version 52 0
.class public super Request
.super java/lang/Object
.field public static final _API_1 Ljava/lang/String; = '/v1.0'
.field public static final APPLICATION Ljava/lang/String; = '/simple-blogging-system'
.field public static final BLOG Ljava/lang/String; = '/v1.0/blog'
.field public static final BLOG_E... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:12:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:12:36 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... | 135,667 |
Benchmark | /*
* Copyright (C) 2012 Julian Knocke
*
* This file is part of jLange.
*
* jLange is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
*
... | .version 52 0
.class public super Benchmark
.super java/lang/Object
.field private static instance LBenchmark;
.field private final startValues Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
.end fieldattributes
.field private final summaries Ljava/util/Map; .... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:35:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:35: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;
... | 135,668 |
EvaluatorException | /**
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved. Copyright (c) 2015, Lucee
* Assosication Switzerland
*
* <p>This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either v... | .version 52 0
.class public final super EvaluatorException
.super java/lang/Exception
.field private static final serialVersionUID J = 8659768179869079664L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:29:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:29: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;
... | 135,669 |
Stack | import java.util.ArrayList;
import java.util.List;
public class Stack {
private List<Character> myList;
public Stack() {
this.myList = new ArrayList<>();
}
public Stack(String s) {
this.myList = new ArrayList<>();
for (int i = 0; i < s.length(); i++) {
this.append(s.charAt(i));
}
}
... | .version 52 0
.class public super Stack
.super java/lang/Object
.field private myList Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Character;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:02: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
* Sat Jul 02 22:02: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;
... | 135,670 |
DBUtils | import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/*
如果经常会发生变化的数据我们可以定义在配置文件上。 比如说:数据库的用户名与密码。
配置文件的路径应该如何写 呢?
绝对路径:一个文件的完整路径信息。一般绝对路径是包含有盘符 的。 绝对路径的缺陷: 因为绝对路径是有盘符开头的,有些系统是没有盘符的。
相对路径: 相对路径是相对于当前程序的路径。当前路径就是执行java命令的时候,控制台所在的路径。
类文件路径 :类文件路径就是使用了classpath的路径找对应的资源文件。
如果需要使用... | .version 52 0
.class public super DBUtils
.super java/lang/Object
.field static properties Ljava/util/Properties;
.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 24 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:18:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:18:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,671 |
InetRecord | /*
* Copyright 2015 Comcast Cable Communications Management, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | .version 52 0
.class public super InetRecord
.super java/lang/Object
.field private final ad Ljava/net/InetAddress;
.field private final ttl J
.field private final alias Ljava/lang/String;
.method public <init> : (Ljava/net/InetAddress;J)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:19:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.net.MockInetAd... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:19: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;
... | 135,672 |
ByteArrayWrapper | /**
* Copyright (c) 2009 - 2014 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org>
*
* <p>This file is part of org.appwork.utils
*
* <p>This software is licensed under the Artistic License 2.0, see the LICENSE file or
* http://www.opensource.org/licenses/artistic-license-2.0.php for details
*/
import java.io.IO... | .version 52 0
.class public final super ByteArrayWrapper
.super java/lang/Object
.field private final byteArray [B
.field private final offset I
.field private final length I
.field private final hashCode I
.method public <init> : ([BZ)V
.code stack 5 locals 3
L0: aload_0
L1: aload_1
L2: ico... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:14:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.UnsupportedEncodingException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:14: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;
... | 135,673 |
IMUser | /** Created by qiaoliang on 2017/6/25. */
public class IMUser {
public String id;
public String name;
public String portrait;
}
| .version 52 0
.class public super IMUser
.super java/lang/Object
.field public id Ljava/lang/String;
.field public name Ljava/lang/String;
.field public portrait 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
* Fri Jul 01 15:30:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:30:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,674 |
PermissionRulesConstants | public class PermissionRulesConstants {
/** to vote up anything */
public static final int VOTE_UP = 10;
/** to vote down anything */
public static final int VOTE_DOWN = 100;
/** to answer own question */
public static final int ANSWER_OWN_QUESTION = 0;
/** to flag anything */
public static final int... | .version 52 0
.class public super PermissionRulesConstants
.super java/lang/Object
.field public static final VOTE_UP I = 10
.field public static final VOTE_DOWN I = 100
.field public static final ANSWER_OWN_QUESTION I = 0
.field public static final CREATE_FLAG I = 10
.field public static final EDIT_QUESTION I =... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:15: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 02:15: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;
... | 135,675 |
Adapter | /*
* Axelor Business Solutions
*
* Copyright (C) 2005-2019 Axelor (<http://axelor.com>).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distri... | .version 52 0
.class public super abstract Adapter
.super java/lang/Object
.field private options Ljava/util/Properties;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:56: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 05:56:05 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... | 135,676 |
OauthClientSecretGenerator | import java.security.SecureRandom;
import java.util.Random;
public class OauthClientSecretGenerator {
private static final String symbols = "abcdefghijklmnopqrstuwxyzABCDEFGJKLMNPRSTUVWXYZ0123456789";
private final Random random = new SecureRandom();
private final char[] buf;
public OauthClientSecretGenerat... | .version 52 0
.class public super OauthClientSecretGenerator
.super java/lang/Object
.field private static final symbols Ljava/lang/String; = 'abcdefghijklmnopqrstuwxyzABCDEFGJKLMNPRSTUVWXYZ0123456789'
.field private final random Ljava/util/Random;
.field private final buf [C
.method public <init> : (I)V
.c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:11:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:11: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;
... | 135,677 |
PaginacaoDataTableRetornoTransfer | import java.util.List;
/**
* @author tharle.camargo
*/
public class PaginacaoDataTableRetornoTransfer {
private List data;
private Integer draw;
private Long recordsFiltered;
private Long recordsTotal;
public PaginacaoDataTableRetornoTransfer(
List data, Integer draw, Long recordsFiltered, Long rec... | .version 52 0
.class public super PaginacaoDataTableRetornoTransfer
.super java/lang/Object
.field private data Ljava/util/List;
.field private draw Ljava/lang/Integer;
.field private recordsFiltered Ljava/lang/Long;
.field private recordsTotal Ljava/lang/Long;
.method public <init> : (Ljava/util/List;Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:22:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:22:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,678 |
SimpleCharStream | /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 5.0 */
/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
// Copyright (c) 2013 Mikhail Afanasov and DeepSe group. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in th... | .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
* Sat Jul 02 03:41:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.FileDescriptor;
import java.io.IOException;
import java.io.InputS... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:41: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;
... | 135,679 |
DateUtils | import java.io.Serializable;
import java.text.ParseException;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;
public final class DateUtils implements Serializable {
private static fina... | .version 52 0
.class public final super DateUtils
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -3098985139095632110L
.field public static final DEFAULT_DATETIME_FORMAT Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.method private <init> : ()V
.code s... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:31:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:31: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;
... | 135,680 |
City | public class City {
private int id;
private String cityName;
private String cityCode;
private int proviceId;
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 proviceId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:16: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
* Sat Jul 02 21:16: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;
... | 135,681 |
MyPreferences | import java.util.prefs.Preferences;
public class MyPreferences {
private Preferences prefs;
/**
* 用于个别用户的偏好
*
* @return
*/
public Preferences UserNewInstance() {
if (prefs == null) {
prefs = Preferences.userNodeForPackage(getClass());
}
return prefs;
}
/**
* 用于通用的安装配置
*
... | .version 52 0
.class public super MyPreferences
.super java/lang/Object
.field private prefs Ljava/util/prefs/Preferences;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:46:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:46:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,682 |
MachineMemento | import java.util.Arrays;
public class MachineMemento {
String[] states;
public MachineMemento() {
System.out.println("Create machine memento.");
}
public String[] getStates() {
return states;
}
public void setStates(String[] states) {
this.states = states;
}
@Override
public String to... | .version 52 0
.class public super MachineMemento
.super java/lang/Object
.field states [Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: getstatic Field java/lang/System out Ljava/io/PrintStream;
L7: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:46: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
* Sat Jul 02 20:46: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;
... | 135,683 |
MathUtils | /** Math util methods. */
public final class MathUtils {
/**
* Compute the number of 1s in a integer when written in binary.
*
* @param v the integer.
* @return the number of 1s.
*/
public static int numBinaryOnesInInteger(final int v) {
int result = 0;
int value = v;
while (value != 0) ... | .version 52 0
.class public final super MathUtils
.super java/lang/Object
.method public static numBinaryOnesInInteger : (I)I
.code stack 3 locals 3
L0: iconst_0
L1: istore_1
L2: iload_0
L3: istore_2
.stack append Integer Integer
L4: iload_2
L5: ifeq L21
L8: iload_1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:13:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:13: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;
... | 135,684 |
DBUtil | import java.sql.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
/** Created by hf on 15/4/14. */
public class DBUtil {
public static Connection getConnection() {
Connection conn = null;
String url = "jdbc:mysql://localhost:3306/record";
String user = "root";
String password = "123... | .version 52 0
.class public super DBUtil
.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
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:30:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timest... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:30: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;
... | 135,685 |
StringReplacer | /*
Copyright (c) 2013 JAVAPAN
All rights reserved.
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 must retain the above copyright
notice, this list of conditions and the following discla... | .version 52 0
.class super StringReplacer
.super java/lang/Object
.field private static final LINE_SEP Ljava/lang/String;
.field private vars Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:29:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:29: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;
... | 135,686 |
FormattedTimeGenerator | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.util.Date;
/** Created by kcao on 11/01/17. */
public class FormattedTimeGenerator {
private static final int MIN_IN_H = 60;... | .version 52 0
.class public super FormattedTimeGenerator
.super java/lang/Object
.field private static final MIN_IN_H I = 60
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:25:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Clock;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:25: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;
... | 135,687 |
Items | public class Items {}
| .version 52 0
.class public super Items
.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 m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:13:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:13:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,688 |
NetworkClass | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
/**
* @author fjabellan
* @date 15/11/2020
*/
public class NetworkClass {
public String getStringFromRemoteServer() throws IOException {
Socket socket = new Socket("123.23.45.67", 33);
Buff... | .version 52 0
.class public super NetworkClass
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:57:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteRemoteAddress;
import org.evosuite.r... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:57: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;
... | 135,689 |
NumberOf1InBinary | /** Created by patrick on 6/26/2015. */
public class NumberOf1InBinary {
public static void main(String[] args) {
System.out.println(NumberOf1InBinary.count(10));
System.out.println(NumberOf1InBinary.count1(10));
System.out.println(NumberOf1InBinary.count2(10));
}
private static int count(int v) {
... | .version 52 0
.class public super NumberOf1InBinary
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:53:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:53: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;
... | 135,690 |
County | public class County {
private int id;
private String countyName;
private String countyCode;
private int cityID;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String county... | .version 52 0
.class public super County
.super java/lang/Object
.field private id I
.field private countyName Ljava/lang/String;
.field private countyCode Ljava/lang/String;
.field private cityID I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:24: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 02:24: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;
... | 135,691 |
Solution | import java.util.HashMap;
import java.util.Map;
/**
* Given a pattern and a string str, find if str follows the same pattern.
*
* <p>Here follow means a full match, such that there is a bijection between a letter in pattern and
* a non-empty word in str.
*
* <p>Examples: pattern = "abba", str = "dog cat cat dog"... | .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 21
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:28: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 04:28: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;
... | 135,692 |
SignExtender | public class SignExtender {
private static int MSB_INDEX = 15;
public static int extend(int _16bitWord) {
if (isBitSet(_16bitWord, MSB_INDEX)) {
_16bitWord = setHigherOrderBits(unsetHigherOrderBits(_16bitWord));
}
return _16bitWord;
}
private static boolean isBitSet(int n, int bitIndex) {
... | .version 52 0
.class public super SignExtender
.super java/lang/Object
.field private static MSB_INDEX I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:04:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:04:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,693 |
OptmizedSparseMatrixTest | public class OptmizedSparseMatrixTest {
/*@Test public void insertAndGet16000000() {
for(int j = 0; j < 1; j++){
System.out.println("staring run: "+j);
Random r = new Random();
//ArrayList<Integer> xVals = new ArrayList<Integer>();
//ArrayList<Integer> yVals = new ArrayList<Integer>();
for(int... | .version 52 0
.class public super OptmizedSparseMatrixTest
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:03: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:03: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;
... | 135,694 |
NineHeadsAndTails | import java.util.Scanner;
/**
* @author Tony Liang
*/
public class NineHeadsAndTails {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
final int ROWS = 3;
final int COLUMNS = 3;
final int COMBINATIONS = (int) (Math.pow(2, ROWS * COLUMNS));
int[][][] coins = new... | .version 52 0
.class public super NineHeadsAndTails
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:21:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:21:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,695 |
Language | public class Language {
// Tournament Creation Wizard
public static final String name_event = "Nombre Torneo";
public static final String additional_options = "Opciones Adicionales";
public static final String split_into_subtournaments = "Dividir en Subtorneos";
public static final String number_of_sub_tourn... | .version 52 0
.class public super Language
.super java/lang/Object
.field public static final name_event Ljava/lang/String; = 'Nombre Torneo'
.field public static final additional_options Ljava/lang/String; = 'Opciones Adicionales'
.field public static final split_into_subtournaments Ljava/lang/String; = 'Dividir ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:30:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:30:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,696 |
IdParsingUtils | /**
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See
* License.txt in the project root for license information.
*
* <p>Code generated by Microsoft (R) AutoRest Code Generator.
*/
import java.util.Arrays;
import java.util.Iterator;
class IdParsingUtils {
public stat... | .version 52 0
.class super IdParsingUtils
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.end metho... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:17:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:17: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;
... | 135,697 |
ErrorResponse | public class ErrorResponse {
private String message;
public ErrorResponse(String receiveMessage) {
message = receiveMessage;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
| .version 52 0
.class public super ErrorResponse
.super java/lang/Object
.field private message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:11: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
* Sat Jul 02 15:11: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;
... | 135,698 |
StringUtils | /*******************************************************************************
* Copyright (c) 2013, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistribu... | .version 52 0
.class public super StringUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 31
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:41:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:41: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;
... | 135,699 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.