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 |
|---|---|---|---|---|---|
OnlyBQZipIni | import java.io.File;
import java.io.FileFilter;
public class OnlyBQZipIni implements FileFilter {
private String filter;
public OnlyBQZipIni() {
this.filter = ".zip";
}
public OnlyBQZipIni(String filter) {
this.filter = filter;
}
public boolean accept(File myFile) {
return myFile.getName().t... | .version 52 0
.class public super OnlyBQZipIni
.super java/lang/Object
.implements java/io/FileFilter
.field private filter Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc '.zip'
L7... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:35:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:35: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;
... | 145,500 |
ArmyTurnTimeoutException | public class ArmyTurnTimeoutException extends Exception {
private int armyID;
public ArmyTurnTimeoutException(int armyID) {
this.armyID = armyID;
}
public int getArmyID() {
return armyID;
}
public String toString() {
return super.toString() + " armyID: " + armyID + "\n";
}
}
| .version 52 0
.class public super ArmyTurnTimeoutException
.super java/lang/Exception
.field private armyID I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field ArmyTurnTime... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:00:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:00:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,501 |
Climb | /*
Copyright 2014 Google Inc. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... | .version 52 0
.class public super Climb
.super java/lang/Object
.field private date Ljava/util/Date;
.field private grade Ljava/lang/String;
.field private system Ljava/lang/String;
.field private latitude D
.field private longitude D
.field private key Ljava/lang/String;
.method private <init> : ()V
.co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:37:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:37:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,502 |
OutprocessException | public class OutprocessException extends Exception {
private static final long serialVersionUID = 6671919117815769653L;
public OutprocessException(String message) {
super(message);
}
public OutprocessException(Throwable cause) {
super(cause);
}
public OutprocessException(String message, Throwabl... | .version 52 0
.class public super OutprocessException
.super java/lang/Exception
.field private static final serialVersionUID J = 6671919117815769653L
.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>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:56: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
* Mon Jul 04 16:56: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;
... | 145,503 |
NotTooManyParentheses | class NotTooManyParentheses {
void foo(boolean a, boolean b, boolean c) {
if (a && !(!b && !c)) {}
}
}
| .version 52 0
.class super NotTooManyParentheses
.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 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02: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
* Mon Jul 04 02: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;
... | 145,504 |
PasswordReader | /**
* 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.
*
* <p>This program is distributed in the hope that it will be us... | .version 52 0
.class public super PasswordReader
.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 30
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:25:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:25: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;
... | 145,505 |
DsmWebApiClientException | public class DsmWebApiClientException extends RuntimeException {
public DsmWebApiClientException(String message) {
super(message);
}
public DsmWebApiClientException(String message, Throwable cause) {
super(message, cause);
}
public DsmWebApiClientException(Throwable cause) {
super(cause);
}
}... | .version 52 0
.class public super DsmWebApiClientException
.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
* Sat Jul 02 05:28:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:28: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;
... | 145,506 |
RecycleList | import java.util.Scanner;
/** Created by xms on 2017/9/7. */
public class RecycleList {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNext()) {
int n = in.nextInt();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = in.nextInt();... | .version 52 0
.class public super RecycleList
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:44:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:44: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;
... | 145,507 |
LocalConfig | /*
* hacks get bitches
*/
public class LocalConfig {
// this is my project path, replace it with YOURS
// easiest way to get path is to right click or whatever on the project in the Project Explorer
// go to Properties at the very bottom and copy it from there, paste it here and add the "/" at
// the end
/... | .version 52 0
.class public super LocalConfig
.super java/lang/Object
.field public static projectDir Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:35: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 06:35: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;
... | 145,508 |
TestDay | import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
* @author VellBibi 【程序14】 TestDay.java 题目:输入某年某月某日,判断这一天是这一年的第几天?
* 1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊情况,闰年且输入月份大于3时需考虑多加一天。
*/
public class TestDay {
public static boolean isLeapYear(int y) {
if ((y % 4 == 0 && y % 100 != 10... | .version 52 0
.class public super TestDay
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:16: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 03:16: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;
... | 145,509 |
KnxGroupDPTest | /*
* Copyright 2011-2021 Fraunhofer ISE
*
* This file is part of OpenMUC.
* For more information visit http://www.openmuc.org
*
* OpenMUC 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 ... | .version 52 0
.class public super KnxGroupDPTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 27
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:41:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:41:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,510 |
NeuronWatcher | /**
* @author Maxim
* @date $ {DATE}.
*/
public class NeuronWatcher {
public void activateSynapse(int value, int outId, int targetId) {}
public void deactivateSynapse(int outId, int targetId) {}
}
| .version 52 0
.class public super NeuronWatcher
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:30:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:30: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;
... | 145,511 |
Department | import java.util.ArrayList;
public class Department {
private long id;
private String name;
private String description;
private ArrayList<Long> members;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
public... | .version 52 0
.class public super Department
.super java/lang/Object
.field private id J
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.field private members Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/Long;>;
.end fieldattributes ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:56:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:56: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;
... | 145,512 |
NotImplementedException | public class NotImplementedException extends RuntimeException {
public NotImplementedException() {
super();
}
public NotImplementedException(String message, Throwable cause) {
super(message, cause);
}
public NotImplementedException(String message) {
super(message);
}
public NotImplementedE... | .version 52 0
.class public super NotImplementedException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 6
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:12:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:12: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;
... | 145,513 |
InvalidPropertyException | /**
* @author <A href="mailto:langella@bmi.osu.edu">Stephen Langella </A>
* @author <A href="mailto:oster@bmi.osu.edu">Scott Oster </A>
* @author <A href="mailto:hastings@bmi.osu.edu">Shannon Hastings </A>
* @author <A href="mailto:ervin@bmi.osu.edu">David Ervin</A>
*/
public class InvalidPropertyException extends... | .version 52 0
.class public super InvalidPropertyException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 11
L4 13
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:23:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:23: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;
... | 145,514 |
ConfigOfdb | /** */
/**
* @author Wilbers, Markus
* @since 2011
*/
public class ConfigOfdb {
// /**
// * constant for fx-ofdb-Spring-Application-Context
// */
// @Deprecated
// public static final String APPCONTEXT_OFDB = "appContext-ofdb.xml";
// /**
// * method for getting xml-based fx-ofdb-application-context... | .version 52 0
.class public super ConfigOfdb
.super java/lang/Object
.field public static final SYS_COL_ZEITTYP_VONBIS Ljava/lang/String; = 'VonBis'
.field public static final T_VIEWDEF Ljava/lang/String; = 'AnsichtDef'
.field public static final T_VIEWTAB Ljava/lang/String; = 'AnsichtTab'
.field public static fi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:32: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
* Mon Jul 04 11:32: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;
... | 145,515 |
BufferedInputFile | // : io/BufferedInputFile.java
import java.io.*;
public class BufferedInputFile {
// Throw exceptions to console:
public static String read(String filename) throws IOException {
// Reading input by lines:
BufferedReader in = new BufferedReader(new FileReader(filename));
String s;
StringBuilder sb =... | .version 52 0
.class public super BufferedInputFile
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:13:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:13: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;
... | 145,516 |
FilenameFilterImpl | /*
* Copyright 2017 Swedish E-identification Board (E-legitimationsnämnden)
*
* 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... | .version 52 0
.class public super FilenameFilterImpl
.super java/lang/Object
.implements java/io/FilenameFilter
.field bannedStart 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_... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:20:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17: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;
... | 145,517 |
Learn | class Learn {
long getFactorial(int number) {
long counter = 1;
return counter;
}
}
| .version 52 0
.class super Learn
.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 3
.end linenumbertable
.end code
.end method
.metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:53:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:53:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,518 |
Employee | import java.io.Serializable;
@SuppressWarnings("serial")
public class Employee implements Serializable {
private int id;
private String empname;
private int age;
private String phone;
public Employee() {}
public Employee(int id, String empname, int age, String phone) {
super();
this.id = id;
... | .version 52 0
.class public super Employee
.super java/lang/Object
.implements java/io/Serializable
.field private id I
.field private empname Ljava/lang/String;
.field private age I
.field private phone Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:22: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
* Mon Jul 04 02:22: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;
... | 145,519 |
ImplicitNumericExpressionTypeDeterminer | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
import java.math.BigDecimal;
import java.math.BigInteger;
/**
* @author Steve Eb... | .version 52 0
.class public final super ImplicitNumericExpressionTypeDeterminer
.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 16
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:29:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:29:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,520 |
CmsJsonHandlerException | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by th... | .version 52 0
.class public super CmsJsonHandlerException
.super java/lang/Exception
.field private static final serialVersionUID J = 5155325235329055833L
.field private m_cause Ljava/lang/Throwable;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:49:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:49: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;
... | 145,521 |
ReflectionUtils | /*******************************************************************************
* Copyright 2016 Xerxes Tsang
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | .version 52 0
.class public final super ReflectionUtils
.super java/lang/Object
.method public static joinStrings : (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokestatic Method java/util/Arrays stream ([Ljava/lang/Object;)Ljava/... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:45:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashSet;
import java.util.Iterator;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:45: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;
... | 145,522 |
OrgMaxMemberException | /*
* Copyright (c) 2016-present The Limitart Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | .version 52 0
.class public super OrgMaxMemberException
.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:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:26:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:26: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;
... | 145,523 |
TestInteger | /**
* @author atlas
* @date 2012-10-11
*/
public class TestInteger {
public static void main(String[] args) {
// boolean a = new Integer(1) == 1;
// System.out.println(new Integer(1)==1);
// System.out.println(1==new Integer(1));
// Integer b = 1;
// int a = new Integer(1);
System.err.pri... | .version 52 0
.class public super TestInteger
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:35:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:35: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;
... | 145,524 |
XmppMessageConstants | /** Class containing constants for message property keys. */
public class XmppMessageConstants {
private XmppMessageConstants() {}
public static final String MAC = "M";
public static final String HASHCODE = "H";
public static final String SEQ = "S";
public static final String MD5 = "M5";
public static... | .version 52 0
.class public super XmppMessageConstants
.super java/lang/Object
.field public static final MAC Ljava/lang/String; = 'M'
.field public static final HASHCODE Ljava/lang/String; = 'H'
.field public static final SEQ Ljava/lang/String; = 'S'
.field public static final MD5 Ljava/lang/String; = 'M5'
.fie... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:02: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 02:02:01 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... | 145,525 |
FixedBoxing | import java.util.concurrent.locks.LockSupport;
public class FixedBoxing {
private static volatile double sensorValue = Double.NaN;
private static void readSensor() {
while (true) {
sensorValue = Math.random();
}
}
private static void processSensorValue(double value) {
if (!Double.isNaN(val... | .version 52 0
.class public super FixedBoxing
.super java/lang/Object
.field private static volatile sensorValue D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:24:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:24: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;
... | 145,526 |
GrokException | /*
* Copyright 2014 American Institute for Computing Education and Research 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
*
* Unl... | .version 52 0
.class public super GrokException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -1138511096189746111L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:47:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:47: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;
... | 145,527 |
CswConstants | /* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri 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
*
... | .version 52 0
.class public super CswConstants
.super java/lang/Object
.field public static ElementSetType_Brief Ljava/lang/String;
.field public static ElementSetType_Summary Ljava/lang/String;
.field public static ElementSetType_Full Ljava/lang/String;
.field public static Operation_DescribeRecord Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:58: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:58: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;
... | 145,528 |
QueryVniRangeResult | public class QueryVniRangeResult {
public java.util.List inventories;
public void setInventories(java.util.List inventories) {
this.inventories = inventories;
}
public java.util.List getInventories() {
return this.inventories;
}
public java.lang.Long total;
public void setTotal(java.lang.Long ... | .version 52 0
.class public super QueryVniRangeResult
.super java/lang/Object
.field public inventories Ljava/util/List;
.field public total Ljava/lang/Long;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:38:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11: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;
... | 145,529 |
RedisException | /** Redis异常 Created by 147356 on 2017/4/17. */
public class RedisException extends Exception {
public RedisException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super RedisException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:16: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:16: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;
... | 145,530 |
EjercicioVerde7 | /**
* @author khru
*/
public class EjercicioVerde7 {
public static void main(String[] args) {
int vec[] = {5, 1, 2, 3, 5, 1, 4, 5, 6, 3, 5, 4, 2, 5, 5, 5};
int masfrecuente = 0;
masfrecuente = masFrecuenteInt(vec);
System.out.println(masfrecuente);
}
/**
* @param vec
* @return cont
*/
... | .version 52 0
.class public super EjercicioVerde7
.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 co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:56:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:56: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;
... | 145,531 |
ImportBaseException | /* This file is part of VoltDB.
* Copyright (C) 2008-2018 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | .version 52 0
.class public super ImportBaseException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -2562766985614166710L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:16:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:16: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;
... | 145,532 |
UserAndHouseholdDTO | /**
* @author Jack Meyer (jackcmeyer@gmail.com)
* <p>The add user dto, contains a user id and household id
*/
public class UserAndHouseholdDTO {
/** The household id that we are adding a user to */
private Long householdId;
/** The user id we are adding to a household */
private Long userId;
public ... | .version 52 0
.class public super UserAndHouseholdDTO
.super java/lang/Object
.field private householdId Ljava/lang/Long;
.field private userId Ljava/lang/Long;
.method public <init> : (Ljava/lang/Long;Ljava/lang/Long;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:35:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:35: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;
... | 145,533 |
MyPolynomial | import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
// MyPolynomial model class
// -coeffs:double[]
// +MyPolynomial(coeffs:double...)
// +MyPolynomial(filename:String)
// +getDegree():int
// +toString():String
// +evaluate(x:double):double
// +add(another:MyPolynomial):MyPolynomial
//... | .version 52 0
.class public super MyPolynomial
.super java/lang/Object
.field private coeffs [D
.method public varargs <init> : ([D)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field MyPolynomial coeffs ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:15: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
* Sat Jul 02 20:15:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,534 |
FileNotFound | /*
* Copyright (c) 2015. Gary Harpaz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | .version 52 0
.class public super FileNotFound
.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:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:42:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:42:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,535 |
ContractInformation | public class ContractInformation {
private String contractAddress;
private String contractPayload;
private Class<?> contractVersion;
/** Create a new instance of contract information. */
public ContractInformation(
String contractAddress, String contractPayload, Class<?> contractVersion) {
super();... | .version 52 0
.class public super ContractInformation
.super java/lang/Object
.field private contractAddress Ljava/lang/String;
.field private contractPayload Ljava/lang/String;
.field private contractVersion Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.method pu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:37:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:37:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,536 |
InfixToPostfix | import java.io.*;
import java.util.*;
import java.util.regex.*;
public class InfixToPostfix {
private static StringBuilder result =
new StringBuilder(); // A StringBuilder to build the result String
private static Stack<Character> operators =
new Stack<Character>(); // The list for holding the operato... | .version 52 0
.class public super InfixToPostfix
.super java/lang/Object
.field private static result Ljava/lang/StringBuilder;
.field private static operators Ljava/util/Stack; .fieldattributes
.signature Ljava/util/Stack<Ljava/lang/Character;>;
.end fieldattributes
.method public <init> : ()V
.code s... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:34:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import java.util.ConcurrentModificationException;
import java.util.EmptyStackException;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:34: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;
... | 145,537 |
P03RecursiveArraySum | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class P03RecursiveArraySum {
public static void main(String[] args) throws IOException {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
int[] nums = Arrays.... | .version 52 0
.class public super P03RecursiveArraySum
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:19:05 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.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:19: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;
... | 145,538 |
M1Q7Corr | /**
* Copyright (c) 2015, 2016 François Michel, Ludovic Taffin This program is free software: you can
* redistribute it and/or modify it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the License, or (at your option)
* any later version. ... | .version 52 0
.class public super M1Q7Corr
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:45:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:45:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,539 |
Main | public class Main {
public int pos;
public static int temp = 0;
public static String trans(int num, int base, int arr) {
StringBuilder sb = new StringBuilder();
temp = num & (base - 1);
while (num != 0) {
sb.append(temp);
}
num = num >> arr;
return sb.toString();
}
public stati... | .version 52 0
.class public super Main
.super java/lang/Object
.field public pos I
.field public static temp 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
* Sun Jul 03 23:39:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:39: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;
... | 145,540 |
DESKeySpec | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public super DESKeySpec
.super java/lang/Object
.implements java/security/spec/KeySpec
.field public static final DES_KEY_LEN I = 8
.field private final key [B
.field private static final SEMIWEAKS [[B
.method public <init> : ([B)V
.code stack 3 locals 2
L0: aload_0
L1: aload... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:23:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.security.InvalidKeyException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:23:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,541 |
Emumeration | /** Created by zhang on 2015/10/11. */
public class Emumeration {}
| .version 52 0
.class public super Emumeration
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:24:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:24:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,542 |
ReverseTheNumber | import java.util.Scanner;
/*
* If an Integer N, write a program to reverse the given number.
*
* Input:
* The first line contains an integer T, total number of testcases. Then follow
* T lines, each line contains an integer N.
*
* Output:
* Display the reverse of the given number N.
*
* Constraints:
* 1 <= ... | .version 52 0
.class public super ReverseTheNumber
.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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:07:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:07: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;
... | 145,543 |
InternalRestWebServicePathsConstants | public class InternalRestWebServicePathsConstants {
// private static final String PATH_PARAM_BEFORE_NAME = "/{";
// private static final String PATH_PARAM_AFTER_NAME = "}";
// Internal Web services are only for use by the Jobcenter modules to get or send data to the
// server
// Internal Rest Service Pa... | .version 52 0
.class public super InternalRestWebServicePathsConstants
.super java/lang/Object
.field public static final INTERNAL_REST_EXTENSION_BASE_SERVICES Ljava/lang/String; = '/services/'
.field public static final INTERNAL_REST_EXTENSION_BASE_INTERNAL_ONLY Ljava/lang/String; = 'internal_only'
.field public ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:47:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:47:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,544 |
ExercicioInexistenteException | public class ExercicioInexistenteException extends Exception {}
| .version 52 0
.class public super ExercicioInexistenteException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumb... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:20:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:20: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;
... | 145,545 |
FragmentUtils | /**
* date: 11/11/2014
*
* @author Dylan
*/
public class FragmentUtils {
private FragmentUtils() {}
}
| .version 52 0
.class public super FragmentUtils
.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 9
L4 11
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:12:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:12:30 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... | 145,546 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "ioio.lib.accessory";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final int VE... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 0
.field public static final APPLICATION_ID Ljava/lang/String; = 'ioio.lib.accessory'
.field public static final BUILD_TYPE Ljava/lang/String; = 'release'
.field public static final FLAVOR Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:37:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:37:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,547 |
Yytoken | /*
* $Id: Yytoken.java,v 1.1 2006/04/15 14:10:48 platform Exp $
* Created on 2006-4-15
*/
/**
* @author FangYidong<fangyidong@yahoo.com.cn>
*/
public class Yytoken {
public static final int TYPE_VALUE = 0; // JSON primitive value: string,number,boolean,null
public static final int TYPE_LEFT_BRACE = 1;
publi... | .version 52 0
.class public super Yytoken
.super java/lang/Object
.field public static final TYPE_VALUE I = 0
.field public static final TYPE_LEFT_BRACE I = 1
.field public static final TYPE_RIGHT_BRACE I = 2
.field public static final TYPE_LEFT_SQUARE I = 3
.field public static final TYPE_RIGHT_SQUARE I = 4
.f... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:52:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:52:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,548 |
Resource | public class Resource {
private String resource;
public String getResource() {
return resource;
}
public void setResource(String resource) {
this.resource = resource;
}
}
| .version 52 0
.class public super Resource
.super java/lang/Object
.field private resource Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:34:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:34: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;
... | 145,549 |
Usuario | /** Created by Lincoln on 09-Apr-16. */
public class Usuario {
private String nome;
private String email;
public Usuario(String nome, String email) {
this.nome = nome;
this.email = email;
}
public Usuario() {}
public String getNome() {
return nome;
}
public void setNome(String nome) {
... | .version 52 0
.class public super Usuario
.super java/lang/Object
.field private nome Ljava/lang/String;
.field private email Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:50:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:50: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;
... | 145,550 |
B2BShoppingCartBase | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softwar... | .version 52 0
.class public super abstract B2BShoppingCartBase
.super java/lang/Object
.field private static final SUCCESS_STATUS_CODE Ljava/lang/String; = '200'
.field private statusCode Ljava/lang/String;
.field private statusText Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:16:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:16:34 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... | 145,551 |
Constans | /** Created by qkx on 2015/11/1. */
public class Constans {
public static final String CLIENT_ID = "3702692012";
public static final String CLIENT_SECRECT = "ce59540048421e4392cce0be0a639890";
public static final String REDIRECT_URI = "https://api.weibo.com/oauth2/default.html";
public static final String AUTH... | .version 52 0
.class public super Constans
.super java/lang/Object
.field public static final CLIENT_ID Ljava/lang/String; = '3702692012'
.field public static final CLIENT_SECRECT Ljava/lang/String; = 'ce59540048421e4392cce0be0a639890'
.field public static final REDIRECT_URI Ljava/lang/String; = 'https://api.weibo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:37:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:37:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,552 |
DecoderResult | /*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | .version 52 0
.class public final super DecoderResult
.super java/lang/Object
.field private final rawBytes [B
.field private final text Ljava/lang/String;
.field private final byteSegments Ljava/util/List; .fieldattributes
.signature Ljava/util/List<[B>;
.end fieldattributes
.field private final ecLevel Lj... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:28:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:28:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,553 |
NameSearchProgram | import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
/**
* Chapter 07 Programming Challenges 12.
*
* @author Shung-Hsi Yu ID#0906172
* @version 20140302
*/
public class NameSearchProgram {
public static void main(String[] args) {
Scanner keyboard ... | .version 52 0
.class public super NameSearchProgram
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:48:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:48: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;
... | 145,554 |
LambdaMethodRefExample3 | import java.util.function.Function;
public class LambdaMethodRefExample3 {
public static void doSomething(Integer i) {
System.out.println(i);
}
public static void main(String[] args) {
// the following two are equivalent
Function<String, Integer> mapper1 = x -> new Integer(x);
System.out.println... | .version 52 0
.class public super LambdaMethodRefExample3
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:46: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:46: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;
... | 145,555 |
DbQueryUtils | public class DbQueryUtils {
/**
* Escape values to be used in LIKE sqlite clause.
*
* <p>The LIKE clause has two special characters: '%' and '_'. If either of these characters need
* to be matched literally, then they must be escaped like so:
*
* <p>WHERE value LIKE 'android\_%' ESCAPE '\'
*
*... | .version 52 0
.class public super DbQueryUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:33:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:33: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;
... | 145,556 |
WPRFileFilter | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2015 Wandora Team
*
* 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 Foundatio... | .version 52 0
.class public super WPRFileFilter
.super javax/swing/filechooser/FileFilter
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method javax/swing/filechooser/FileFilter <init> ()V
L4: return
L5:
.linenumbertable
L0 39
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:16:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:16: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;
... | 145,557 |
FakePrintStream | import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
public class FakePrintStream extends PrintStream {
private static StringBuffer printBuffer = new StringBuffer();
public FakePrintStream() {
super(new ByteArrayOutputStream());
}
@Override
public void println(String string) {
printBuf... | .version 52 0
.class public super FakePrintStream
.super java/io/PrintStream
.field private static printBuffer Ljava/lang/StringBuffer;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: new java/io/ByteArrayOutputStream
L4: dup
L5: invokespecial Method java/io/ByteArrayOut... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:29:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:29: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;
... | 145,558 |
Person | /**
* Project Desc: Project Name:TestExample File Name:Person.java Package Name:util
* Date:2015-5-6上午11:40:49 Copyright (c) 2015, zhgo116.com All Rights Reserved.
*/
/**
* ClassName:Person <br>
* Date: 2015-5-6 上午11:40:49 <br>
*
* @author caosheng
*/
public class Person {
private String id;
private Stri... | .version 52 0
.class public super Person
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private age I
.field private sex Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:12:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:12:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,559 |
Phone | /*
手机类的测试
*/
class Phone {
// 品牌
String brand;
// 价格
int price;
// 颜色
String color;
// 打电话的方法
public void call(String name) {
System.out.println("给" + name + "打电话");
}
// 发短信的方法
public void sendMessage() {
System.out.println("群发短信");
}
// 玩游戏的方法
public void playGame() {
Syste... | .version 52 0
.class super Phone
.super java/lang/Object
.field brand Ljava/lang/String;
.field price I
.field color 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 19:23: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
* Sun Jul 03 19:23: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;
... | 145,560 |
Preconditions | /*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | .version 52 0
.class final super Preconditions
.super java/lang/Object
.method private <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/lang/AssertionError
L7: dup
L8: invokespecial Method java/lang/AssertionError <init> ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:57:01 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 18:57: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;
... | 145,561 |
SDKAPI | /*
* Copyright @ 2015 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | .version 52 0
.class public super SDKAPI
.super java/lang/Object
.field static final SILK_MAX_FRAMES_PER_PACKET I = 5
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:05: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
* Mon Jul 04 07:05: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;
... | 145,562 |
MpcRuntimeException | /**
* @author <a href="http://github.com/jjfraney">John J. Franey</a>
*/
public class MpcRuntimeException extends RuntimeException {
public MpcRuntimeException() {}
public MpcRuntimeException(final String s) {
super(s);
}
public MpcRuntimeException(final String s, final Throwable throwable) {
super(... | .version 52 0
.class public super MpcRuntimeException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 7
L4 8 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:59: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 16:59: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;
... | 145,563 |
ZigzagConversion | /** Created by bfeng on 1/7/16. */
public class ZigzagConversion {
public String convert(String s, int numRows) {
if (numRows <= 1) return s;
StringBuilder builder = new StringBuilder();
int len = s.length();
for (int i = 0; i < numRows; i++) {
for (int j = 0, index, inner; ; j++) {
ind... | .version 52 0
.class public super ZigzagConversion
.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 c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:08:23 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 13:08: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;
... | 145,564 |
User | import java.util.Calendar;
/**
* User.
*
* <p>Class User for map, lesson 5.
*
* @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).
* @since 14.07.2017.
* @version 1.
*/
public class User {
/** The class field. */
private String name;
/** The class field. */
private int children;
/** The class fiel... | .version 52 0
.class public super User
.super java/lang/Object
.field private name Ljava/lang/String;
.field private children I
.field private birthday Ljava/util/Calendar;
.method public <init> : (Ljava/lang/String;ILjava/util/Calendar;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:44:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.SimpleTimeZone;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.r... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:44: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;
... | 145,565 |
LoadError | public class LoadError {
private final String error;
private LoadError(final String error) {
this.error = error;
}
public static LoadError error(final String message) {
return new LoadError(message);
}
public String getError() {
return error;
}
}
| .version 52 0
.class public super LoadError
.super java/lang/Object
.field private final error Ljava/lang/String;
.method private <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 01:36: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 01:36: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;
... | 145,566 |
AssetFileTransferException | /*
* AssetFileTransferException.java
* ARToolKit5
*
* This file is part of ARToolKit.
*
* ARToolKit is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | .version 52 0
.class public super AssetFileTransferException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: aconst_null
L3: invokespecial Method AssetFileTransfe... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:16:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:16: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;
... | 145,567 |
Segment | public class Segment {
int pos;
byte[] data;
boolean acked;
/*
* Class implements functionality to split the data from the file & to save additional information
* @param pos actual position from the packet in the queue, like sequence number in tcp
* @param data actual data in a byte array
* @param a... | .version 52 0
.class public super Segment
.super java/lang/Object
.field pos I
.field data [B
.field acked Z
.method public <init> : (I[BZ)V
.code stack 5 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Segment pos... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:05:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:05: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;
... | 145,568 |
RetryException | /** Exception is thrown, when retries didn't finished successfully. */
public class RetryException extends Exception {
private long numberOfRetries;
private String timeBetween;
private String retryMessage;
public RetryException(
String message,
Throwable cause,
long numberOfRetries,
St... | .version 52 0
.class public super RetryException
.super java/lang/Exception
.field private numberOfRetries J
.field private timeBetween Ljava/lang/String;
.field private retryMessage Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;JLjava/lang/String;Ljava/lang/String;)V
.c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:21:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:21: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;
... | 145,569 |
ManutencaoEntradaEstoque | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author iury
*/
public class ManutencaoEntradaEstoque extends javax.swing.JFrame {
/** Creates new form ManutencaoEntradaEs... | .version 52 0
.class public super ManutencaoEntradaEstoque
.super javax/swing/JFrame
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method javax/swing/JFrame <init> ()V
L4: aload_0
L5: invokespecial Method ManutencaoEntradaEstoque initComponents ()V
L8: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:51:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:51: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;
... | 145,570 |
FilterObject | import java.io.Serializable;
public class FilterObject implements Serializable {
private static final long serialVersionUID = -6264746880876616788L;
private String name;
private String value;
private String comparator;
public static String COMP_LIKE = "LIKE";
public static String COMP_EQUAL = "=";
publi... | .version 52 0
.class public super FilterObject
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -6264746880876616788L
.field private name Ljava/lang/String;
.field private value Ljava/lang/String;
.field private comparator Ljava/lang/String;
.field public... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:17:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:17: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;
... | 145,571 |
SynchronizedInteger | /** Created by wuyunfeng on 2017/6/28. */
public class SynchronizedInteger {
private int value;
public synchronized int getValue() {
return value;
}
public synchronized void setValue(int value) {
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
e.printStackTrace();
}
... | .version 52 0
.class public super SynchronizedInteger
.super java/lang/Object
.field private value 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 6
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:53:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:53: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;
... | 145,572 |
EmptyStreamCreationExample | import java.util.stream.Stream;
public class EmptyStreamCreationExample {
public static void main(String... args) {
Stream<String> empty = Stream.empty();
empty.forEach(s -> System.out.print("Hello world"));
}
}
| .version 52 0
.class public super EmptyStreamCreationExample
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:05: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 00:05: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;
... | 145,573 |
TargetNotInPythonpathException | public class TargetNotInPythonpathException extends Exception {
/** */
private static final long serialVersionUID = -3719751885803498169L;
public TargetNotInPythonpathException(String string) {
super(string);
}
}
| .version 52 0
.class public super TargetNotInPythonpathException
.super java/lang/Exception
.field private static final serialVersionUID J = -3719751885803498169L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exce... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:13: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:13: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;
... | 145,574 |
APIOptions | public class APIOptions {
public static String ServerIP = "127.0.0.1";
public static int PortList[] = {52013, 52014, 53013, 53014};
}
| .version 52 0
.class public super APIOptions
.super java/lang/Object
.field public static ServerIP Ljava/lang/String;
.field public static PortList [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 03:42:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:42: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;
... | 145,575 |
ExportCSV | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class ExportCSV {
public static void main(String[] args) throws SQLException {
Connection con = null;
PreparedStatement pst = null;
String url = "jdbc:mysql://localhost:33... | .version 52 0
.class public super ExportCSV
.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
* Sat Jul 02 11:35:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.SQLException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 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;
... | 145,576 |
AuthToken | import java.io.Serializable;
/**
* AuthToken
*
* @author renbin.fang.
* @date 2014/8/24.
*/
public class AuthToken implements Serializable {
private String url;
private String token;
public AuthToken() {}
public AuthToken(String url, String token) {
this.url = url;
this.token = token;
}
pub... | .version 52 0
.class public super AuthToken
.super java/lang/Object
.implements java/io/Serializable
.field private url Ljava/lang/String;
.field private token Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:18:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:18: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;
... | 145,577 |
WordLadderII | import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/*
Given two words (start and end), and a dictionary,
find all shortest transformation sequence(s) from start to end, such that:
Only one letter c... | .version 52 0
.class public super WordLadderII
.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 33
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:32:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedHashSet;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:32: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;
... | 145,578 |
App | /** Hello world! */
public class App {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
| .version 52 0
.class public super App
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:53:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:53: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;
... | 145,579 |
Algo | public class Algo {
private double threshold;
private int mode;
public double getThreshold() {
return threshold;
}
public void setThreshold(double threshold) {
this.threshold = threshold;
}
public int getMode() {
return mode;
}
public void setMode(int mode) {
this.mode = mode;
}
... | .version 52 0
.class public super Algo
.super java/lang/Object
.field private threshold D
.field private mode 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
* Sat Jul 02 13:42: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 13:42:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,580 |
TimeSpan | public class TimeSpan {
private long time = System.currentTimeMillis();
private int seconds;
public TimeSpan(int seconds) {
// TODO Auto-generated constructor stub
this.seconds = seconds;
}
public void reset() {
time = System.currentTimeMillis();
}
public boolean elapsedSeconds() {
re... | .version 52 0
.class public super TimeSpan
.super java/lang/Object
.field private time J
.field private seconds I
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokestatic Method java/lang/System curre... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:47: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.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:47: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;
... | 145,581 |
RspHandler | public class RspHandler {
private byte[] rsp = null;
public synchronized boolean handleResponse(final byte[] rsp) {
this.rsp = rsp;
this.notify();
return true;
}
public synchronized void waitForResponse() {
while (this.rsp == null) {
try {
this.wait();
} catch (Interrupted... | .version 52 0
.class public super RspHandler
.super java/lang/Object
.field private rsp [B
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aconst_null
L6: putfield Field RspHandler rsp [B
L9: retu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:56:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:56: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;
... | 145,582 |
GameBoard | public class GameBoard {
private int[][] gameBoard;
private int length;
private int height;
public static final int GAMEBOARD_ERROR = -1;
private static final int MAX_BOARD_SIZE_HEIGHT = 100;
private static final int MAX_BOARD_SIZE_LENGTH = 100;
private static final int BOARD_SET_COMPLETE = -2;
privat... | .version 52 0
.class public super GameBoard
.super java/lang/Object
.field private gameBoard [[I
.field private length I
.field private height I
.field public static final GAMEBOARD_ERROR I = -1
.field private static final MAX_BOARD_SIZE_HEIGHT I = 100
.field private static final MAX_BOARD_SIZE_LENGTH I = 100
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:21:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:21: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;
... | 145,583 |
DummyClassForPackage | /** Created by iordan on 09/02/18. */
public class DummyClassForPackage {}
| .version 52 0
.class public super DummyClassForPackage
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:58:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:58:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,584 |
UsoForeach | public class UsoForeach {
public static void main(String[] args) {
//
int[] numeriPari = new int[10];
// riempiamo un array con i primi 10 numeri pari 2, 4 ...
for (int i = 1; i <= 10; i++) {
numeriPari[i - 1] = i * 2;
}
int[] numeriPari2 = {2, 4, 6};
String[] nomi = {"piero", "gio... | .version 52 0
.class public super UsoForeach
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:09:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:09: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;
... | 145,585 |
Utils | /***********************************************************************
*
* This file is part of KEEL-software, the Data Mining tool for regression,
* classification, clustering, pattern mining and so on.
*
* Copyright (C) 2004-2010
*
* F. Herrera (herrera@decsai.ugr.es)
* L. Sánchez (luciano@uniovi.es)
* J. ... | .version 52 0
.class public super Utils
.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 44
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:36:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:36:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,586 |
CallerConfiguration | import java.util.List;
/**
* User details and service monitoring details for the user DTO class.
*
* @author Chinthaka Senanayaka
* @since 31-Oct-2017
*/
public class CallerConfiguration {
private String callerId;
private Integer pollingFrequency;
private Integer nextPoll;
private List<String> notifyE... | .version 52 0
.class public super CallerConfiguration
.super java/lang/Object
.field private callerId Ljava/lang/String;
.field private pollingFrequency Ljava/lang/Integer;
.field private nextPoll Ljava/lang/Integer;
.field private notifyEmail Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:08:34 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 18:08:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,587 |
DummyData | public class DummyData {
/** The first few packets from Hectors packetdump */
public static final byte[][] mockPackets = {
{
(byte) 0x02,
(byte) 0x03,
(byte) 0x00,
(byte) 0x40, // Version and size
(byte) 0x00,
(byte) 0x01,
(byte) 0x00,
(byte) 0x01, // Sequence cou... | .version 52 0
.class public super DummyData
.super java/lang/Object
.field public static final mockPackets [[B
.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
* Mon Jul 04 02: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
* Mon Jul 04 02: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;
... | 145,588 |
ParseRuntimeException | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super ParseRuntimeException
.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
* Sat Jul 02 10:28:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:28:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,589 |
I18n | /* == Motrice Copyright Notice ==
*
* Motrice Service Platform
*
* Copyright (C) 2011-2014 Motrice AB
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the Lic... | .version 52 0
.class public super I18n
.super java/lang/Object
.field locale Ljava/util/Locale;
.field messages Ljava/util/ResourceBundle;
.method public <init> : (Ljava/lang/String;)V
.code stack 4 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:32:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.MissingResourceException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:32:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,590 |
CMPRuntimeException | public class CMPRuntimeException extends RuntimeException {
private Throwable cause;
public CMPRuntimeException(String msg, Throwable cause) {
super(msg);
this.cause = cause;
}
public Throwable getCause() {
return cause;
}
}
| .version 52 0
.class public super CMPRuntimeException
.super java/lang/RuntimeException
.field private cause Ljava/lang/Throwable;
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 2 locals 3
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeExceptio... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:32:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:32: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;
... | 145,591 |
Square | public class Square {
private int value;
Boolean isFinal;
private int options;
public int getOptions() {
return options;
}
public void setOptions(int options) {
this.options = options;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value... | .version 52 0
.class public super Square
.super java/lang/Object
.field private value I
.field isFinal Ljava/lang/Boolean;
.field private options 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
* Sat Jul 02 01:03: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 01:03: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;
... | 145,592 |
Destroyer | /* File: Destroyer.java
Instructions to draw a Destroyer on the screen.
*/
import java.awt.*;
public class Destroyer {
/**
* Constructs a Destroyer with a given top left corner.
*
* @param x the x-coordinate of the top left corner
* @param y the y-coordinate of the top left corner
*/
public static ... | .version 52 0
.class public super Destroyer
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:08:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Graphics;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:08: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;
... | 145,593 |
XWikiScannerUtil | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | .version 52 0
.class public super XWikiScannerUtil
.super java/lang/Object
.field public static final ESCAPECHAR C = 126
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:37:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:37: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;
... | 145,594 |
MaximumNumberDigitOneSwap | /** */
/**
* Title 670 :
*
* <p>Date : Jan 5, 2021
*
* @author bramanarayan
*/
public class MaximumNumberDigitOneSwap {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
// 54367
// firstGreater is 6.
// split to 2 parts - get highest in 6... | .version 52 0
.class public super MaximumNumberDigitOneSwap
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:09:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:09:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,595 |
LogFilePropertiesDTO | /*
* Copyright 2006 The National Library of New Zealand
*
* 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 b... | .version 52 0
.class public super LogFilePropertiesDTO
.super java/lang/Object
.field private name Ljava/lang/String;
.field private path Ljava/lang/String;
.field private lengthString Ljava/lang/String;
.field private lastModifiedDate Ljava/util/Date;
.field private viewer Ljava/lang/String;
.field private ret... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:28:08 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 05:28: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;
... | 145,596 |
ExerciciosString | public class ExerciciosString {
public String letrasMaiusculas(String textoMinusculo) {
return textoMinusculo.toUpperCase();
}
public String letrasMinusculas(String textoMaiusculo) {
return textoMaiusculo.toLowerCase();
}
public Integer retornarQuantidadeLetras(String texto) {
return texto.leng... | .version 52 0
.class public super ExerciciosString
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:47:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:47: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;
... | 145,597 |
ClassBeingAccessedByOtherClass | public class ClassBeingAccessedByOtherClass {
public ClassBeingAccessedByOtherClass() {}
}
| .version 52 0
.class public super ClassBeingAccessedByOtherClass
.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
L4 5
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:09:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:09: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;
... | 145,598 |
DamageType | /*
* Copyright 2016 Nathan Howard
*
* This file is part of OpenGrave
*
* OpenGrave 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 versi... | .version 52 0
.class public super DamageType
.super java/lang/Object
.field private static types Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<LDamageType;>;
.end fieldattributes
.field label 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 15:32:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:32: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;
... | 145,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.